Esempio n. 1
0
        //
        // C++: static Ptr_AffineFeature cv::AffineFeature::create(Ptr_Feature2D backend, int maxTilt = 5, int minTilt = 0, float tiltStep = 1.4142135623730951f, float rotateStepBase = 72)
        //

        /**
         * param backend The detector/extractor you want to use as backend.
         *     param maxTilt The highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
         *     param minTilt The lowest power index of tilt factor. 0 is used in the paper.
         *     param tiltStep Tilt sampling step \(\delta_t\) in Algorithm 1 in the paper.
         *     param rotateStepBase Rotation sampling step factor b in Algorithm 1 in the paper.
         * return automatically generated
         */
        public static AffineFeature create(Feature2D backend, int maxTilt, int minTilt, float tiltStep, float rotateStepBase)
        {
            if (backend != null)
            {
                backend.ThrowIfDisposed();
            }

            return(AffineFeature.__fromPtr__(features2d_AffineFeature_create_10(backend.getNativeObjAddr(), maxTilt, minTilt, tiltStep, rotateStepBase)));
        }
Esempio n. 2
0
        /**
         * param backend The detector/extractor you want to use as backend.
         *     param maxTilt The highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.
         *     param minTilt The lowest power index of tilt factor. 0 is used in the paper.
         * return automatically generated
         */
        public static AffineFeature create(Feature2D backend, int maxTilt, int minTilt)
        {
            if (backend != null)
            {
                backend.ThrowIfDisposed();
            }

            return(AffineFeature.__fromPtr__(features2d_AffineFeature_create_12(backend.getNativeObjAddr(), maxTilt, minTilt)));
        }
Esempio n. 3
0
        /**
         * param backend The detector/extractor you want to use as backend.
         * return automatically generated
         */
        public static AffineFeature create(Feature2D backend)
        {
            if (backend != null)
            {
                backend.ThrowIfDisposed();
            }

            return(AffineFeature.__fromPtr__(features2d_AffineFeature_create_14(backend.getNativeObjAddr())));
        }