One more thing for doing this in Gimp is to first scale the image to the desired aspect ratio.
On Wed, Jan 1, 2020, 3:46 AM Bruno Postle <[email protected]> wrote: > Yes, you can straighten a perspective photo of a document using Hugin's > horizontal and vertical control points, and by setting both the input and > output projection to 'rectilinear'. > > But I don't use Hugin for this. I would open the photo in an image editor, > such as GIMP, and use the 'perspective tool'. > If you are using GIMP, be sure to set the perspective tool to 'Corrective > (Backward)', this way all you have to do is drag the four corners of the > selection to the four corners of the paper. > > Note that the GIMP documentation claims that it doesn't do true > perspective. This is wrong, the GIMP homography distortion is identical to > that provided by Hugin. > > Happy new year! 🎉 > > -- > Bruno > > > On 1 January 2020 07:04:35 CET, Milind Purohit wrote: > >Frequently one needs a nicely scanned image of a document, but only a > cell > >phone is handy. > >It seems that Hugin can convert a photo of a page by appropriate > stretching > >to a nicely rendered rectangular scanned image. > >Is this possible, and if so how to do it? > > -- > A list of frequently asked questions is available at: > http://wiki.panotools.org/Hugin_FAQ > --- > You received this message because you are subscribed to the Google Groups > "hugin and other free panoramic software" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/hugin-ptx/BCBEC314-81C8-40A5-9B86-160336F1B685%40postle.net > . > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CAHiEbuW4hCzGn6fzePRAKRvXioo0NQY8LNfufMEf6mhZ7HuNDQ%40mail.gmail.com.
