# Difference between revisions of "Fisheye Projection"

m (explained theat) |
m (changed broken external link to one that works) |
||

(14 intermediate revisions by 4 users not shown) | |||

Line 1: | Line 1: | ||

+ | {{Glossary|A projection where the distance from the centre of the image to a point is proportional to the equivalent spatial angle.}} | ||

+ | [[Image:big_ben_circ_fisheye.jpg|frame|right|Circular Fisheye projection, with permission from Ben Kreunen]] | ||

+ | [[Image:big_ben_ff_fisheye.jpg|frame|right|Fullframe Fisheye projection, with permission from Ben Kreunen]] | ||

+ | |||

This is a class of [[Projections|projections]] for mapping a portion of the surface of a sphere to a flat image, typically a camera's film or detector plane. In a fisheye projection the distance from the centre of the image to a point is close to proportional to the true angle of separation. | This is a class of [[Projections|projections]] for mapping a portion of the surface of a sphere to a flat image, typically a camera's film or detector plane. In a fisheye projection the distance from the centre of the image to a point is close to proportional to the true angle of separation. | ||

− | Commonly there are two types of fisheye distinguished: circular fisheyes and fullframe fisheyes. | + | Commonly there are two types of fisheye distinguished: circular [[fisheyes]] and fullframe [[fisheyes]]. However, both follow the same projection geometrics. The only difference is one of [[Field of View]]: for a circular fisheye the circular image fits (more or less) completely in the frame, leaving blank areas in the corner. For the full frame variety, the image is over-filled by the circular fisheye image, leaving no blank space on the film or detector. A circular fisheye can be made full frame if you use it with a smaller sensor/film size (and vice versa), or by zooming a fisheye adaptor on a zoom lens. |

+ | |||

+ | There is no single fisheye projection, but instead there are a class of projection transformation all referred to as ''fisheye'' by various lens manufacturers, with names like ''equisolid angle projection'', or ''equidistance fisheye''. Less common are traditional spherical projections which map to circular images, such as the [http://mathworld.wolfram.com/OrthographicProjection.html orthographic] (lenses commonly designated ''OP'') or [[Stereographic Projection|stereographic]] projections. Luckily, most of these related projections can be dealt with in a simple way. The following explanation is taken from a posting by [[Helmut Dersch]] (link to original see below): | ||

− | + | '''<math>\theta\,</math>''' is the angle between a point in the real world and the optical axis, which goes from the center of the image through the center of the lens. | |

− | |||

The focal length f of common fisheye lenses corresponds | The focal length f of common fisheye lenses corresponds | ||

− | quite simple to | + | quite simple to <math>\theta</math> and the |

− | radial position R of a point on the | + | radial position R of a point on the image on the film or sensor: |

− | + | <math>R = 2*f*sin\left(\frac{\theta}{2}\right)</math> | |

− | R = 2 * f * sin( theta | ||

So for 90 degrees, which would be the maximum | So for 90 degrees, which would be the maximum | ||

− | theta of a 180 degree | + | theta of a lens with 180 degree [[Field of View]], f=8mm, you get |

− | R = 11.3mm, which is the radius of | + | R = 11.3mm, which is the radius of the image circle. |

− | the image circle. | ||

This projection model applies to the Nikon 8mm | This projection model applies to the Nikon 8mm | ||

Line 23: | Line 26: | ||

Some older Nikon lenses (e.g. the 7.5mm) try to | Some older Nikon lenses (e.g. the 7.5mm) try to | ||

− | approach a linear mapping | + | approach a linear mapping (theta in rad) |

+ | <math>R = f*\theta\,</math> | ||

+ | and succeed more or less. | ||

− | + | For most practical applications, you won't see a big | |

− | |||

− | |||

− | For most practical | ||

difference between the two. | difference between the two. | ||

Btw, a rectilinear lens has a mapping | Btw, a rectilinear lens has a mapping | ||

− | + | <math>R=f*tan(\theta)\,</math> | |

− | R = f * tan( theta ) | ||

− | </ | ||

We can assume that most newer fisheyes follow the first mapping scheme. | We can assume that most newer fisheyes follow the first mapping scheme. | ||

Line 40: | Line 40: | ||

Complete text of the mail can be found at W.J. Markerink's [http://www.a1.nl/phomepag/markerink/fishyfaq.htm page about fisheye analysis] | Complete text of the mail can be found at W.J. Markerink's [http://www.a1.nl/phomepag/markerink/fishyfaq.htm page about fisheye analysis] | ||

− | More information on fisheyes and their distortions | + | More information on [[fisheyes]] and their distortions from [http://www.bobatkins.com/photography/technical/field_of_view.html Bob Atkins Photography] |

+ | [[Category:Glossary]] |

## Revision as of 22:38, 16 March 2008

This is a class of projections for mapping a portion of the surface of a sphere to a flat image, typically a camera's film or detector plane. In a fisheye projection the distance from the centre of the image to a point is close to proportional to the true angle of separation.

Commonly there are two types of fisheye distinguished: circular fisheyes and fullframe fisheyes. However, both follow the same projection geometrics. The only difference is one of Field of View: for a circular fisheye the circular image fits (more or less) completely in the frame, leaving blank areas in the corner. For the full frame variety, the image is over-filled by the circular fisheye image, leaving no blank space on the film or detector. A circular fisheye can be made full frame if you use it with a smaller sensor/film size (and vice versa), or by zooming a fisheye adaptor on a zoom lens.

There is no single fisheye projection, but instead there are a class of projection transformation all referred to as *fisheye* by various lens manufacturers, with names like *equisolid angle projection*, or *equidistance fisheye*. Less common are traditional spherical projections which map to circular images, such as the orthographic (lenses commonly designated *OP*) or stereographic projections. Luckily, most of these related projections can be dealt with in a simple way. The following explanation is taken from a posting by Helmut Dersch (link to original see below):

is the angle between a point in the real world and the optical axis, which goes from the center of the image through the center of the lens.

The focal length f of common fisheye lenses corresponds quite simple to and the radial position R of a point on the image on the film or sensor:

So for 90 degrees, which would be the maximum theta of a lens with 180 degree Field of View, f=8mm, you get R = 11.3mm, which is the radius of the image circle.

This projection model applies to the Nikon 8mm and the Sigma 8mm (which actually has f=7.8mm). This is also what you get when you look into a convex mirror.

Some older Nikon lenses (e.g. the 7.5mm) try to approach a linear mapping (theta in rad)

and succeed more or less.

For most practical applications, you won't see a big difference between the two.

Btw, a rectilinear lens has a mapping

We can assume that most newer fisheyes follow the first mapping scheme.

Complete text of the mail can be found at W.J. Markerink's page about fisheye analysis

More information on fisheyes and their distortions from Bob Atkins Photography