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,
double alpha,
Size newImageSize,
out Rect validPixROI1,
out Rect validPixROI2
)
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(,),
flags As StereoRectificationFlags,
alpha As Double,
newImageSize As Size,
<OutAttribute> ByRef validPixROI1 As Rect,
<OutAttribute> ByRef validPixROI2 As Rect
)
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,
double alpha,
Size newImageSize,
[OutAttribute] Rect% validPixROI1,
[OutAttribute] Rect% validPixROI2
)
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 : Size *
validPixROI1 : Rect byref *
validPixROI2 : Rect byref -> unit
OpenCvSharp.Cv2.StereoRectify = function(cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, R1, R2, P1, P2, Q, flags, alpha, newImageSize, validPixROI1, validPixROI2);