コード例 #1
0
        //javadoc: FastFeatureDetector::create()
        public static FastFeatureDetector create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_11());

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //
        // C++: static Ptr_FastFeatureDetector create(int threshold = 10, bool nonmaxSuppression = true, int type = FastFeatureDetector::TYPE_9_16)
        //

        //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression, type)
        public static FastFeatureDetector create(int threshold, bool nonmaxSuppression, int type)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_10(threshold, nonmaxSuppression, type));

            return(retVal);
#else
            return(null);
#endif
        }