Ejemplo n.º 1
0
        //javadoc: LATCH::create()
        public static LATCH create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            LATCH retVal = LATCH.__fromPtr__(xfeatures2d_LATCH_create_11());

            return(retVal);
#else
            return(null);
#endif
        }
Ejemplo n.º 2
0
        //
        // C++: static Ptr_LATCH create(int bytes = 32, bool rotationInvariance = true, int half_ssd_size = 3, double sigma = 2.0)
        //

        //javadoc: LATCH::create(bytes, rotationInvariance, half_ssd_size, sigma)
        public static LATCH create(int bytes, bool rotationInvariance, int half_ssd_size, double sigma)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            LATCH retVal = LATCH.__fromPtr__(xfeatures2d_LATCH_create_10(bytes, rotationInvariance, half_ssd_size, sigma));

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