How can I correct a scanned photo that is slightly warped or curved?
Asked 1/16/2016
4 views
2 answers
0
I scanned a printed photo, but the result isn’t perfectly rectangular. It looks slightly skewed/curved, as if the edges warped during scanning. What kind of image transformation or correction technique should I use to straighten it back into a proper rectangle?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
1
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.
Originally by user11924. Source · Licensed CC BY-SA 4.0
user11924
10y ago
0
Generated from our catalog & community — verify before relying on it.
Use a geometric distortion correction rather than a simple crop. Since the scan is slightly curved/warped, you’ll want to de-skew or apply a warp/distortion transform to map the bent edges back to a true rectangle.
One tool specifically mentioned for this is ImageMagick, which can handle complex image distortions from the command line. Its distortion features are commonly used to straighten scans, correct skew, and fix curved or radial warping.
In general, the right approach is:
- correct basic skew/perspective first if needed
- use a warp/distortion tool for the curved edges
- fine-tune until the photo’s sides align to a rectangular frame
If the distortion is more like bowing or lens-type curvature, look for circular or radial distortion correction methods. Those are designed for this kind of non-linear edge bending.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
How can I photograph a large book page so the text lines stay straight?
Is there software that can batch auto-crop and straighten scanned photos with varying borders and backgrounds?
How can I correct perspective distortion in a photographed document and make it look like a scan?
How can I reduce white speckles when scanning a textured photo print?
Why do halftone scans from printed books show moiré lines, and how can I reduce them?