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>
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.
◆ 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] | chromatic | models availability status |
◆ setFisheyeStatus()
| void LensParam::setFisheyeStatus |
( |
bool |
s | ) |
|
|
inline |
Set fisheye status.
- Parameters
-
◆ setVignetteParamsStatus()
| void LensParam::setVignetteParamsStatus |
( |
bool |
s | ) |
|
|
inline |
Set vignetting availability status.
- Parameters
-
| [in] | vignetting | availability status |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/alicevision/checkouts/latest/src/aliceVision/lensCorrectionProfile/lcp.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/alicevision/checkouts/latest/src/aliceVision/lensCorrectionProfile/lcp.cpp