Gimp-Forum.net
Reconstructing an image from overlapping parts - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Tutorials and tips (https://www.gimp-forum.net/Forum-Tutorials-and-tips)
+--- Thread: Reconstructing an image from overlapping parts (/Thread-Reconstructing-an-image-from-overlapping-parts)



Reconstructing an image from overlapping parts - Ofnuts - 08-17-2022

Note: this method applies only to bigger images cut out properly (for instance, multiple screenshots of something too big to fit on a screen), not to picture extracts done with a handheld camera/smartphone that are in the realm of panorama software such as Hugin). This method can also give decent results with partial scans, but this assumes that there is very little distortion in the scanner, which isn't always a given.
  • You temporarily set the layer at the top to Difference mode. This will show you outlines in both pics where they overlap. Yes, the top layer doesn't show in the areas where there is nothing below it.
[attachment=8511]
  • You move the top layer and and when the position is pixel-perfect the overlap goes completely black. In the last stages you can move the layer pixel-by-pixel using the cursor keys (or you can zoom in to some part of the image with many small details)
[attachment=8512]
  • You set the top layer back to Normal mode to restore the full image.
[attachment=8513]
  • Rinse and repeat for every layer.



RE: Reconstructing an image from overlapping parts - Krikor - 08-17-2022

One thing led to another...

In order to reproduce the steps of this tutorial but without having an image at hand (for instance, multiple screenshots of something too big to fit on a screen, etc), I decided to intentionally misalign an image.

In this game I ended up discovering how to create interesting aspects of sketches.

Duplicate the original layer;
Rotate the new layer by 0.60 (with rotate tool); OR (I found out later, move with the Move tool about 6 spaces to one side)
Change this layer's mode to Difference;
Making new of the visible;
On this new layer (Visible):
a- Invert the color - Colors - Invert;
b- Colors - Levels - Low Input - 230 (I used 230, but this value must be adjusted depending on the image used);
c- Colors - Desaturate - Desaturate.

I discovered that, unlike the Move tool, with the rotate tool, it is not possible to preview the correctness of the layers.

Ofnuts, thanks for the tutorial and for indirectly helping me figure out how to create interesting sketch looks.


RE: Reconstructing an image from overlapping parts - rickk - 08-27-2022

I really appreciate this tutorial Offnuts. I expect it to be quite useful!

Oddly, I never before have been able to move layers using cursor keys. Guess I always tripped up under the expectation that having the target layer "active" in the layers dialog ...should have been sufficient to select it. And when that didn't work, I just concluded the solution was over my head.... But, thanks to your challenge, I worked it out (after all these years"   Wink

[Image: Difference-Test.webp]