counting pixels

KC
Posted By
Kendall_Conrad
Jan 25, 2007
Views
206
Replies
3
Status
Closed
Is it possible to count individual pixels to itemize 100% of an image? For example, if I have an image with 3 colors, can I measure certain selected pixels and record that number as a percentage. (i.e. 30% of the image is red, 35% is blue and 35% is yellow) I am willing to do the math if I can measure a selected area by number of pixels.

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

B
Bernie
Jan 25, 2007
There may be a script or something on the Adobe Exchange for that.
GA
George_Austin
Jan 26, 2007
Kendall,

Select each color in turn. The histogram gives the pixel count of the selected area. Then select the full image to get the total number of pixels in the full image. You’re doing the math, right?
KC
Kendall_Conrad
Jan 26, 2007
Perfect! Exactly what I was looking for! Thanks, George!

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