3
\$\begingroup\$

I scanned a photo onto my computer, but there are some slight warping that formed when scanned the image. The photo is not perfectly square, and the photo is slightly curved. Below is a much exaggerated example, where the red box represents my photo, and the blue box represents a perfect rectangle, anchored at the top left and bottom right of the image.

enter image description here

What transformations / techniques can I use to correct this?

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Was the scanner a flatbed, or a sheet feeder? If a flatbed, was the lid shut to hold the photo flat? Rescanning it seems the best answer. \$\endgroup\$
    – WayneF
    Commented Jan 16, 2016 at 17:16
  • \$\begingroup\$ Scanner was a flatbed. Lid was shut. I had to do it at FedEx because my scanner wasn't large enough. Don't feel like going back. The image above is much exaggerated - I will do my best to fix it, but if not, I can live with the minor warping. \$\endgroup\$
    – dberm22
    Commented Jan 16, 2016 at 19:38

1 Answer 1

1
\$\begingroup\$

In the past, I have used ImageMagick to perform all sorts of complex distortions of images to straighten, de-skew, etc. Unfortunately, the tool is command-line oriented (it's not a GUI tool), but it provides you a lot of control over what you want to do.

Your case is covered in the Circular and Radial Distortion Methods of the online user guide.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Image Magick looks like a nice little utility. Ultimately, I was able to fix it in PaintDotNet with the Grid Warp plugin. Thanks anyway. \$\endgroup\$
    – dberm22
    Commented Jan 16, 2016 at 19:40
  • \$\begingroup\$ Glad to hear. I have not heard of PaintDotNet before. I will have to take a look at it. \$\endgroup\$
    – scottbb
    Commented Jan 16, 2016 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.