Calculate brightness? What about shape?
Posted: 2008-03-20T17:14:41-07:00
Is there an easy way to calculate the brightness of an entire image? I want to compare brightness values of thousands of images.
Also, if I have a black & white image, is there a way to calculate how clustered the black pixels are? I'm subtracting the background out of camera images and thresholding it to generate a binary image. Because the image background jiggles over time, the differenced-and-thresholded image isn't very clean -- there are lots of streaks and dots in addition to the dark ovals (it's the dark ovals that I'm interested in). I need a way to distinguish the images containing only the streaks and dots from the ones with the dark ovals. I thought there might be a way to calculate how clustered the black pixels are. Is there?
Thanks.....
Also, if I have a black & white image, is there a way to calculate how clustered the black pixels are? I'm subtracting the background out of camera images and thresholding it to generate a binary image. Because the image background jiggles over time, the differenced-and-thresholded image isn't very clean -- there are lots of streaks and dots in addition to the dark ovals (it's the dark ovals that I'm interested in). I need a way to distinguish the images containing only the streaks and dots from the ones with the dark ovals. I thought there might be a way to calculate how clustered the black pixels are. Is there?
Thanks.....