Count pixels? Help needed!

JC
Posted By
John Crankshaw
Nov 26, 2003
Views
770
Replies
3
Status
Closed
If I create a black silhouette on a white background in PS 5, is there a way to find out how many pixels are black vs. white? Maybe some way that PS will report this value while doing an operation?

(Background: I’m comparing riding positions on my bicycle to maximize streamlining. The fewer black pixels in the image, the smaller I’m making my body on the bicycle and the faster I’ll go. )

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!

S
Sanders
Nov 26, 2003
On Wed, 26 Nov 2003 21:42:36 GMT, "John Crankshaw" wrote:

If I create a black silhouette on a white background in PS 5, is there a way to find out how many pixels are black vs. white? Maybe some way that PS will report this value while doing an operation?

(Background: I’m comparing riding positions on my bicycle to maximize streamlining. The fewer black pixels in the image, the smaller I’m making my body on the bicycle and the faster I’ll go. )
John: This may help: Make a selection of the black portion of the illustration using any appropriate selection tool (such as the Magic Wand, with the Contguous option unchecked). Then go to Image > Histogram and the Pixel count of the black will be shown in the lower left of the Histogram display. The white pixel count might be done in a similar fashion.

–sanders
e-mail?Please erase theboard
N
nomail
Nov 26, 2003
John Crankshaw wrote:

If I create a black silhouette on a white background in PS 5, is there a way to find out how many pixels are black vs. white? Maybe some way that PS will report this value while doing an operation?

I’m not sure about PS 5, but the Histogram tells you how many pixels if you move the cursor over it.


Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.nl/
JC
John Crankshaw
Nov 27, 2003
Thanks! I knew there had to be a way! Works great!

Sanders wrote in message
On Wed, 26 Nov 2003 21:42:36 GMT, "John Crankshaw" wrote:

If I create a black silhouette on a white background in PS 5, is there a
way
to find out how many pixels are black vs. white? Maybe some way that PS
will
report this value while doing an operation?

(Background: I’m comparing riding positions on my bicycle to maximize streamlining. The fewer black pixels in the image, the smaller I’m making
my
body on the bicycle and the faster I’ll go. )
John: This may help: Make a selection of the black portion of the illustration using any appropriate selection tool (such as the Magic Wand, with the Contguous option unchecked). Then go to Image > Histogram and the Pixel count of the black will be shown in the lower left of the Histogram display. The white pixel count might be done in a similar fashion.

–sanders
e-mail?Please erase theboard

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections