Need Help! Can I quantify pixels of a set colour?

GH
Posted By
Glyn_Hewitson
Jun 13, 2007
Views
1770
Replies
2
Status
Closed
Hi,

I have searched the help pages and contacted my Adobe trainer and no one has the answer. Hopefully you can help!

My problem is this.

I am trying to quantify some deposition on a cotton material. I have taken a digital photo of this and I am assessing it in CS2.
The deposition appears as brown against the cotton background. To highlight the brown deposit further, I have replaced the colour using the ‘replace colour selection’ tool and changed it to purple. The deposition is now all of the same colour.
Using the selection tool, I have then taken the now purple, highlighted deposition and dragged and dropped onto a separate window with a white background.
Can someone tell me if there is a way to work out, or a screen which displays:
a) The number of purple pixels on the screen (the deposition)
b) The number of white pixels on screen (the background)

This way I can work out the total pixels and I can report deposition as a percentage (which is my main aim).

I greatly appreciate any help or assistance. I can provide files to highlight this issue in more detail.

Thanks in advance!

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

JR
John_R_Nielsen
Jun 13, 2007
Rather than use Replace Color, try Select > Color Range, and then look in the Histogram palette. There’ll be a value labeled Pixels; that’s the number of pixels in your selection. De-select, and the value will change to the total number of pixels.
Jun 13, 2007
What John said is 100% true, however, just to clarify it a bit more: Remember that ‘a set colour’ is an uncertain value and that, when selecting Color Range, you may be selecting more or less than you want if you don’t pinpoint very precisely the range of that selection, as well as you can do with magic wand, its ‘tolerance’ and ‘aliasing’ (or not).

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections