Posted by
Harry Parker on
URL: http://imagej.273.s1.nabble.com/counting-pixels-of-one-color-or-color-range-tp3694997p3695001.html
Hello Adam,
I think G. Landini's Threshold Colour plugin will help you.
It thresholds an image in any of the color spaces, RGB, HSB, YUV or LAB.
You can use an ROI or sliders to specify the color range you're looking for.
Then threshold the image and use the Histogram function to count what's
in range.
You can download it from
http://www.dentistry.bham.ac.uk/landinig/software/software.htmlAnother tool I like for investigating color distributions in images is
Kai Uwe Barthel's plugin, Color Inspector 3D, available from the
ImageJ web site Plugin page, under "3D Color Inspector". It will show
you the number of pixels of an exact color, but you cannot specify a
range. However, the 3D histograms are illuminating.
--
Harry Parker
Senior Imaging Systems Engineer
Digital Imaging Systems, Inc.
----- Original Message ----
From: Adam Zeilinger <
[hidden email]>
To:
[hidden email]
Sent: Saturday, September 20, 2008 11:10:27 AM
Subject: counting pixels of one color or color range
Hi Image J list,
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?
If I can't do this in Image J, does anyone know of another program where I can?
Thanks in advance for any help,
Adam Zeilinger
University of Minnesota