Login  Register

Re: Measuring areas...

Posted by lechristophe on Jun 18, 2007; 4:26pm
URL: http://imagej.273.s1.nabble.com/Measuring-areas-tp3699083p3699085.html

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
>