Class libCalibGeom::CameraModelHalconDivision¶
Halcon divison camera model for non-telecentric area-scan cameras. Note that Sx and Sy are fixed to 1e-6 (reasonable pixel size) as they cannot be estimated jointly with Focus. https://www.mvtec.com/doc/halcon/12/en/calibrate_cameras.html
Inherits from: public libCalibGeom::CameraModelCRT< CameraModelHalconDivision >
Constructors and destructors¶
CameraModelHalconDivision()¶
CameraModelHalconDivision
Returns:
void |
CameraModelHalconDivision()¶
Public member functions¶
distort()¶
booldistort
Returns:
bool |
project()¶
boolproject
Returns:
bool |
unproject()¶
boolunproject
Returns:
bool |
project()¶
boolproject
Returns:
bool |
unproject()¶
boolunproject
Returns:
bool |
initialize()¶
boolinitialize
Initializes the model from calibration observations.
Returns:
bool |
getUndistortionMaps()¶
voidgetUndistortionMaps
Computes undistortion maps and the new camera matrix.
The returned maps define a source-image remap induced by a default virtual linear camera. For each output pixel, K maps the pixel to a point on the virtual camera plane at Z==1, which in turn defines the corresponding virtual camera ray. The maps contain the source-image lookup coordinates produced by projecting that ray through the camera model.
For central models this rectification is exact. For non-central models, a single depth-independent 2D remap is only an approximation, so the result should be interpreted as a convenient best-fit rectification.
Parameters:
mapU | Map for u-coordinates. |
mapV | Map for v-coordinates. |
K | New camera matrix. |
Returns:
void |
Public data members¶
Sx¶
const doubleSx
No documentation provided.
Sy¶
const doubleSy
No documentation provided.
parameters¶
CameraParametersparameters
No documentation provided.
Public Types¶
ParameterId¶
ParameterId
Values:
Focus = = 0 | |
Kappa | |
Cx | |
Cy |
Public Static Attributes¶
nParameters¶
constexpr intnParameters
No documentation provided.
Public Static Functions¶
name()¶
const std::stringname
Returns:
const std::string |
parameterNames()¶
const std::array< ParameterSpec, nParameters > ¶meterNames
Returns:
const std::array< ParameterSpec, nParameters > & |