Count objects in an image
Discontinuation of 3D features in Photoshop
Photoshop’s 3D features will be removed in future updates. Users working with 3D are encouraged to explore Adobe’s new Substance 3D collection, which represents the next generation of 3D tools from Adobe. Additional details on the discontinuation of Photoshop’s 3D features can be found here: Photoshop 3D | Common questions on discontinued 3D features.
In Photoshop CS6, 3D functionality is part of Photoshop Extended. All features in Photoshop Extended are part of Photoshop. Photoshop does not have a separate Extended offering.
You can use the Count tool to count objects in an image. To count objects manually, you click the image with the Count tool and Photoshop tracks the number of clicks. The count number is displayed on the item and in the Count tool options bar. Count numbers are saved when you save a file.
Photoshop can also automatically count multiple selected areas in an image, and record the results in the Measurement Log panel. See Performing a measurement.
Manually count items in an image
Select the Count tool (located beneath the Eyedropper tool in the Tools panel).
Choose Count tool options.
A default count group is created when you add count numbers to the image. You can create multiple count groups, each with its own name, marker and label size, and color. When you add count numbers to the image, the currently selected count group is incremented. Click the eye icon to show or hide a count group. Click the folder icon to create a count group, the Delete icon to delete a count group. Choose Rename from the Count Group menu to rename a count group.
To set the color for the count group, click the Color Picker.
Enter a value from 1 to 10, or use the scrubby slider to change the value.
Enter a value from 8 to 72, or use the scrubby slider to change the value.
Click in the image to add a count marker and label:
To move a count marker, move the pointer over the marker or number until the cursor changes to the direction arrows, then drag. (Shift-click to constrain the drag horizontally or vertically.)
Alt-click (Windows) or Option-click (Mac OS) to remove a marker. The total count is updated.
Click Clear in the options bar to reset the count for the currently selected count group to 0.
Counts already recorded in the Measurement Log are not changed by clearing count numbers from the image.
(Optional) To change count groups, select a different group from the Count Group menu, or click the folder icon to create a count group. Subsequent clicks update the currently selected count group.
(Optional) To display or hide the count numbers:
Choose View > Show > Count.
Choose View > Extras, View > Show > All, or View > Show > None.
(Optional) Choose Analysis > Record Measurements or click Record Measurements in the Measurement Log panel to record the count number to the Measurement Log.Note:
To record a count to the Measurement Log, you must have Count selected as a measurement data point. Choose Analysis > Select Data Points > Custom and select the Count data point in the Count Tool area.
(Optional) Choose File > Save to save any count numbers and count groups you’ve added to the image.
Automatic counting using a selection
Use the Photoshop automatic counting feature to count multiple selection areas in an image. Define selection areas using the Magic Wand tool or the Color Range command.
Select the Magic Wand tool, or choose Select > Color Range.
Create a selection that includes the objects in the image that you want to count. For best results, use an image with objects that contrast well against their background.
If you are using the Magic Wand tool, increase or decrease the Tolerance option to optimize the selection of the objects you want to count in the image. Deselect the Anti-alias and Contiguous options.
For Color Range, set Fuzziness and Selected Colors to fine-tune the selected areas in the image (see Select a color range).
Choose Analysis > Select Data Points > Custom.
In the Selections area, select the Count data point and click OK.
Choose Window > Measurement Log.
Choose Analysis > Record Measurements, or click Record Measurements in the Measurement Log. (If this option isn’t available, select a tool other than the Count tool.)
Photoshop counts the selection areas and enters the number in the Count column in the Measurement Log.