コード例 #1
0
        //javadoc: AKAZE::create(descriptor_type, descriptor_size, descriptor_channels, threshold)
        public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AKAZE retVal = AKAZE.__fromPtr__(features2d_AKAZE_create_13(descriptor_type, descriptor_size, descriptor_channels, threshold));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //javadoc: AKAZE::create()
        public static AKAZE create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AKAZE retVal = AKAZE.__fromPtr__(features2d_AKAZE_create_17());

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