Mobile app version of vmapp.org
Login or Join
Vandalay110

: Distorting Two Irregular Shapes to Align over Each Other in GIMP (2.9) So I have two images both of which are maps of the world, however, the size of the continents are slightly off each

@Vandalay110

Posted in: #Distort #Gimp #Layers

So I have two images both of which are maps of the world, however, the size of the continents are slightly off each other as shown below. The question is how do I distort them so that when overlayed they are for the most part equal in their outline. Below I have added both images if you want me to clarify something I wrote please ask.

Link to pictures on Imgur

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay110

2 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera207

I don't think you need to do anything as complex as distorting them. These images are not as irregular as you might think.

The main problem is the images are not the same size. If you check the size of the top image, the width is 3888 pixels, The bottom one's width is 4800px.

If you use Image > Scale image, change the width on one of them to make it match the other ensuring that the aspect ratio is maintained (the link icon), then they almost match up perfectly, except for the vertical positioning.

Then paste one as a layer above the other.

To align them, reduce the opacity of the top layer and use the Move tool to align them.

Screenshot of aligned images

10% popularity Vote Up Vote Down


 

@Steve758

There is ofn-layer-aligner but it has been written for Gimp 2.8. Basically


you make a path with 4 points:


two on one layer (bottom one, reference)
and the matching two on the other (top layer, transformed, must be the active layer)

and it scales/rotates/translates the active layer so that the two pair of points overlap.


Works well on your image on Gimp 2.8.

On 2.9 you may be able to use the unified transform tool (not tested):


Move the top layer so that one point exactly overlaps its match on the other layer
Drag the rotation/scale center (aka pivot) to that point
Scale the top layer so that a second point matches

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme