Skip to content
Snippets Groups Projects
Commit ac909583 authored by Decouvelaere Antonin's avatar Decouvelaere Antonin
Browse files

modif fonction test pour que ça marche

parent 88c7d166
No related branches found
No related tags found
No related merge requests found
import numpy as np
import cv2
from resising_224x224 import *
from RGB_LAB import *
from K_clustering import *
from binary_thresholding import *
from Retour_RGB import *
from masque import remove_isolated_pixels
image_RGB=resizing1("C:\\Users\\antod\\Desktop\\Projet S6\\ia-detection-leucemie\\exemple_image.jpg")
image_traitee=Binary_tresholding(K_clustering(RGB_LAB(resizing1("C:\\Users\\antod\\Desktop\\Projet S6\\ia-detection-leucemie\\exemple_image.jpg"))))
removed_pixel=remove_isolated_pixels(image_traitee,k=)
cv2.imshow("image de base",image_RGB)
cv2.imshow('Image traitée', image_traitee)
cv2.imshow('Retour aux origines',mask_RGB(image_RGB,removed_pixel))
cv2.imshow('masque',removed_pixel)
cv2.waitKey(0)
cv2.destroyAllWindows()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment