コード例 #1
0
        //javadoc: SparsePyrLKOpticalFlow::create(winSize)
        public static SparsePyrLKOpticalFlow create(Size winSize)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            SparsePyrLKOpticalFlow retVal = SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_14(winSize.width, winSize.height));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //javadoc: SparsePyrLKOpticalFlow::create(winSize, maxLevel, crit)
        public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            SparsePyrLKOpticalFlow retVal = SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_12(winSize.width, winSize.height, maxLevel, crit.type, crit.maxCount, crit.epsilon));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #3
0
 public static SparsePyrLKOpticalFlow create()
 {
     return(SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_15()));
 }
コード例 #4
0
 public static SparsePyrLKOpticalFlow create(Size winSize)
 {
     return(SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_14(winSize.width, winSize.height)));
 }
コード例 #5
0
 public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel)
 {
     return(SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_13(winSize.width, winSize.height, maxLevel)));
 }
コード例 #6
0
 public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit)
 {
     return(SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_12(winSize.width, winSize.height, maxLevel, crit.type, crit.maxCount, crit.epsilon)));
 }
コード例 #7
0
        //
        // C++: static Ptr_SparsePyrLKOpticalFlow cv::SparsePyrLKOpticalFlow::create(Size winSize = Size(21, 21), int maxLevel = 3, TermCriteria crit = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4)
        //

        public static SparsePyrLKOpticalFlow create(Size winSize, int maxLevel, TermCriteria crit, int flags, double minEigThreshold)
        {
            return(SparsePyrLKOpticalFlow.__fromPtr__(video_SparsePyrLKOpticalFlow_create_10(winSize.width, winSize.height, maxLevel, crit.type, crit.maxCount, crit.epsilon, flags, minEigThreshold)));
        }