Gimp-Forum.net
How to flatten a curved paper photo? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: How to flatten a curved paper photo? (/Thread-How-to-flatten-a-curved-paper-photo)



How to flatten a curved paper photo? - brillywu - 11-01-2019

Hi,
I have a photo of test paper.When taking this picture, the paper was not laid flat. Now I'd like to flatten the curved part. How to do it? thank a lot.
[Image: 2019-10-28-16-40-31-20191028164135.png]


RE: How to flatten a curved paper photo? - denzjos - 11-01-2019

Some explanation about the item you are looking for is find in this forum : 

https://www.gimp-forum.net/Thread-correct-curved-images-of-all-kind


RE: How to flatten a curved paper photo? - rich2005 - 11-01-2019

It is going to depend on how many of these you have to process. No real automatic way that I know of, maybe someone will come up with something.

This using (1) Adjust the whole page with a trapezium deform then (2) the table with the gmic plugin - http://www.gmic.eu - interactive warp filter.  Never going to be wonderful and very user intensive.

[attachment=3351]

and a 5 minute video how I got there: https://youtu.be/xRR0RbizQJA


RE: How to flatten a curved paper photo? - brillywu - 11-29-2019

thanks rich2005 & denzjos. I have chosen this one:“curve-bend-between....", it is easy to use.


RE: How to flatten a curved paper photo? - Ofnuts - 11-29-2019

This only fixes the vertical shift caused by the distance to the lens. But the parts in the fold are also horizontally squeezed (the QR code isn't square). This can perhaps be fixed with a displace map.