예제 #1
0
        //
        // C++: static Ptr_DescriptorMatcher cv::DescriptorMatcher::create(DescriptorMatcher_MatcherType matcherType)
        //

        //javadoc: DescriptorMatcher::create(matcherType)
        public static DescriptorMatcher create(int matcherType)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DescriptorMatcher retVal = DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_create_10(matcherType));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #2
0
        //javadoc: DescriptorMatcher::clone()
        public DescriptorMatcher clone()
        {
            ThrowIfDisposed();
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DescriptorMatcher retVal = DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_clone_11(nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #3
0
        //
        // C++: static Ptr_DescriptorMatcher cv::DescriptorMatcher::create(DescriptorMatcher_MatcherType matcherType)
        //

        public static DescriptorMatcher create(int matcherType)
        {
            return(DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_create_10(matcherType)));
        }
예제 #4
0
        /**
         * Clones the matcher.
         *
         *     that is, copies both parameters and train data. If emptyTrainData is true, the method creates an
         *     object copy with the current parameters but with empty train data.
         * return automatically generated
         */
        public DescriptorMatcher clone()
        {
            ThrowIfDisposed();

            return(DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_clone_11(nativeObj)));
        }
예제 #5
0
        //
        // C++:  Ptr_DescriptorMatcher cv::DescriptorMatcher::clone(bool emptyTrainData = false)
        //

        /**
         * Clones the matcher.
         *
         *     param emptyTrainData If emptyTrainData is false, the method creates a deep copy of the object,
         *     that is, copies both parameters and train data. If emptyTrainData is true, the method creates an
         *     object copy with the current parameters but with empty train data.
         * return automatically generated
         */
        public DescriptorMatcher clone(bool emptyTrainData)
        {
            ThrowIfDisposed();

            return(DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_clone_10(nativeObj, emptyTrainData)));
        }
예제 #6
0
        //
        // C++: static Ptr_DescriptorMatcher cv::DescriptorMatcher::create(String descriptorMatcherType)
        //

        /**
         * Creates a descriptor matcher of a given type with the default parameters (using default
         *     constructor).
         *
         *     param descriptorMatcherType Descriptor matcher type. Now the following matcher types are
         *     supported:
         * <ul>
         *   <li>
         *        {code BruteForce} (it uses L2 )
         *   </li>
         *   <li>
         *        {code BruteForce-L1}
         *   </li>
         *   <li>
         *        {code BruteForce-Hamming}
         *   </li>
         *   <li>
         *        {code BruteForce-Hamming(2)}
         *   </li>
         *   <li>
         *        {code FlannBased}
         *   </li>
         * </ul>
         * return automatically generated
         */
        public static DescriptorMatcher create(string descriptorMatcherType)
        {
            return(DescriptorMatcher.__fromPtr__(features2d_DescriptorMatcher_create_11(descriptorMatcherType)));
        }