Hi.
I'm looking for a way to identifiy identical shapes(islands of pixels) in a picture. For example if we have a flag copied 3 times and spread in the image and then one of the flags have been resized and the other one has been rotated, but they all have the same shape. Now I need to identify them and store this info(as a selection or different layer etc) in order to bring further adjustments to all of the copies, later on.
Identical shape recognition
Re: Identical shape recognition
That is far beyond the capability of Photoshop scripting. What you are wanting to do requires "artificial intelligence". It would also require all of the RGB pixel information to be fetched into an array to be analyzed which isn't even possible with Extendscript. Getting the RGB data into an array would require a plugin. However, that would only be the starting point. The actual coding for shape recognition would be very complex and far beyond anything you would probably want to attempt.