Class CalibrationFlags
Manages the flags of the ArucoCameraCalibration process. Base class to reference in editor fields.
Namespace: ArucoUnity.Calibration
Assembly: Assembly-CSharp.dll
Syntax
public abstract class CalibrationFlags : MonoBehaviour
Properties
| Improve this Doc View SourceFixKDistorsionCoefficients
Gets or sets if the corresponding radial distortion coefficients are not changed during the calibration. If useIntrinsicGuess is set, the original DistCoeffs values in the camera parameters are used, otherwise they're set to 0.
Declaration
public bool[] FixKDistorsionCoefficients { get; set; }
Property Value
Type | Description |
---|---|
Boolean[] |
FixKLength
Gets the length of FixKDistorsionCoefficients array.
Declaration
protected abstract int FixKLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
UseIntrinsicGuess
Gets or sets if the CameraMatrices has valid initial value that will be optimized by the calibration process.
Declaration
public bool UseIntrinsicGuess { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Value
Gets or sets if the equivalent int, used by OpenCV, of the calibration flags.
Declaration
public abstract int Value { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceOnValidate()
Keeps the FixKDistorsionCoefficients array to its fixed length FixKLength in the editor.
Declaration
protected virtual void OnValidate()
UpdateCalibrationFlags()
Updates Value from the flag properties.
Declaration
protected abstract void UpdateCalibrationFlags()
UpdateCalibrationOptions()
Updates the flag property values from Value.
Declaration
protected abstract void UpdateCalibrationOptions()