remove equal pixels

U
Posted By
Unite
Dec 28, 2006
Views
348
Replies
1
Status
Closed
Hi!
Can i compare two images/layers pixel by pixel and remove equal pixels?

For example: I have two pictures of the same wall. One of the picture has a fly on it. So i need to remove the wall and left just fly.

it’s like in .gif format. the same pixels in frames are removed.

….or should i post to Scripting community?

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

MD
Michael_D_Sullivan
Dec 28, 2006
I would try something along the following lines: Convert the two images to RGB mode an place on separate layers. Set the top layer to Difference blending mode. Stamp to a new layer. Use a threshold adjustment with the threshold cranked down to where all the identical pixels from the two images are black and all the others are white (this will probably be almost all the way to the left. Stamp this to a new layer, and use it as a mask.

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections