text: # Fisheye Projection
  
  Circular Fisheye projection, with permission from Ben Kreunen
  Fullframe Fisheye projection, with permission from Ben Kreunen
  
  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, Panorama tools and Hugin can deal with most of these mentioned projections.
  
  $\theta\,$ 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, $f$ is the focal length of the lens and $R$ is radial position of a point on the image on the film or sensor.
  
  projection math real lenses, matching this projection
  equidistant fisheye $R=f\cdot\theta$ e.g. Peleng 8mm f/3.5 Fisheye
  stereographic $R=2f\cdot \tan\left(\frac{\theta}{2}\right)$ e.g. Samyang 8 mm f/3.5
  orthographic $R=f\cdot \sin\left(\theta\right)$ e.g. Yasuhara - MADOKA 180 circle fisheye lens
  equisolid
  
  (equal-area fisheye)
  
  $R=2f\cdot \sin\left(\frac{\theta}{2}\right)$ e. g. Sigma 8mm f/4.0 AF EX
  Thoby fisheye $R=k_1\cdot f \cdot \sin\left(k_2\cdot\theta\right)$
  
  with $k_1=1.47$ and $k_2=0.713$
  
  e. g. AF DX Fisheye-Nikkor 10.5mm f/2.8G ED
  
  (empirical found math for this lens)
  
  Old text:
  
  The following explanation is taken from a posting by Helmut Dersch (link to original see below):
  
  The focal length f of common fisheye lenses corresponds quite simple to $\theta$ and the radial position R of a point on the image on the film or sensor:
  
  $R = 2*f*sin\left(\frac{\theta}{2}\right)$
  
  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)
  
  $R = f*\theta\,$
  
  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
  
  $R=f*tan(\theta)\,$
  
  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
explanation: The document provides a detailed explanation of fisheye projection, including various types of fisheye lenses and their mathematical models. It describes the relationship between the angle of view, focal length, and radial position on the image plane for different types of fisheye projections. The document does not contain a specific question or a question and answer.
distilabel_metadata.content: Evaluate the user given text extract and determine if it contains a math question and optionally and answer to this question.
  
  Output rules:
  
  1. Briefly describe the document and mention if it contains a question or a question and answer.
  2. Finalize the output with: Label: no-question,question,question-and-answer,multiple-question,multiple-question-and-answer
distilabel_metadata.role: system
distilabel_metadata.content: # Fisheye Projection
  
  Circular Fisheye projection, with permission from Ben Kreunen
  Fullframe Fisheye projection, with permission from Ben Kreunen
  
  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, Panorama tools and Hugin can deal with most of these mentioned projections.
  
  $\theta\,$ 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, $f$ is the focal length of the lens and $R$ is radial position of a point on the image on the film or sensor.
  
  projection math real lenses, matching this projection
  equidistant fisheye $R=f\cdot\theta$ e.g. Peleng 8mm f/3.5 Fisheye
  stereographic $R=2f\cdot \tan\left(\frac{\theta}{2}\right)$ e.g. Samyang 8 mm f/3.5
  orthographic $R=f\cdot \sin\left(\theta\right)$ e.g. Yasuhara - MADOKA 180 circle fisheye lens
  equisolid
  
  (equal-area fisheye)
  
  $R=2f\cdot \sin\left(\frac{\theta}{2}\right)$ e. g. Sigma 8mm f/4.0 AF EX
  Thoby fisheye $R=k_1\cdot f \cdot \sin\left(k_2\cdot\theta\right)$
  
  with $k_1=1.47$ and $k_2=0.713$
  
  e. g. AF DX Fisheye-Nikkor 10.5mm f/2.8G ED
  
  (empirical found math for this lens)
  
  Old text:
  
  The following explanation is taken from a posting by Helmut Dersch (link to original see below):
  
  The focal length f of common fisheye lenses corresponds quite simple to $\theta$ and the radial position R of a point on the image on the film or sensor:
  
  $R = 2*f*sin\left(\frac{\theta}{2}\right)$
  
  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)
  
  $R = f*\theta\,$
  
  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
  
  $R=f*tan(\theta)\,$
  
  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
distilabel_metadata.role: user
distilabel_metadata.raw_output_q_a_detector_0: The document provides a detailed explanation of fisheye projection, including various types of fisheye lenses and their mathematical models. It describes the relationship between the angle of view, focal length, and radial position on the image plane for different types of fisheye projections. The document does not contain a specific question or a question and answer.
  
  Label: no-question