Is perspective distortion mathematically modeled?

  • Context: Undergrad 
  • Thread starter Thread starter chastiell
  • Start date Start date
  • Tags Tags
    Cameras Perspective
Click For Summary
SUMMARY

The discussion centers on the mathematical modeling of perspective distortion in photography and vision, specifically addressing the influence of focal length and object distance. Participants clarify that while focal length affects overall magnification, it does not alter the relative magnification of objects at varying distances. The principal ray angle (U) is introduced as a critical factor, with telecentric lenses exhibiting no perspective distortion (U = 0). The conversation emphasizes the need for a quantitative definition of perspective distortion, which is proposed as the principal ray angle itself.

PREREQUISITES
  • Understanding of basic optics principles, including focal length and magnification.
  • Familiarity with telecentric lens design and its implications for perspective distortion.
  • Knowledge of ray tracing techniques in optical design.
  • Basic concepts of photogrammetry and its applications in measuring distances.
NEXT STEPS
  • Research the mathematical models used in photogrammetry for calculating distances and perspective distortion.
  • Explore the principles of telecentric lens design and its advantages in minimizing perspective distortion.
  • Learn about ray tracing software tools for simulating optical systems and calculating principal ray angles.
  • Investigate the relationship between principal ray angle (U) and various lens designs to understand their impact on perspective.
USEFUL FOR

Photographers, optical engineers, and anyone interested in the mathematical foundations of perspective distortion in imaging systems.

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
 
Science 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   Reactions: 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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
628
  • · Replies 35 ·
2
Replies
35
Views
10K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 12 ·
Replies
12
Views
2K