Esempio n. 1
0
        //javadoc: FarnebackOpticalFlow::create()
        public static FarnebackOpticalFlow create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_18());

            return(retVal);
#else
            return(null);
#endif
        }
Esempio n. 2
0
        //javadoc: FarnebackOpticalFlow::create(numLevels, pyrScale, fastPyramids, winSize)
        public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids, int winSize)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_14(numLevels, pyrScale, fastPyramids, winSize));

            return(retVal);
#else
            return(null);
#endif
        }
 public static FarnebackOpticalFlow create()
 {
     return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_18()));
 }
 public static FarnebackOpticalFlow create(int numLevels)
 {
     return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_17(numLevels)));
 }
 public static FarnebackOpticalFlow create(int numLevels, double pyrScale)
 {
     return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_16(numLevels, pyrScale)));
 }
 public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids)
 {
     return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_15(numLevels, pyrScale, fastPyramids)));
 }
 public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters, int polyN)
 {
     return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_12(numLevels, pyrScale, fastPyramids, winSize, numIters, polyN)));
 }