Exemplo n.º 1
0
        //
        // C++:  Ptr_DualTVL1OpticalFlow createOptFlow_DualTVL1()
        //

        //javadoc: createOptFlow_DualTVL1()
        public static DualTVL1OpticalFlow createOptFlow_DualTVL1()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DualTVL1OpticalFlow retVal = DualTVL1OpticalFlow.__fromPtr__(video_Video_createOptFlow_1DualTVL1_10());

            return(retVal);
#else
            return(null);
#endif
        }
        //javadoc: DualTVL1OpticalFlow::create(tau, lambda)
        public static DualTVL1OpticalFlow create(double tau, double lambda)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DualTVL1OpticalFlow retVal = DualTVL1OpticalFlow.__fromPtr__(video_DualTVL1OpticalFlow_create_110(tau, lambda));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 3
0
        //
        // C++: static Ptr_DualTVL1OpticalFlow create(double tau = 0.25, double lambda = 0.15, double theta = 0.3, int nscales = 5, int warps = 5, double epsilon = 0.01, int innnerIterations = 30, int outerIterations = 10, double scaleStep = 0.8, double gamma = 0.0, int medianFiltering = 5, bool useInitialFlow = false)
        //

        //javadoc: DualTVL1OpticalFlow::create(tau, lambda, theta, nscales, warps, epsilon, innnerIterations, outerIterations, scaleStep, gamma, medianFiltering, useInitialFlow)
        public static DualTVL1OpticalFlow create(double tau, double lambda, double theta, int nscales, int warps, double epsilon, int innnerIterations, int outerIterations, double scaleStep, double gamma, int medianFiltering, bool useInitialFlow)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DualTVL1OpticalFlow retVal = DualTVL1OpticalFlow.__fromPtr__(video_DualTVL1OpticalFlow_create_10(tau, lambda, theta, nscales, warps, epsilon, innnerIterations, outerIterations, scaleStep, gamma, medianFiltering, useInitialFlow));

            return(retVal);
#else
            return(null);
#endif
        }
        //javadoc: DualTVL1OpticalFlow::create(tau, lambda, theta, nscales, warps, epsilon)
        public static DualTVL1OpticalFlow create(double tau, double lambda, double theta, int nscales, int warps, double epsilon)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DualTVL1OpticalFlow retVal = DualTVL1OpticalFlow.__fromPtr__(video_DualTVL1OpticalFlow_create_16(tau, lambda, theta, nscales, warps, epsilon));

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