| Cv2FishEyeStereoCalibrate Method |
Performs stereo calibration
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static double StereoCalibrate(
IEnumerable<Mat> objectPoints,
IEnumerable<Mat> imagePoints1,
IEnumerable<Mat> imagePoints2,
InputOutputArray k1,
InputOutputArray d1,
InputOutputArray k2,
InputOutputArray d2,
Size imageSize,
OutputArray r,
OutputArray t,
FishEyeCalibrationFlags flags = FishEyeCalibrationFlags.FixIntrinsic,
Nullable<TermCriteria> criteria = null
)
Public Shared Function StereoCalibrate (
objectPoints As IEnumerable(Of Mat),
imagePoints1 As IEnumerable(Of Mat),
imagePoints2 As IEnumerable(Of Mat),
k1 As InputOutputArray,
d1 As InputOutputArray,
k2 As InputOutputArray,
d2 As InputOutputArray,
imageSize As Size,
r As OutputArray,
t As OutputArray,
Optional flags As FishEyeCalibrationFlags = FishEyeCalibrationFlags.FixIntrinsic,
Optional criteria As Nullable(Of TermCriteria) = Nothing
) As Double
public:
static double StereoCalibrate(
IEnumerable<Mat^>^ objectPoints,
IEnumerable<Mat^>^ imagePoints1,
IEnumerable<Mat^>^ imagePoints2,
InputOutputArray^ k1,
InputOutputArray^ d1,
InputOutputArray^ k2,
InputOutputArray^ d2,
Size imageSize,
OutputArray^ r,
OutputArray^ t,
FishEyeCalibrationFlags flags = FishEyeCalibrationFlags::FixIntrinsic,
Nullable<TermCriteria> criteria = nullptr
)
static member StereoCalibrate :
objectPoints : IEnumerable<Mat> *
imagePoints1 : IEnumerable<Mat> *
imagePoints2 : IEnumerable<Mat> *
k1 : InputOutputArray *
d1 : InputOutputArray *
k2 : InputOutputArray *
d2 : InputOutputArray *
imageSize : Size *
r : OutputArray *
t : OutputArray *
?flags : FishEyeCalibrationFlags *
?criteria : Nullable<TermCriteria>
(* Defaults:
let _flags = defaultArg flags FishEyeCalibrationFlags.FixIntrinsic
let _criteria = defaultArg criteria null
*)
-> float
Parameters
- objectPoints
- Type: System.Collections.GenericIEnumerableMat
Vector of vectors of the calibration pattern points. - imagePoints1
- Type: System.Collections.GenericIEnumerableMat
Vector of vectors of the projections of the calibration pattern points,
observed by the first camera. - imagePoints2
- Type: System.Collections.GenericIEnumerableMat
Vector of vectors of the projections of the calibration pattern points,
observed by the second camera. - k1
- Type: OpenCvSharpInputOutputArray
Input/output first camera matrix - d1
- Type: OpenCvSharpInputOutputArray
Input/output vector of distortion coefficients (k_1, k_2, k_3, k_4) of 4 elements. - k2
- Type: OpenCvSharpInputOutputArray
Input/output second camera matrix. The parameter is similar to K1 . - d2
- Type: OpenCvSharpInputOutputArray
Input/output lens distortion coefficients for the second camera. The parameter is
similar to D1. - imageSize
- Type: OpenCvSharpSize
Size of the image used only to initialize intrinsic camera matrix. - r
- Type: OpenCvSharpOutputArray
Output rotation matrix between the 1st and the 2nd camera coordinate systems. - t
- Type: OpenCvSharpOutputArray
Output translation vector between the coordinate systems of the cameras. - flags (Optional)
- Type: OpenCvSharpFishEyeCalibrationFlags
Different flags that may be zero or a combination of the FishEyeCalibrationFlags values - criteria (Optional)
- Type: SystemNullableTermCriteria
Termination criteria for the iterative optimization algorithm.
Return Value
Type:
Double[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FishEye.StereoCalibrate(System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},OpenCvSharp.InputOutputArray,OpenCvSharp.InputOutputArray,OpenCvSharp.InputOutputArray,OpenCvSharp.InputOutputArray,OpenCvSharp.Size,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray,OpenCvSharp.FishEyeCalibrationFlags,System.Nullable{OpenCvSharp.TermCriteria})"]
See Also