Mis a jour le 2017-12-03, 22:17

Seuillage des images

Seuillage :
Exemple de seuillage simple : img = cv2.split(img)[0] (retVal, newImg) = cv2.threshold(img, 130, 255, cv2.THRESH_BINARY)
Exemple de seuillage adaptatif : img = cv2.split(img)[0] newImg = cv2.adaptiveThreshold(img, 255, cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY, 9, 15)

Copyright python-simple.com
programmer en python, tutoriel python, graphes en python, Aymeric Duclert