Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to get an oddly-shaped object's pixel area in CS5? Eg. Circle/ellipse. Or, if there's some easy-to-automate way to do it outside of Photoshop.

I know it's possible to use a magic wand selection and see the height+width in the info panel, but that only works accurately for rectangles.

share|improve this question

3 Answers 3

In CS3: Analysis > Record Measurements > Look at the area column.

share|improve this answer

You may be able to script something (Photoshop is scriptable) to count the total number of pixels in the rectangle, then subtract the number of pixels that have 0% fill.

Other than that, I think you'll need to brush up on your calculus.

share|improve this answer

I dont have CS5, but if you go into the histogram in the stats section there is a stat called pixel, which is the total number of pixels used to make the calculations. So if you make the section before going into the histogram you should be able to get the pixel count of a non-rectangular object. To make it easier I would probably move the section to a new layer so that you know you have exactly what you want.

Adobe Documentation for CS3

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.