Is perspective distortion mathematically modeled?

AI Thread Summary
Perspective distortion in vision and photography is influenced by the distance between the camera and the object, rather than solely by focal length. While longer focal lengths increase overall magnification, they do not alter the relative magnification of different features if the camera position remains unchanged. The discussion highlights the complexity of quantifying perspective distortion, with the principal ray angle (U) being a key factor; telecentric lenses minimize distortion by keeping U at zero. There is no simple mathematical model that universally applies, as perspective is fundamentally a qualitative phenomenon affected by various parameters. The need for a precise mathematical relationship for perspective distortion remains a challenge in the field.
chastiell
Messages
11
Reaction score
0
Hi guys !

I'm trying to understand the perspective distortion that can be observed in our vision and cameras, so many pages on the web that talks about photography says that the perspective distortion can be controlled using different focal lengths lenses, meanwhile a reduced group of pages states that focal lengths doesn't have any effect in the perspective, ensuring that the only factor that can modify this effect is the distance between camera and object. here the page :
http://photography-on-the.net/forum/showthread.php?t=672913
its arguments are really good, but as in photography pages doesn't show any mathematical model that can give the end point of future discussions about the theme, so I'm asking if there is any mathematical model of perspective distortion , or any non-paraxial model of camera lenses and rays tracing that can explain perspective distortion and its relation to focal length.

Thanks in advance for your answers
 
Physics news on Phys.org
At its basic level, this is just a matter of image magnification, which is given by image distance / object distance for a simple len. Using an example from the article you linked, let's say you are taking someone's portrait. If you are up close, the object distance of the ears is significantly larger than the object distance of the nose, on a relative percentage basis, so the size of the nose relative to the ears is exaggerated. Using a larger focal length lens will increase the magnification overall but not change the relative magnification of the nose and ears if you are in the same location.

If you step back further, now the object distances of the nose and ears become more similar, on a relative percentage basis, so the nose is no longer exaggerated.
 
  • Like
Likes Nidum
probably I didn't mention this in my post but I want to write a program about it (for triangulation purposes in real world ,that's why I don't want paraxial models for camera lenses ), in order to achieve that I need equations not only words , or arguments like those showed in my link
 
Your original post seemed to imply some confusion about the fundamental cause of perspective distortion and what influences it, hence my response. Now you are saying that you don't need words, but want to write a program about "it" and calculate something "for triangulation purposes" and it's not clear to me what you mean that. What exactly do you want to calculate?
 
Sorry for that confusion and thanks for your answer , its just that my true problem is about the perspective, I understand that it's affected by distance but I don't know how, I hope that there's a known mathematical relation between magnification and distance of objects with great prediction capabilities, but I can't find a relation with that features, instead I obtained a relation before using the pinhole camera model but its predictions are not correct , at least not for distant objects , in general what I need is a mathematical form for perspective or a non-paraxial model for lenses (which can give me that relation)
 
chastiell said:
Sorry for that confusion and thanks for your answer , its just that my true problem is about the perspective, I understand that it's affected by distance but I don't know how, I hope that there's a known mathematical relation between magnification and distance of objects with great prediction capabilities, but I can't find a relation with that features, instead I obtained a relation before using the pinhole camera model but its predictions are not correct , at least not for distant objects , in general what I need is a mathematical form for perspective or a non-paraxial model for lenses (which can give me that relation)

Unfortunately, it's not such a simple relation. Basically, the problem you are describing is referred to as "parallax error". Telecentric lenses have no parallax, and as a result the image magnification is independent of object distance:

https://www.edmundoptics.com/resources/application-notes/imaging/advantages-of-telecentricity/

Telecentric lenses place the entrance pupil at infinity to achieve this. Your eye (and most lenses) do not, and so there is parallax error/perspective distortion. I figured it would be easy to find a calculation that computes the distortion relative to human vision based on the focal length, but no luck. I had some success searching the photogrammetry literature, but nothing tidy.

