lensfun 0.2.8.0

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

Lens calibration data format

Possible embedded elements:

<distortion focal="number" model="name" k1="number" k2="number" k3="number" omega="number" a="number" b="number" c="number" />
  Declares the image distortion model for this lens. Distortion is specific for every focal length, so you can declare multiple distortion entries with different focal values; the library will interpolate the parameters for intermediate focal lengths.
  See Also
    lfDistortionModel
<tca focal="number" model="name" kr="number" kb="number" />
  Declares the Transversal Chromatic Aberrations model for this lens.
  See Also
    lfTCAModel
<vignetting focal="number" aperture="number" distance="number" model="name" k1="number" k2="number" k3="number" />
  Declares the vignetting model for this lens at given focal length, given aperture and given distance to subject. This kind of calibration requires relatively many sample points since it depends on three variables.
  See Also
    lfVignettingModel
<crop focal="number" mode="name" left="number" right="number" top="number" bottom="number" />
  Declares the image crop for this lens. Crop can be specific for every focal length, so you can declare multiple crop entries with different focal values; the library will interpolate the parameters for intermediate focal lengths.
  See Also
    lfCropMode
<field_of_view focal="number" fov="number" />
  Declares the real field of view for this lens. Field of view is specific for every focal length, so you can declare multiple field of view entries with different focal values; the library will interpolate the parameters for intermediate focal lengths. Especially helpful for fisheye lenses where the field of view differs from the value calculated from the (nominal) focal length.