OpenCvSharp.Cv2.ComposeRT C# (CSharp) Method

ComposeRT() public static method

composes 2 [R|t] transformations together. Also computes the derivatives of the result w.r.t the arguments
public static ComposeRT ( InputArray rvec1, InputArray tvec1, InputArray rvec2, InputArray tvec2, OutputArray rvec3, OutputArray tvec3, OutputArray dr3dr1 = null, OutputArray dr3dt1 = null, OutputArray dr3dr2 = null, OutputArray dr3dt2 = null, OutputArray dt3dr1 = null, OutputArray dt3dt1 = null, OutputArray dt3dr2 = null, OutputArray dt3dt2 = null ) : void
rvec1 InputArray First rotation vector.
tvec1 InputArray First translation vector.
rvec2 InputArray Second rotation vector.
tvec2 InputArray Second translation vector.
rvec3 OutputArray Output rotation vector of the superposition.
tvec3 OutputArray Output translation vector of the superposition.
dr3dr1 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dr3dt1 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dr3dr2 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dr3dt2 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dt3dr1 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dt3dt1 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dt3dr2 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
dt3dt2 OutputArray Optional output derivatives of rvec3 or tvec3 with regard to rvec1, rvec2, tvec1 and tvec2, respectively.
return void
        public static void ComposeRT(InputArray rvec1, InputArray tvec1,
                                     InputArray rvec2, InputArray tvec2,
                                     OutputArray rvec3, OutputArray tvec3,
                                     OutputArray dr3dr1 = null, OutputArray dr3dt1 = null,
                                     OutputArray dr3dr2 = null, OutputArray dr3dt2 = null,
                                     OutputArray dt3dr1 = null, OutputArray dt3dt1 = null,
                                     OutputArray dt3dr2 = null, OutputArray dt3dt2 = null)
        {
            if (rvec1 == null)
                throw new ArgumentNullException(nameof(rvec1));
            if (tvec1 == null)
                throw new ArgumentNullException(nameof(tvec1));
            if (rvec2 == null)
                throw new ArgumentNullException(nameof(rvec2));
            if (tvec2 == null)
                throw new ArgumentNullException(nameof(tvec2));
            rvec1.ThrowIfDisposed();
            tvec1.ThrowIfDisposed();
            rvec2.ThrowIfDisposed();
            tvec2.ThrowIfDisposed();
            rvec3.ThrowIfNotReady();
            tvec3.ThrowIfNotReady();
            NativeMethods.calib3d_composeRT_InputArray(rvec1.CvPtr, tvec1.CvPtr, rvec2.CvPtr, tvec2.CvPtr,
                rvec3.CvPtr, tvec3.CvPtr,
                ToPtr(dr3dr1), ToPtr(dr3dt1), ToPtr(dr3dr2), ToPtr(dr3dt2),
                ToPtr(dt3dr1), ToPtr(dt3dt1), ToPtr(dt3dr2), ToPtr(dt3dt2));
        }

Same methods

Cv2::ComposeRT ( double rvec1, double tvec1, double rvec2, double tvec2, double &rvec3, double &tvec3 ) : void
Cv2::ComposeRT ( double rvec1, double tvec1, double rvec2, double tvec2, double &rvec3, double &tvec3, double &dr3dr1, double &dr3dt1, double &dr3dr2, double &dr3dt2, double &dt3dr1, double &dt3dt1, double &dt3dr2, double &dt3dt2 ) : void
Cv2