Exemple #1
0
        //
        // C++:  void cv::omnidir::projectPoints(vector_Point3f objectPoints, vector_Point2f& imagePoints, Mat rvec, Mat tvec, Mat K, double xi, Mat D, Mat& jacobian = Mat())
        //

        //javadoc: projectPoints(objectPoints, imagePoints, rvec, tvec, K, xi, D, jacobian)
        public static void projectPoints(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat rvec, Mat tvec, Mat K, double xi, Mat D, Mat jacobian)
        {
            if (objectPoints != null)
            {
                objectPoints.ThrowIfDisposed();
            }
            if (imagePoints != null)
            {
                imagePoints.ThrowIfDisposed();
            }
            if (rvec != null)
            {
                rvec.ThrowIfDisposed();
            }
            if (tvec != null)
            {
                tvec.ThrowIfDisposed();
            }
            if (K != null)
            {
                K.ThrowIfDisposed();
            }
            if (D != null)
            {
                D.ThrowIfDisposed();
            }
            if (jacobian != null)
            {
                jacobian.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Mat objectPoints_mat = objectPoints;
            Mat imagePoints_mat  = imagePoints;
            ccalib_Ccalib_projectPoints_10(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, K.nativeObj, xi, D.nativeObj, jacobian.nativeObj);

            return;
#else
            return;
#endif
        }