Thursday, 29 August 2013

how much white is a frame using OpenCV

how much white is a frame using OpenCV

I have a GRAY image and I want to know the percentage of the white color
on it. I know that I can do these with two for-loop that check the color
of each pixel, but I was wondring if there any better method to do this ?
here is an example the image that I want to analyze :

No comments:

Post a Comment