Difference between revisions of "General lens model"
(New page: General lens model are based on mathematical descriptions of ideal projections. In the radially symmetric models below theta (θ) is the angle between view ray and optical axis. {| | '''m...) |
(generic models) |
||
Line 1: | Line 1: | ||
General lens model are based on mathematical descriptions of ideal projections. | General lens model are based on mathematical descriptions of ideal projections. | ||
In the radially symmetric models below theta (θ) is the angle between view ray and optical axis. | In the radially symmetric models below theta (θ) is the angle between view ray and optical axis. | ||
+ | Next to the model name mathematical descriptions in three colums. Firstly the ideal projection, secondly a two parameter polynomial estimation using odd powers of theta only (based on Kannala and Brandt), thirdly a ''one'' parameter (catadioptric) model due to Ying and Hu. A rough estimate for the popular Peleng 8mm lens has been added, based on calibration by Kumler and Bauer. | ||
− | {| | + | {| class="prettytable" |
| '''model name''' | | '''model name''' | ||
| '''ideal projection''' | | '''ideal projection''' | ||
Line 11: | Line 12: | ||
| <math>r = f \tan \theta </math> | | <math>r = f \tan \theta </math> | ||
| <math>r = \theta+\frac{1}{3}\theta^3</math> | | <math>r = \theta+\frac{1}{3}\theta^3</math> | ||
+ | | <math> l = 0 </math> | ||
|- | |- | ||
| stereographic projection | | stereographic projection | ||
| <math>r = 2 f \tan(\theta/2)</math> | | <math>r = 2 f \tan(\theta/2)</math> | ||
| <math>r = \theta+\frac{1}{12}\theta^3</math> | | <math>r = \theta+\frac{1}{12}\theta^3</math> | ||
+ | | <math> l = 1 </math> | ||
|- | |- | ||
| equidistance projection | | equidistance projection | ||
| <math>r = f</math> | | <math>r = f</math> | ||
+ | | 1 | ||
+ | | <math> l = </math> | ||
+ | |- | ||
+ | | Peleng | ||
+ | | <math>r = 3f \sin (\theta/3)</math> | ||
+ | | <math>r = \theta-\frac{1}{54}\theta^3</math> | ||
+ | | <math> l = \frac{19}{8} </math> | ||
|- | |- | ||
| quisolid angle projection | | quisolid angle projection | ||
| <math>r = 2 f \sin(\theta/2)</math> | | <math>r = 2 f \sin(\theta/2)</math> | ||
− | |- | + | | <math>r = \theta-\frac{1}{24}\theta^3</math> |
− | | | + | || <math> l = \frac{527}{259} </math> |
− | | <math> | ||
|- | |- | ||
| orthogonal projection | | orthogonal projection | ||
| <math>r = f \sin (\theta)</math> | | <math>r = f \sin (\theta)</math> | ||
+ | | <math>r = \theta-\frac{1}{6}\theta^3</math> | ||
+ | | <math> l = \infty </math> | ||
|} | |} | ||
+ | |||
+ | A ''one'' parameter generic lens model might be handy in optimizing panorama's for example [[hugin]] to have an independent initial check based on the control points of multiple images what kind of lens really is used, and providing an initial estimate for multiple parameter models, like the well known a, b, c [[lens correction model]]. The table above suggests to set a and c always to zero, and only use b, as a and c represent ''even'' powers. | ||
+ | |||
+ | Apart from radial distortion of the ideal model - producing [[barrel distortion]] - most lenses will show tangential distortion, or asymmetric distortion, mainly due to not all elements in the lens being exactly aligned with the optical axis. | ||
+ | |||
+ | ==references== | ||
+ | [http://www.ee.oulu.fi/mvg/files/pdf/pdf_697.pdf Kannala and Brandt 1] | ||
+ | [http://www.ee.oulu.fi/~jkannala/publications/visapp2008.pdf K&B 2, citing Ying and Hu] | ||
+ | [http://www.360vr.com/fisheye41/coastal-fisheyep.pdf Kumler and Bauer] |
Latest revision as of 11:55, 16 July 2008
General lens model are based on mathematical descriptions of ideal projections. In the radially symmetric models below theta (θ) is the angle between view ray and optical axis. Next to the model name mathematical descriptions in three colums. Firstly the ideal projection, secondly a two parameter polynomial estimation using odd powers of theta only (based on Kannala and Brandt), thirdly a one parameter (catadioptric) model due to Ying and Hu. A rough estimate for the popular Peleng 8mm lens has been added, based on calibration by Kumler and Bauer.
model name | ideal projection | ||
perspective projection(pinhole camera ) | |||
stereographic projection | |||
equidistance projection | 1 | ||
Peleng | |||
quisolid angle projection | |||
orthogonal projection |
A one parameter generic lens model might be handy in optimizing panorama's for example hugin to have an independent initial check based on the control points of multiple images what kind of lens really is used, and providing an initial estimate for multiple parameter models, like the well known a, b, c lens correction model. The table above suggests to set a and c always to zero, and only use b, as a and c represent even powers.
Apart from radial distortion of the ideal model - producing barrel distortion - most lenses will show tangential distortion, or asymmetric distortion, mainly due to not all elements in the lens being exactly aligned with the optical axis.
references
Kannala and Brandt 1 K&B 2, citing Ying and Hu Kumler and Bauer