public static void StereoRectify(
double[,] cameraMatrix1,
double[] distCoeffs1,
double[,] cameraMatrix2,
double[] distCoeffs2,
Size imageSize,
double[,] R,
double[] T,
out double[,] R1,
out double[,] R2,
out double[,] P1,
out double[,] P2,
out double[,] Q,
StereoRectificationFlags flags = StereoRectificationFlags.ZeroDisparity,
double alpha = -1,
Nullable<Size> newImageSize = null
)
Public Shared Sub StereoRectify (
cameraMatrix1 As Double(,),
distCoeffs1 As Double(),
cameraMatrix2 As Double(,),
distCoeffs2 As Double(),
imageSize As Size,
R As Double(,),
T As Double(),
<OutAttribute> ByRef R1 As Double(,),
<OutAttribute> ByRef R2 As Double(,),
<OutAttribute> ByRef P1 As Double(,),
<OutAttribute> ByRef P2 As Double(,),
<OutAttribute> ByRef Q As Double(,),
Optional flags As StereoRectificationFlags = StereoRectificationFlags.ZeroDisparity,
Optional alpha As Double = -1,
Optional newImageSize As Nullable(Of Size) = Nothing
)
public:
static void StereoRectify(
array<double,2>^ cameraMatrix1,
array<double>^ distCoeffs1,
array<double,2>^ cameraMatrix2,
array<double>^ distCoeffs2,
Size imageSize,
array<double,2>^ R,
array<double>^ T,
[OutAttribute] array<double,2>^% R1,
[OutAttribute] array<double,2>^% R2,
[OutAttribute] array<double,2>^% P1,
[OutAttribute] array<double,2>^% P2,
[OutAttribute] array<double,2>^% Q,
StereoRectificationFlags flags = StereoRectificationFlags::ZeroDisparity,
double alpha = -1,
Nullable<Size> newImageSize = nullptr
)
static member StereoRectify :
cameraMatrix1 : float[,] *
distCoeffs1 : float[] *
cameraMatrix2 : float[,] *
distCoeffs2 : float[] *
imageSize : Size *
R : float[,] *
T : float[] *
R1 : float[,] byref *
R2 : float[,] byref *
P1 : float[,] byref *
P2 : float[,] byref *
Q : float[,] byref *
?flags : StereoRectificationFlags *
?alpha : float *
?newImageSize : Nullable<Size>
(* Defaults:
let _flags = defaultArg flags StereoRectificationFlags.ZeroDisparity
let _alpha = defaultArg alpha -1
let _newImageSize = defaultArg newImageSize null
*)
-> unit
OpenCvSharp.Cv2.StereoRectify = function(cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, R1, R2, P1, P2, Q, flags, alpha, newImageSize);