Login  Register

Re: Measuring areas...

Posted by Rotella, Anthony M. (GRC)[] on Jun 18, 2007; 4:36pm
URL: http://imagej.273.s1.nabble.com/Measuring-areas-tp3699083p3699090.html

No you're exactly correct. It was confusing to me to see pixels ^ 2 referenced some places, and just pixels in others. Yeah, I think a pixel is a 1 x 1 square, that is also a pixel ^ 2. Anyway, my whole problem was that due to some confusion with the thresholded images, with the colors black and white being somehow inverted, I was calculating the area I didn't want, which incidentally was much larger, causing some serious confusion! Thanks guys..

Tony  

>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On
>Behalf Of Christophe Leterrier
>Sent: Monday, June 18, 2007 11:27 AM
>To: [hidden email]
>Subject: Re: Measuring areas...
>
>Sorry if i misunderstood your post, but I would think that a
>pixel is more a surface unit than a length unit. A 4x4 pixels
>square is a 16 pixels area, or 16 pixels^2 if you prefer.
>Strictly speaking I'd say a pixel is a square that have a 1x1
>pixel dimensions, so it's also a
>pixel^2 (I mean, for most acquistion systems, rectangular
>pixels do exist also).
>
>Christophe Leterrier
>
>
>Rotella, Anthony M. (GRC)[] a écrit :
>> 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
>>
>