https://www.robots.ox.ac.uk/~vgg/publications/1999/Criminisi99b/criminisi99b.pdf
https://www.rgs.org/NR/rdonlyres/C30C5A86-5364-49FE-9A58-58EE27315F9C/0/Chapter9GeocorrectionandPhotogrammetry.pdf
 
chastiell said:
in general what I need is a mathematical form for perspective

As far as I know, "perspective" is not a quantitative measurement. It is a qualitative phenomena. If you need a mathematical statement about how to calculate something, what is it specifically that you wish to calculate? If your goal is caclulate the distance to an object, what data do you have about that object? - one image? - a series of images? Are you dealing with objects across the street? - galaxies that are light years away ?
 
Stephen Tashi said:
As far as I know, "perspective" is not a quantitative measurement. It is a qualitative phenomena. If you need a mathematical statement about how to calculate something, what is it specifically that you wish to calculate? If your goal is caclulate the distance to an object, what data do you have about that object? - one image? - a series of images? Are you dealing with objects across the street? - galaxies that are light years away ?

It can be made quantitative (photogrammetry).
 
Andy Resnick said:
Telecentric lenses place the entrance pupil at infinity to achieve this. Your eye (and most lenses) do not, and so there is parallax error/perspective distortion. I figured it would be easy to find a calculation that computes the distortion relative to human vision based on the focal length, but no luck. I had some success searching the photogrammetry literature, but nothing tidy.

Thanks you for the answer and the links, such a relation seems to don't exist :/, or at least isn't as simple as i thought
 
  • #10
Stephen Tashi said:
As far as I know, "perspective" is not a quantitative measurement. It is a qualitative phenomena. If you need a mathematical statement about how to calculate something, what is it specifically that you wish to calculate? If your goal is caclulate the distance to an object, what data do you have about that object? - one image? - a series of images? Are you dealing with objects across the street? - galaxies that are light years away ?

The perspective distortion is a change of apparent size of objects with distance, the size is a quantitative measurement and the apparent size too, distance too, the phenomena that relates those things can not be a qualitative one
 
  • #11
chastiell said:
Thanks you for the answer and the links, such a relation seems to don't exist :/, or at least isn't as simple as i thought

Yeah, I burrowed down the rabbit hole for a bit, here's what I learned:

Perspective distortion is given by the angle of the principal ray (U) in image space: for telecentric systems, the principal ray emerges parallel to the optical axis (U = 0) and thus there is no variation of magnification with image height. In human eyes, for comparison, the principal ray emerges (I think) at about a 5 degree maximum angle. Lenses with a smaller U will have less perspective distortion than human eyes, lenses with larger U will have more. It seems that longer focal length lenses have smaller values of U compared to short focal length lenses- unfortunately, Smith's "Modern Lens Design" doesn't provide values of U.

However, there is no fixed relationship between U and focal length, nor is there a clear relationship between U and location of the aperture stop. Certainly, if you have a design you can ray trace to determine U (or adjust the design to generate a particular value of U), but I couldn't find a 'coarse-grained' relationship.

And it gets worse: shifting the lens also alters U- this is one reason why tilt-shift lenses (perspective control lenses) are used. Again, if you have a design you can compute U or alternatively, if you have the lens you can measure U in the lab.

Bleah...
 
Last edited:
  • #12
chastiell said:
The perspective distortion is a change of apparent size of objects with distance, the size is a quantitative measurement and the apparent size too, distance too, the phenomena that relates those things can not be a qualitative one

Then, since you're asking about mathematical models, can you give a quantitative definition of "perspective distortion"?
 
  • #13
Stephen Tashi said:
Then, since you're asking about mathematical models, can you give a quantitative definition of "perspective distortion"?

The principal ray angle U. If U = 0 the lens is telecentric and angular magnification does not vary with object distance. If you like, I hereby define the amount of perspective distortion P = U.
 
Back
Top