EWorldShape::AutoCalibrateDotGrid
Performs an automatic calibration based on a dot grid image.
Namespace: Euresys::Open_eVision
[C++]
OEV_UINT32 AutoCalibrateDotGrid(
EROIBW8* sourceImage,
float columnPitch,
float rowPitch,
bool testEmpiricalModes
)
Parameters
sourceImage
Pointer to the source image/ROI.
columnPitch
Actual pitches of the grid, i.e. distances between vertical and horizontal rows of the grid.
rowPitch
Actual pitches of the grid, i.e. distances between vertical and horizontal rows of the grid.
testEmpiricalModes
Boolean indicating whether empirical calibration modes (ECalibrationMode_Quadratic and ECalibrationMode_Bilinear) should be considered when determining the best calibration modes. Default value is
Remarks
Returns the best calibration mode for the current dot grid. The EWorldShape::AutoCalibrateDotGrid method will first do an automatic blob analysis in order to extract all dots (all blobs whose area is smaller than 5 pixels will be considered as noise and rejected). The dot gravity centers are used as the grid reference points. Then, the EWorldShape::AutoCalibrateDotGrid method will select and compute the best calibration mode by reducing the fitting error. To ensure a successful calibration, the perspective angle of the dot grid should not exceed 45 degrees.
EWorldShape.AutoCalibrateDotGrid
Performs an automatic calibration based on a dot grid image.
Namespace: Euresys.Open_eVision
[C#]
uint AutoCalibrateDotGrid(
Euresys.Open_eVision.EROIBW8 sourceImage,
float columnPitch,
float rowPitch,
bool testEmpiricalModes
)
Parameters
sourceImage
Pointer to the source image/ROI.
columnPitch
Actual pitches of the grid, i.e. distances between vertical and horizontal rows of the grid.
rowPitch
Actual pitches of the grid, i.e. distances between vertical and horizontal rows of the grid.
testEmpiricalModes
Boolean indicating whether empirical calibration modes (Quadratic and Bilinear) should be considered when determining the best calibration modes. Default value is
Remarks
Returns the best calibration mode for the current dot grid. The EWorldShape::AutoCalibrateDotGrid method will first do an automatic blob analysis in order to extract all dots (all blobs whose area is smaller than 5 pixels will be considered as noise and rejected). The dot gravity centers are used as the grid reference points. Then, the EWorldShape::AutoCalibrateDotGrid method will select and compute the best calibration mode by reducing the fitting error. To ensure a successful calibration, the perspective angle of the dot grid should not exceed 45 degrees.