Login  Register

Re: Measuring areas...

Posted by Brent Wood on Jun 18, 2007; 11:04pm
URL: http://imagej.273.s1.nabble.com/Measuring-areas-tp3699083p3699084.html

Rotella, Anthony M. (GRC)[] wrote:

> Hello everyone,
>
> I was trying to write an algorithm for calculating the area of
> all the pixels in an image (8-bit thresholded) that have 0 intensity. I
> counted up the pixels that were black, but of course realized that this
> wasn't an area, since I didn't count up pixels ^ 2. I was just curious
> if anyone knows an easy way to do this, besides using the "Analyze
> Particle" feature. Thanks..
>
> Tony Rotella
>  
What do you mean by area? Determine the boundaries of a region in an
image, or calculate the size of a selected subset of the image?

If you can determine the scale of your image, you know the area
represented by a pixel, so a count of pixels will give you the
cumulative area represented by a set of pixels.

If you mean you want to identify the region(s) of the image occupied by
black pixels, or determine the approppriate Region of Interest (ROI) in
IJ-speak, you can select ROI by thresholding & other means.



Brent Wood