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

Suggestions on how to separate small pixels clusters

Explorer ,
Nov 30, 2022 Nov 30, 2022

Copy link to clipboard

Copied

Hello,

 

I'm wondering if anyone has any suggestions to achive the below.

 

(imaging the sample below over a larger area) I'm trying to figure out a method of just selecting the red areas which are above a certain pixel count in area. In effect, I want to select the small red dot areas and fill them in green.

I've played around with contracting and expanding etc, however, after contracting by 2 for example, I might have to expand by 6/7 pixels to get the all the pixels in a larger shape which have an accute angle (if that makes sense), then it's likely some of those small pixel areas will be picked back up again.

bobd7221748_0-1669809061075.png

I've tried solving this problem a number of times, but can never figure it out. I'd be really interested to see if anyone has any angles on how to approach this which I haven't yet considered. Even a seed of an idea might help me figure it out for myself.

 

Thanks in advance!

TOPICS
Windows

Views

917

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 ,
Nov 30, 2022 Nov 30, 2022

Copy link to clipboard

Copied

How exact does it need to be? 

 

Dust & Scratches might work to some extent. 

Screenshot 2022-11-30 at 13.07.09.pngScreenshot 2022-11-30 at 13.07.34.pngScreenshot 2022-11-30 at 13.07.41.png

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
Explorer ,
Dec 02, 2022 Dec 02, 2022

Copy link to clipboard

Copied

Thank you for the suggestion! I've played around with dust and scratches before, but ideally, I am, looking for an exact result really. Though I am interested to re-create your experiement to see if you've tackled it differently to how I would have done. Thank you very much for your input!

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 ,
Dec 08, 2022 Dec 08, 2022

Copy link to clipboard

Copied

LATEST

If I remember correctly a while back someone actually created and posted a plugin for this sort of thing because Scripting approaches were so slow. 

Unsurprisingly I cannot find it anymore (though I am not sure it would work on a current version of Photoshop, anyway). 

 

Can you post an actual sample-file? 

Or at least tell what the images’ pixel dimensions are? 

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