Basic Image AlgorithmS Library
2.8.0
|
Unvignette algorithm for images. More...
#include <Image/UnVignette.hh>
Public Member Functions | |
void | Compute (BIAS::Image< unsigned char > &Image) |
int | Init (const std::vector< double > ControlPoints, std::vector< double > PercentageValues, unsigned int dImageWidth, unsigned int dImageHeight, int dPPX, int dPPY, INTERPOLATION_METHOD method=LEAST_SQUARES, bool bUseLuT=true) |
Init the Unvignette algorithm give ControlPoints in image as offset from Principal Point in pixel give percentage values in second vector vectors have to be of same size. More... | |
int | Init (BIAS::CameraParam cParam, INTERPOLATION_METHOD method=LEAST_SQUARES, bool bUseLuT=true) |
Init the Unvignette algorithm with CameraParam object CameraParameter objcect has to contain ControlPoints and PercentageValues vectors have to be of same size. More... | |
bool | IsInitialized () |
UnVignette () | |
UnVignette (CameraParam &cParam, INTERPOLATION_METHOD method=LEAST_SQUARES, bool bUseLuT=true) | |
~UnVignette () | |
Unvignette algorithm for images.
Measure the vignetting of images and correct the vignetting of images
Definition at line 61 of file UnVignette.hh.
UnVignette::UnVignette | ( | ) |
Definition at line 37 of file UnVignette.cpp.
UnVignette::UnVignette | ( | CameraParam & | cParam, |
INTERPOLATION_METHOD | method = LEAST_SQUARES , |
||
bool | bUseLuT = true |
||
) |
Definition at line 48 of file UnVignette.cpp.
References BIAS::CameraParam::GetHeight(), BIAS::CameraParam::GetIlluCorrX(), BIAS::CameraParam::GetIlluCorrY(), BIAS::CameraParam::GetPrincipalX(), BIAS::CameraParam::GetPrincipalY(), and BIAS::CameraParam::GetWidth().
UnVignette::~UnVignette | ( | ) |
Definition at line 69 of file UnVignette.cpp.
void UnVignette::Compute | ( | BIAS::Image< unsigned char > & | Image | ) |
Definition at line 75 of file UnVignette.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
int UnVignette::Init | ( | const std::vector< double > | ControlPoints, |
std::vector< double > | PercentageValues, | ||
unsigned int | dImageWidth, | ||
unsigned int | dImageHeight, | ||
int | dPPX, | ||
int | dPPY, | ||
INTERPOLATION_METHOD | method = LEAST_SQUARES , |
||
bool | bUseLuT = true |
||
) |
Init the Unvignette algorithm give ControlPoints in image as offset from Principal Point in pixel give percentage values in second vector vectors have to be of same size.
Definition at line 113 of file UnVignette.cpp.
int UnVignette::Init | ( | BIAS::CameraParam | cParam, |
INTERPOLATION_METHOD | method = LEAST_SQUARES , |
||
bool | bUseLuT = true |
||
) |
Init the Unvignette algorithm with CameraParam object CameraParameter objcect has to contain ControlPoints and PercentageValues vectors have to be of same size.
Definition at line 129 of file UnVignette.cpp.
References BIAS::CameraParam::GetHeight(), BIAS::CameraParam::GetIlluCorrX(), BIAS::CameraParam::GetIlluCorrY(), BIAS::CameraParam::GetPrincipalX(), BIAS::CameraParam::GetPrincipalY(), and BIAS::CameraParam::GetWidth().
|
inline |
Definition at line 69 of file UnVignette.hh.