View Single Post
Old December 3rd, 2015, 03:30 PM   #34
deepsepia
Moderator
 
deepsepia's Avatar
 
Join Date: Jul 2007
Location: Upper left corner
Posts: 7,205
Thanks: 47,953
Thanked 83,437 Times in 7,199 Posts
deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+deepsepia 350000+
Default

Quote:
Originally Posted by beutelwolf View Post
I wonder whether viewing it as a 3D problem would yield better results, or whether it really boils down to the same thing...
Very clever observation.

You know "ground truth" -- the image that you're seeking is of a flat sheet of paper.

A distortion has been introduced into it by photographing at an odd angle.

You can reverse that process by modelling it in 3D. (Slap the image on a plane in a 3D layer in Photoshop, and turn the image with respect to the camera).

. . . however: the success of such a process depends on having an accurate model for the lens that introduced that distortion. If you look at Adobe's "Camera Raw" import modules, they've got very detailed models for high end SLR lenses.

But that takes me to Adobe Camera Raw-- that's the best place to do perspective transformations, generally ignored by folks working with JPEGs, as the name suggests, its mostly about importing RAW files.

Camera Raw has got the best perspective and alignment tools. If you have Photoshop, you have Camera Raw

https://helpx.adobe.com/camera-raw/u...amera-raw.html

You typically invoke Camera Raw on a RAW or similar file, like a Canon CR2 (these are the zillion megabyte files that come off of a DSLR, uncompressed). To get the full suite of Camera Raw tool, you want to open the file in Bridge, but you can also load Camera Raw as a filter inside Photoshop, and apply to a JPEG . . .

Good intro to the Camera Raw perspective correction tools here:
https://www.youtube.com/watch?v=TnnIaCWRQDM

Last edited by deepsepia; December 3rd, 2015 at 06:42 PM..
deepsepia is offline   Reply With Quote
The Following 4 Users Say Thank You to deepsepia For This Useful Post: