• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Hi there, I need help on how to calculate the percentage of missing objects using Photoshop.

Community Beginner ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

My client wants to determine the percentage of the image occupied by the fragmented objects in relation to the estimated actual size of the image, as shown in the attached image. Is it possible to obtain valid results using Adobe software, or are there other Adobe applications or 3D software that could achieve this? Thank you, and I appreciate any answers you can provide.

TOPICS
Actions and scripting , Windows

Views

277

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

Have you considered the Count tool in Photoshop?

https://helpx.adobe.com/photoshop/using/counting-objects-image.html

You could theoretically use the count via selection with the units set to pixels to count the selected area.

Then inverse the selection to get the remaining part of the image. Calculate and there is your percentage.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

Thank you for your input sir, I will try even though it needs to be more challenging

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

I wanted to go down to "create the solution  yourself route" and provided information in that direction but what @Kevin Stohlmeyer said above is much better and faster.

I didn't know about area, perimeter & circularity myself. Thanks Kevin!!!

 

Export the area to a txt file from the measurement log after taking a measurement, in a jsx load the exported txt file and compare the area to the total image size. Hey presto.

 

Thanks for the excellent question! I learned something new because of it! ❤️

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

Thank you for your advice sir,
I think I have a meeting with the client to discuss this in more detail.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 21, 2023 Jun 21, 2023

Copy link to clipboard

Copied

LATEST

You could do this approximately by using the Pen tool to draw the estimated whole as a path, and turn it into a selection. Look in the Histogram panel, under Selected Layer, and you can see the number of pixels selected; note this down.

Clear the selection, and select just the fragment with the Object Selection tool. Find the number of pixels in this as above, and compare the two values.

Assuming just a basic wheel shape, a quick test shows your fragment would be about 54% of the whole.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines