Re: counting pixels of one color or color range

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/counting-pixels-of-one-color-or-color-range-tp3694997p3694998.html

Hi,

On Sat, 20 Sep 2008, Adam Zeilinger wrote:

> Is there a way in Image J to select a color and to calculate the number
> of pixels of that color, or the number of pixels within a color range,
> in an image?

You can use Image>Adjust>Threshold to select the pixels of a certain value
(lower threshold must be that number, upper threshold that number plus
one), then create a selection from that with Edit>Selection>Create
Selection, and then clicking the Analyze>Measure item.

Hth,
Dscho