Difference between revisions of "Hugin Camera and Lens tab"

From PanoTools.org Wiki
Jump to navigation Jump to search
(Import of hugin manual)
 
m (linkify)
Line 1: Line 1:
The lens tab looks a lot like the Images tab, except that the lens settings can be edited here.
+
The '''Camera and Lens''' tab looks a lot like the [[hugin Images tab]], except that the lens settings can be edited here.
 
As in the Images Tab, multi-selection can be used to change the parameters for multiple images.
 
As in the Images Tab, multi-selection can be used to change the parameters for multiple images.
  
Panorama Tools and hugin allow the usage of images shot with different lenses and settings inside the same project.
+
[[Panorama Tools]] and [[hugin]] allow the usage of images shot with different lenses and settings inside the same project.
 
Each image is associated with a lens number.
 
Each image is associated with a lens number.
 
All images that share the same lens number use the same lens type, and may be forced to share the same lens parameters.
 
All images that share the same lens number use the same lens type, and may be forced to share the same lens parameters.
  
The most important parameters are the '''Lens type''' and the '''hor. field of view'''.
+
The most important parameters are the '''Lens type''' and the '''[[Field of View|hor. field of view]]'''.
hugin support the following projections in input images:
+
hugin supports the following projections in input images:
  
* '''rectilinear''' This is the projection used by most cameras. It keeps straight lines straight. The maximum horizontal field of view is 180 degrees (for an image of infinite size, that is).
+
* '''[[Rectilinear Projection|rectilinear]]''' This is the projection used by most cameras. It keeps straight lines straight. The maximum horizontal field of view is 180 degrees (for an image of infinite size, that is).
* '''Panoramic''' is used by panoramic cameras, such as the Horizon, Roundshot and Spheron cameras. This projection is also called cylindrical projection.
+
* '''Panoramic''' is used by panoramic cameras, such as the Horizon, Roundshot and Spheron cameras. This projection is also called [[Cylindrical Projection]].
* '''Circular fisheye''' This is projection is used by fisheye lenses. If the image is circular, or the corners of the image are black, use this type of fisheye lens. A circular crop (see Cropping can be used for cutting away the edge borders.
+
* '''Circular fisheye''' This is projection is used by [[Fisheye Projection|fisheye]] lenses. If the image is circular, or the corners of the image are black, use this type of fisheye lens. A circular crop (see Cropping can be used for cutting away the edge borders.
 
* '''Full frame fisheye''' Exactly the same projection as above, but the crop option will crop to an rectangle instead of a circle. This should be used for full frame fisheye images.
 
* '''Full frame fisheye''' Exactly the same projection as above, but the crop option will crop to an rectangle instead of a circle. This should be used for full frame fisheye images.
  
After the lens type has been specified, an estimate for the horizontal field of view (HFOV) is required.
+
After the lens type has been specified, an estimate for the horizontal [[Field of View]] (HFOV) is required.
 
The HFOV specifies the horizontal opening angle of the image in degrees.
 
The HFOV specifies the horizontal opening angle of the image in degrees.
Since most photographers are more familar with focal length as a measure for the HFOV, it can be entered into hugin, and hugin will compute the HFOV from it.
+
Since most photographers are more familar with [[Focal Length]] as a measure for the HFOV, it can be entered into hugin, and hugin will compute the HFOV from it.
For this calculation the actual focal length and the crop factor of the camera are required.
+
For this calculation the actual focal length and the [[crop factor]] of the camera are required.
 
If the 35mm film equivalent focal length is known, a crop factor of 1 should be used.
 
If the 35mm film equivalent focal length is known, a crop factor of 1 should be used.
  
In case of [[JPEG]] images, hugin can usually automatically calculate the HFOV based on the EXIF information.
+
In case of [[JPEG]] images, hugin can usually automatically calculate the HFOV based on the [[EXIF]] information.
  
 
Usually lenses do not project images exactly according to the selected projection type, but suffer from distortions.
 
Usually lenses do not project images exactly according to the selected projection type, but suffer from distortions.
Line 26: Line 26:
 
The '''a,b and c''' parameters are used to remove that distortion.
 
The '''a,b and c''' parameters are used to remove that distortion.
 
They are applied radially from the image center, which can be moved by changing the d and e parameters.
 
They are applied radially from the image center, which can be moved by changing the d and e parameters.
TODO: link to distortion model
+
TODO: link to [[lens correction model]]
  
Scanned images might also suffer from image shearing. This can be corrected using the g and t parameters.
+
Scanned images might also suffer from image [[shearing]]. This can be corrected using the g and t parameters.
  
 
The distortion parameters usually vary with the focal length, and to a lesser degree with the focus.
 
The distortion parameters usually vary with the focal length, and to a lesser degree with the focus.
The '''link''' checkbox indicates wether the parameter is linked or not.
+
The '''link''' checkbox indicates whether the parameter is linked or not.
 
A linked parameter is forced to the same value for all images with the same lens number.
 
A linked parameter is forced to the same value for all images with the same lens number.
 
This is the default for the HFOV and distortion parameters.
 
This is the default for the HFOV and distortion parameters.
Line 38: Line 38:
 
If scanned images are used, they are usually not perfectly centered, and each image should have individual d and e parameters.
 
If scanned images are used, they are usually not perfectly centered, and each image should have individual d and e parameters.
  
The photometric corrections include vignetting correction and color/brightness adjustment. TODO: document
+
The photometric corrections include [[vignetting]] correction and color/brightness adjustment. TODO: document
 +
 
 +
[[Category:Software:Hugin]]

Revision as of 14:08, 11 March 2007

The Camera and Lens tab looks a lot like the hugin Images tab, except that the lens settings can be edited here. As in the Images Tab, multi-selection can be used to change the parameters for multiple images.

Panorama Tools and hugin allow the usage of images shot with different lenses and settings inside the same project. Each image is associated with a lens number. All images that share the same lens number use the same lens type, and may be forced to share the same lens parameters.

The most important parameters are the Lens type and the hor. field of view. hugin supports the following projections in input images:

  • rectilinear This is the projection used by most cameras. It keeps straight lines straight. The maximum horizontal field of view is 180 degrees (for an image of infinite size, that is).
  • Panoramic is used by panoramic cameras, such as the Horizon, Roundshot and Spheron cameras. This projection is also called Cylindrical Projection.
  • Circular fisheye This is projection is used by fisheye lenses. If the image is circular, or the corners of the image are black, use this type of fisheye lens. A circular crop (see Cropping can be used for cutting away the edge borders.
  • Full frame fisheye Exactly the same projection as above, but the crop option will crop to an rectangle instead of a circle. This should be used for full frame fisheye images.

After the lens type has been specified, an estimate for the horizontal Field of View (HFOV) is required. The HFOV specifies the horizontal opening angle of the image in degrees. Since most photographers are more familar with Focal Length as a measure for the HFOV, it can be entered into hugin, and hugin will compute the HFOV from it. For this calculation the actual focal length and the crop factor of the camera are required. If the 35mm film equivalent focal length is known, a crop factor of 1 should be used.

In case of JPEG images, hugin can usually automatically calculate the HFOV based on the EXIF information.

Usually lenses do not project images exactly according to the selected projection type, but suffer from distortions. In many cases the distortions are acceptable for single image shots, but they need to be corrected when stitching a panorama. The a,b and c parameters are used to remove that distortion. They are applied radially from the image center, which can be moved by changing the d and e parameters. TODO: link to lens correction model

Scanned images might also suffer from image shearing. This can be corrected using the g and t parameters.

The distortion parameters usually vary with the focal length, and to a lesser degree with the focus. The link checkbox indicates whether the parameter is linked or not. A linked parameter is forced to the same value for all images with the same lens number. This is the default for the HFOV and distortion parameters. If a parameter is not linked each images is allowed to have individual values for the respective parameter. This is useful if a different zoom or focus setting has been used for some images. If scanned images are used, they are usually not perfectly centered, and each image should have individual d and e parameters.

The photometric corrections include vignetting correction and color/brightness adjustment. TODO: document