• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Start
  • Kontakt
    • Made in Vorarlberg
  • Leistungen
    • Web Development
    • Enterprise React-Native App Entwicklung
    • Embedded Systems
    • Java Entwicklung
    • C++ Entwicklung
  • Referenzen
    • Kunden
    • Webdesign & Webapps
    • Mobile Apps
    • Embedded Systems
    • Cloud Apps
  • Neuigkeiten
    • We’re hiring

Search

Anagram Engineering

Webdesign und Softwarelösungen aus Vorarlberg. Ihr Partner für innovative Lösungen rund ums Internet. Full Service Agentur.

Camera Model with Lens



Next: Camera Calibration
Up: Perspective Projection
Previous: The Pinhole Camera


Camera Model with Lens

The pinhole camera has the problem that the pinhole should be almost infinitely small, but the smaller the pinhole, the fewer light enters the camera and the longer exposure time is needed. In a dynamic environment this is not possible because the objects in the scene are moving. As a result the pinhole camera is not used in real photography. In reality lenses are used to project the light onto the sensor chip. Figure 2.3 shows how the light-rays reflected by an object are projected through a lens. $ G$ is an object in the real world,
$ d_{object}$ is the distance between $ G$ and the lens. $ f$ is the focal distance of the lens, $ f_k$ is the effective focal length (distance between the lens and the projected object $ B$) and $ B$ is the projected object. Light is reflected at the object $ G$ and some of the light-rays enter the lens where they are refracted towards the sensor plane and form the object $ B$. The relation between these parameters can be written in a mathematical form.

$displaystyle frac{1}{d_{object}} + frac{1}{f_k} = frac{1}{f}$ (2.10)


Figure 2.3:
Lens Geometry

As a result of Equation 2.10, the focal length of the lens and the effective focal length are only the same if an object infinitely far away is focused. For reconstruction,
$ d_{object}$ has to be approximated, thus the effective focal length has to be computed. As one can see in Equation 2.10, $ f_k$ strongly depends on the focused objects and should be chosen so that the objects of interest are focused. Objects that are closer or further away will not be mapped as points but as circles. This happens because the correct image point lies behind or in front of the image plane. Areas which are not focused thus look blurred. There are some general laws which can help choosing the correct lens for a given problem.

  • the bigger the aperture, the bigger are the circles
  • the smaller the aperture, the sharper is the whole scene
  • the bigger the depth sharpness, the lesser light arrives at the sensor chip
  • the bigger the aperture, the smaller is the area where objects are mapped sharp

Figure 2.4:
Relation between image-, camera- and world-coordinate system.
Image cammodel

Camera parameters can be used to describe the camera geometry. It can be distinguished between two groups of parameters, namely the interior and exterior camera parameters. The interior parameters describe the camera geometry, independently from where the camera is situated. The exterior camera parameters depend only on the position where the camera is placed in relation to a given world coordinate system. Camera calibration is needed to compute both, the interior and the exterior camera parameters.

The intrinsic parameters are

  • $ f_k$: effective focal length

  • $ kappa_1,kappa_2$: lens distortion coefficients
  • $ c_x,c_y$: intersection of the optical axis with the image plane

and they determine the geometrical behavior of the projection
caused by the lens used. The extrinsic parameters are


  • $ R_x,R_y,R_z$: rotation parameters

  • $ T_x,T_y,T_z$: transformation parameters

When a lens is used, it comes to geometric lens distortion which has no influence on the quality of the image, but it has a significant influence on the image geometry. There are two kinds of geometric distortion, radial and tangential, but radial distortion is the most general. Figure 2.5 shows the effects of radial distortion to the image geometry. It can be described as a radial outwards or inwards displacement of a point in reference to the midpoint (principle point) of the lens. Some radial distortion is inherent in most optical systems, but can be reduced by proper design. Figure 2.5a shows the effect of inwards displacement(barrel distortion). Figure 2.5b shows the effect of outwards displacement (pincushion distortion).

Figure 2.5:
Effect of radial distortion to the geometry of an image a)barrel distortion b) pincushion distortion
Image lensdistortion

The distortion coefficients
$ kappa_1,kappa_2$ describe the radial distortion and can be found using one of the calibration techniques presented in Section
2.2. Some implementations also deal with tangential distortion, even if it is often disregarded due to its negligible influence.


Next: Camera Calibration
Up: Perspective Projection

Footer

Kontaktieren Sie uns

Stiegstrasse 24
6830 Rankweil
Vorarlberg, Österreich

+43 650 925 62 64
hello@anagram.at

Was wir machen

Anagram Engineering befindet sich im Herzen Vorarlbergs.

Wir beschäftigen uns mit der Softwareentwicklung für Web, Mobile, und eingebettete Systeme.

Wir erstellen Websites und Desktopsoftware für Microsoft und Linuxsysteme für Betriebe in und um Vorarlberg.

Als Consultants helfen wir Industrieunternehmen bei der Wahl von Softwareframeworks und dem Aufbau von sauberen Softwarearchitekturen.

Erfahren Sie mehr

© 2025 · Anagram Engineering

  • AGB
  • Datenschutz
  • Impressum
  • Kunden
  • Referenzen
  • Kontakt
Manage Cookie Consent
Wir benützen Cookies um unsere Website und unsere Services zu optimieren.
Funktional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistik
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
Einstellungen
{title} {title} {title}
  • Deutsch
  • English