AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
LensParam Class Reference

LensParam contains parameters of distortion, vignetting and chromatic aberration models for a set of camera settings (focal length, focus distance, aperture value). Detailed information on models can be found in the Adobe technical report "Adobe Camera Model" part of the documentation of the Adobe free tool Lens Profile Creator. More...

#include <lcp.hpp>

Public Member Functions

void clear ()
 LensParam reset.
 
bool isEmpty () const
 Indicate that no geometric model is available. More...
 
bool isFisheye () const
 Indicate that parameters apply for a fisheye lens. More...
 
bool hasVignetteParams () const
 Indicate that a vignetting model is available. More...
 
bool hasChromaticParams () const
 Indicate that chromatic models are available. More...
 
void setFisheyeStatus (bool s)
 Set fisheye status. More...
 
void setVignetteParamsStatus (bool s)
 Set vignetting availability status. More...
 
void setChromaticParamsStatus (bool s)
 Set chromatic models availability status. More...
 

Public Attributes

RectilinearModel ChromaticGreenParams
 Chromatic Green model parameters.
 
RectilinearModel ChromaticRedGreenParams
 Chromatic Red/Green model parameters.
 
RectilinearModel ChromaticBlueGreenParams
 Chromatic Blue/Green model parameters.
 
FisheyeModel fisheyeParams
 Fisheye model parameters.
 
RectilinearModel perspParams
 Pinhole model parameters.
 
VignetteModel vignParams
 Vignetting model parameters.
 
settingsInfo camData
 Camera settings.
 

Detailed Description

LensParam contains parameters of distortion, vignetting and chromatic aberration models for a set of camera settings (focal length, focus distance, aperture value). Detailed information on models can be found in the Adobe technical report "Adobe Camera Model" part of the documentation of the Adobe free tool Lens Profile Creator.

Member Function Documentation

◆ hasChromaticParams()

bool LensParam::hasChromaticParams ( ) const
inline

Indicate that chromatic models are available.

Returns
true if chromatic models are available

◆ hasVignetteParams()

bool LensParam::hasVignetteParams ( ) const
inline

Indicate that a vignetting model is available.

Returns
true if a vignetting model is available

◆ isEmpty()

bool LensParam::isEmpty ( ) const
inline

Indicate that no geometric model is available.

Returns
true if no geometric model is available

◆ isFisheye()

bool LensParam::isFisheye ( ) const
inline

Indicate that parameters apply for a fisheye lens.

Returns
true if the fisheye model is the valid one

◆ setChromaticParamsStatus()

void LensParam::setChromaticParamsStatus ( bool  s)
inline

Set chromatic models availability status.

Parameters
[in]chromaticmodels availability status

◆ setFisheyeStatus()

void LensParam::setFisheyeStatus ( bool  s)
inline

Set fisheye status.

Parameters
[in]fisheyestatus

◆ setVignetteParamsStatus()

void LensParam::setVignetteParamsStatus ( bool  s)
inline

Set vignetting availability status.

Parameters
[in]vignettingavailability status

The documentation for this class was generated from the following files: