Class StereoArucoCameraParameters
Manages the camera parameters of a stereo camera calibration.
Namespace: ArucoUnity.Cameras.Parameters
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class StereoArucoCameraParameters
Constructors
| Improve this Doc View SourceStereoArucoCameraParameters()
Creates an empty StereoCameraParameters.
Declaration
public StereoArucoCameraParameters()
Remarks
This constructor is needed for the serialization.
Fields
| Improve this Doc View SourceCameraNumber
Declaration
public const int CameraNumber = 2
Field Value
Type | Description |
---|---|
Int32 |
Properties
| Improve this Doc View SourceCalibrationFlagsValue
Gets or sets the stereo calibration flags used.
Declaration
public int CalibrationFlagsValue { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ReprojectionError
Gets or sets the average re-projection error of the calibration.
Declaration
public double ReprojectionError { get; set; }
Property Value
Type | Description |
---|---|
Double |
RotationVector
Gets or sets the rotation vector between the first and the second camera coordinate systems.
Declaration
public Cv.Vec3d RotationVector { get; set; }
Property Value
Type | Description |
---|---|
Cv.Vec3d |
Remarks
When UpdateSerializedProperties() is called, it's copied to the RotationVectorValues property.
RotationVectorValues
Gets or sets the rotation matrix values between the coordinate systems of the cameras. Equals to the RotationVector content and automatically written when SaveToXmlFile(String) is called.
Declaration
public double[] RotationVectorValues { get; set; }
Property Value
Type | Description |
---|---|
Double[] |
Remarks
This property is be public for the serialization.
TranslationVector
Gets or sets the translation vector between the coordinate systems of the cameras.
Declaration
public Cv.Vec3d TranslationVector { get; set; }
Property Value
Type | Description |
---|---|
Cv.Vec3d |
Remarks
When UpdateSerializedProperties() is called, it's copied to the TranslationVectorValues property.
TranslationVectorValues
Gets or sets the translation vector values between the coordinate systems of the cameras. Equals to the TranslationVector content and automatically written when SaveToXmlFile(String) is called.
Declaration
public double[] TranslationVectorValues { get; set; }
Property Value
Type | Description |
---|---|
Double[] |
Remarks
This property is be public for the serialization.
Methods
| Improve this Doc View SourceUpdateNonSerializedProperties()
Initializes the non serialized properties from the serialized properties.
Declaration
public void UpdateNonSerializedProperties()
UpdateSerializedProperties()
Updates the serialized properties from the non serialized properties.
Declaration
public void UpdateSerializedProperties()