A set of parameters, which is used to configure line-scan calibration. More...
#include <cvb/foundation/calibration_line_scan.hpp>
Public Member Functions | |
LineScanCalibrationConfiguration (std::uint32_t maxIterations, std::uint32_t polyDegree, double tolerance, Foundation::CalibrationLineScan::ScanDirection scanDirection, Foundation::CalibrationLineScan::PreDefinedPixelSizeMode preDefinedPixelSizeMode, double pixelSize) noexcept | |
Constructor for line-scan calibration configuration. More... | |
std::uint32_t | MaxIterations () const noexcept |
Gets the number of maximal iterations for all nonlinear solvers in the calibration algorithm. More... | |
void | SetMaxIterations (std::uint32_t maxIterations) noexcept |
Sets number of maximal iterations for all nonlinear solvers in the calibration algorithm. More... | |
std::uint32_t | PolyDegree () const noexcept |
Gets a positive (or zero) integer value that defines the polynomial to be used. More... | |
void | SetPolyDegree (std::uint32_t polyDegree) noexcept |
Sets a positive (or zero) integer value that defines the polynomial to be used. More... | |
double | Tolerance () const noexcept |
Gets the value for early stopping criteria. More... | |
void | SetTolerance (double tolerance) noexcept |
Sets the value for early stopping criteria. More... | |
Foundation::CalibrationLineScan::ScanDirection | ScanDirection () const noexcept |
Gets the scanning direction of camera. More... | |
void | SetScanDirection (Foundation::CalibrationLineScan::ScanDirection scanDirection) noexcept |
Sets the scanning direction of camera. More... | |
Foundation::CalibrationLineScan::PreDefinedPixelSizeMode | PreDefinedPixelSizeMode () const noexcept |
Gets the decision if the calibrator uses predefined pixel size. More... | |
void | SetPreDefinedPixelSizeMode (Foundation::CalibrationLineScan::PreDefinedPixelSizeMode preDefinedPixelSize) noexcept |
Sets the decision if predefined pixel size needs to be used. More... | |
double | PixelSize () const noexcept |
Gets the pixel size of transformed image. More... | |
void | SetPixelSize (double pixelSize) noexcept |
Sets the pixel size of transformed image. More... | |
A set of parameters, which is used to configure line-scan calibration.
|
inlinenoexcept |
Constructor for line-scan calibration configuration.
[in] | maxIterations | Number of maximal iterations for all nonlinear solvers in the calibration algorithm. |
[in] | polyDegree | A positive (or zero) integer value that defines the polynomial to be used. |
[in] | tolerance | Value for early stopping criteria. |
[in] | scanDirection | Scanning direction of camera. |
[in] | preDefinedPixelSizeMode | Decision if predefined pixel size needs to be used. |
[in] | pixelSize | Pixel size of transformed image. |
Does | not throw any exception. |
|
inlinenoexcept |
Gets the number of maximal iterations for all nonlinear solvers in the calibration algorithm.
Does | not throw any exception. |
For line-scan calibration through polynomial this is used twice for finding the best polynomial to equalize the differences between edge points and to find the right feed-forward factor.
|
inlinenoexcept |
Gets the pixel size of transformed image.
Does | not throw any exception. |
This parameter is used if and only if pre-defined pixel size is used. Then this value is the (fixed) metric resolution of the calibrated image.
|
inlinenoexcept |
Gets a positive (or zero) integer value that defines the polynomial to be used.
Does | not throw any exception. |
By now only PolyDegree that is equal to 3 is supported.
|
inlinenoexcept |
Gets the decision if the calibrator uses predefined pixel size.
Does | not throw any exception. |
True, if the predefined pixel resolution (set with a value PixelSize returns) is used for the metric calibration.
|
inlinenoexcept |
Gets the scanning direction of camera.
Does | not throw any exception. |
|
inlinenoexcept |
Sets number of maximal iterations for all nonlinear solvers in the calibration algorithm.
[in] | maxIterations | The number of maximal iterations for all non linear solvers in the calibration algorithm. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the pixel size of transformed image.
[in] | pixelSize | The pixel size of transformed image. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets a positive (or zero) integer value that defines the polynomial to be used.
[in] | polyDegree | A positive (or zero) integer value that defines the polynomial to be used. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the decision if predefined pixel size needs to be used.
[in] | preDefinedPixelSize | The decision if predefined pixel size needs to be used. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the scanning direction of camera.
[in] | scanDirection | The scanning direction of camera. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the value for early stopping criteria.
[in] | tolerance | The value for early stopping criteria. |
Does | not throw any exception. |
|
inlinenoexcept |
Gets the value for early stopping criteria.
Does | not throw any exception. |
Value that is used for stopping criteria in the nonlinear solvers.