Class OmnidirCameraUndistortionGeneric<T>
Manages the undistortion and rectification process for fisheye and omnidir ArucoCamera.
See the OpenCV's ccalib module documentation for more information: http://docs.opencv.org/3.4/dd/d12/tutorial_omnidir_calib_main.html
Inheritance
Inherited Members
Namespace: ArucoUnity.Cameras.Undistortions
Assembly: Assembly-CSharp.dll
Syntax
public abstract class OmnidirCameraUndistortionGeneric<T> : ArucoCameraUndistortionGeneric<T>, IArucoCameraUndistortion, IArucoCameraController, IController, IHasArucoCameraParameters where T : ArucoCamera
Type Parameters
Name | Description |
---|---|
T |
Fields
| Improve this Doc View SourcemaxPerspectiveFov
Declaration
protected const float maxPerspectiveFov = 179F
Field Value
Type | Description |
---|---|
Single |
minPerspectiveFov
Declaration
protected const float minPerspectiveFov = 1F
Field Value
Type | Description |
---|---|
Single |
rectifyFlags
Declaration
protected Dictionary<OmnidirCameraUndistortionGeneric<T>.RectificationTypes, Cv.Omnidir.Rectifify> rectifyFlags
Field Value
Type | Description |
---|---|
Dictionary<OmnidirCameraUndistortionGeneric.RectificationTypes<>, Cv.Omnidir.Rectifify> |
Properties
| Improve this Doc View SourcePerspectiveFieldOfViews
Gets or sets the desired field of view for the Unity cameras shooting the undistorted and rectified images.
Declaration
public float[] PerspectiveFieldOfViews { get; set; }
Property Value
Type | Description |
---|---|
Single[] |
RectificationType
Gets or sets the algorithm to use for the rectification of the images. See this tutorial for illustrated examples: https://docs.opencv.org/3.4/dd/d12/tutorial_omnidir_calib_main.html
Declaration
public OmnidirCameraUndistortionGeneric<T>.RectificationTypes RectificationType { get; set; }
Property Value
Type | Description |
---|---|
OmnidirCameraUndistortionGeneric.RectificationTypes<> |
Methods
| Improve this Doc View SourceConfiguring()
Throw exception if PerspectiveFieldOfViews length is different than CameraNumber.
Declaration
protected override void Configuring()
Overrides
| Improve this Doc View SourceInitializeRectification()
Initializes the
Declaration
protected override void InitializeRectification()
Overrides
| Improve this Doc View SourceInitializeUndistortionMaps()
Declaration
protected override void InitializeUndistortionMaps()
Overrides
| Improve this Doc View SourceOnValidate()
Resizes the length of the ArucoUnity.Cameras.Undistortions.OmnidirCameraUndistortionGeneric`1.perspectiveFieldOfViews editor field to CameraNumber if different.
Declaration
protected virtual void OnValidate()