Re: Simple task, need some guidance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Simple task, need some guidance

danibodor
If you simply want to know the entire number of white pixels in a binary image, you can just measure the total intensity of the picture (or selection).

Go to "Set Measurements..." in the "Analyze" tab and turn on "Integrated Density". After that measure (Ctrl+M) the image and divide the integrated density by 255 (in an 8-bit image) to get the total number of pixels.
Conversely you can divide the image by 255 first with the "Math > Divide" function in the "Process" tab and then do an integrated density to get the number of pixels directly.

If you make a selection of an area first, then only that area will be measured.

Good luck,


d


doufay wrote
I've been using ImageJ a bit in order to count objects in photos, namely birds. A task I'm trying to accomplish is to calculate areas where birds are extremely dense. I've been able to create a binary image, where the all the white in the image represents dense aggreggations of birds. I simply want to find a simple way to quantify how many pixels are 'white' in this case. Any help would be much appreciated.