How to compute tresholded (black) pixels after binarization?
Here is a Python code:
img = cv2.imread('imageexperiment.tif',0) imageone = cv2.threshold(img,127,255,cv2.THRESH_BINARY)
![]() | 1 | initial version |
How to compute tresholded (black) pixels after binarization?
Here is a Python code:
img = cv2.imread('imageexperiment.tif',0) imageone = cv2.threshold(img,127,255,cv2.THRESH_BINARY)
![]() | 2 | No.2 Revision |
How to compute tresholded (black) pixels after binarization?
Here is a Python code:
img = cv2.imread('imageexperiment.tif',0) imageone = cv2.threshold(img,127,255,cv2.THRESH_BINARY)
![]() | 3 | No.3 Revision |
How to compute tresholded (black) pixels after binarization?
Here is a Python code:
img = cv2.imread('imageexperiment.tif',0)
imageone = Now i want somehow to compute number of black pixels (stained area)