예제 #1
0
        //
        // C++: static Ptr_FREAK cv::xfeatures2d::FREAK::create(bool orientationNormalized = true, bool scaleNormalized = true, float patternScale = 22.0f, int nOctaves = 4, vector_int selectedPairs = std::vector<int>())
        //

        /**
         * param orientationNormalized Enable orientation normalization.
         *     param scaleNormalized Enable scale normalization.
         *     param patternScale Scaling of the description pattern.
         *     param nOctaves Number of octaves covered by the detected keypoints.
         *     param selectedPairs (Optional) user defined selected pairs indexes,
         * return automatically generated
         */
        public static FREAK create(bool orientationNormalized, bool scaleNormalized, float patternScale, int nOctaves, MatOfInt selectedPairs)
        {
            if (selectedPairs != null)
            {
                selectedPairs.ThrowIfDisposed();
            }
            Mat selectedPairs_mat = selectedPairs;

            return(FREAK.__fromPtr__(xfeatures2d_FREAK_create_10(orientationNormalized, scaleNormalized, patternScale, nOctaves, selectedPairs_mat.nativeObj)));
        }
예제 #2
0
        //javadoc: FREAK::create(orientationNormalized, scaleNormalized)
        public static FREAK create(bool orientationNormalized, bool scaleNormalized)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FREAK retVal = FREAK.__fromPtr__(xfeatures2d_FREAK_create_13(orientationNormalized, scaleNormalized));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #3
0
        //javadoc: FREAK::create()
        public static FREAK create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FREAK retVal = FREAK.__fromPtr__(xfeatures2d_FREAK_create_15());

            return(retVal);
#else
            return(null);
#endif
        }
예제 #4
0
        //
        // C++: static Ptr_FREAK cv::xfeatures2d::FREAK::create(bool orientationNormalized = true, bool scaleNormalized = true, float patternScale = 22.0f, int nOctaves = 4, vector_int selectedPairs = std::vector<int>())
        //

        //javadoc: FREAK::create(orientationNormalized, scaleNormalized, patternScale, nOctaves, selectedPairs)
        public static FREAK create(bool orientationNormalized, bool scaleNormalized, float patternScale, int nOctaves, MatOfInt selectedPairs)
        {
            if (selectedPairs != null)
            {
                selectedPairs.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Mat   selectedPairs_mat = selectedPairs;
            FREAK retVal            = FREAK.__fromPtr__(xfeatures2d_FREAK_create_10(orientationNormalized, scaleNormalized, patternScale, nOctaves, selectedPairs_mat.nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #5
0
 public FREAK(OpenCVForUnity.Xfeatures2dModule.FREAK nativeObj) : base(nativeObj)
 {
 }
예제 #6
0
 /**
  * param orientationNormalized Enable orientation normalization.
  *     param scaleNormalized Enable scale normalization.
  *     param patternScale Scaling of the description pattern.
  *     param nOctaves Number of octaves covered by the detected keypoints.
  * return automatically generated
  */
 public static FREAK create(bool orientationNormalized, bool scaleNormalized, float patternScale, int nOctaves)
 {
     return(FREAK.__fromPtr__(xfeatures2d_FREAK_create_11(orientationNormalized, scaleNormalized, patternScale, nOctaves)));
 }
예제 #7
0
 /**
  * return automatically generated
  */
 public static FREAK create()
 {
     return(FREAK.__fromPtr__(xfeatures2d_FREAK_create_15()));
 }
예제 #8
0
 /**
  * param orientationNormalized Enable orientation normalization.
  * return automatically generated
  */
 public static FREAK create(bool orientationNormalized)
 {
     return(FREAK.__fromPtr__(xfeatures2d_FREAK_create_14(orientationNormalized)));
 }