Result of the linescan calibration executed by the CalibrationLineScan.CreateLineScanCalibration function. More...
Public Member Functions | |
LineScanCalibrator (NonLinearTransformation transformation, double pixelSize, double meanError, double standardDeviation) | |
New calibration result More... | |
Properties | |
NonLinearTransformation | Transformation [get] |
Transformation object. More... | |
double | PixelSize [get] |
Pixel size after transformation. More... | |
double | MeanError [get] |
Mean difference between stripe width in the transformed image and reference (calculated over all stripes). | |
double | StandardDeviation [get] |
Standard deviation of the mean error. | |
Result of the linescan calibration executed by the CalibrationLineScan.CreateLineScanCalibration function.
LineScanCalibrator | ( | NonLinearTransformation | transformation, |
double | pixelSize, | ||
double | meanError, | ||
double | standardDeviation | ||
) |
New calibration result
transformation | Transformation object. |
pixelSize | Pixel size after transformation. |
meanError | Mean deviation of all distances between stripes of transformed image from reference stripe width. |
standardDeviation | Standard deviation of meanError . |
|
get |
Pixel size after transformation.
The pixel size has the same units as referenceDistanceCalibrationPoints and referenceWidthStripes given within function CalibrationLineScan.CreateLineScanCalibration.
|
get |
Transformation object.
The transformation object includes the coefficients of a 3rd order polynomial. Mixed coefficients are zero. Depending on the ScanDirection specified in LineScanCalibrationConfiguration, the estimated polynomial is:
Scan direction in X:
Scan direction in Y:
where
x: pixel position in x (column),
y: pixel position in y (row),
a1-a10: coefficients in x,
b1-b10: coefficients in y,
x' and y': transformed x and y coordinates.