Class Video


  • public class Video
    extends Object
    • Constructor Detail

      • Video

        public Video()
    • Method Detail

      • estimateRigidTransform

        public static Mat estimateRigidTransform​(Mat src,
                                                 Mat dst,
                                                 boolean fullAffine,
                                                 int ransacMaxIters,
                                                 double ransacGoodRatio,
                                                 int ransacSize0)
      • estimateRigidTransform

        public static Mat estimateRigidTransform​(Mat src,
                                                 Mat dst,
                                                 boolean fullAffine)
      • createBackgroundSubtractorKNN

        public static BackgroundSubtractorKNN createBackgroundSubtractorKNN​(int history,
                                                                            double dist2Threshold,
                                                                            boolean detectShadows)
      • createBackgroundSubtractorKNN

        public static BackgroundSubtractorKNN createBackgroundSubtractorKNN​(int history,
                                                                            double dist2Threshold)
      • createBackgroundSubtractorKNN

        public static BackgroundSubtractorKNN createBackgroundSubtractorKNN​(int history)
      • createBackgroundSubtractorMOG2

        public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2​(int history,
                                                                              double varThreshold,
                                                                              boolean detectShadows)
      • createBackgroundSubtractorMOG2

        public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2​(int history,
                                                                              double varThreshold)
      • createBackgroundSubtractorMOG2

        public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2​(int history)
      • findTransformECC

        public static double findTransformECC​(Mat templateImage,
                                              Mat inputImage,
                                              Mat warpMatrix,
                                              int motionType,
                                              TermCriteria criteria,
                                              Mat inputMask)
      • findTransformECC

        public static double findTransformECC​(Mat templateImage,
                                              Mat inputImage,
                                              Mat warpMatrix,
                                              int motionType,
                                              TermCriteria criteria)
      • findTransformECC

        public static double findTransformECC​(Mat templateImage,
                                              Mat inputImage,
                                              Mat warpMatrix,
                                              int motionType)
      • findTransformECC

        public static double findTransformECC​(Mat templateImage,
                                              Mat inputImage,
                                              Mat warpMatrix)
      • buildOpticalFlowPyramid

        public static int buildOpticalFlowPyramid​(Mat img,
                                                  List<Mat> pyramid,
                                                  Size winSize,
                                                  int maxLevel,
                                                  boolean withDerivatives,
                                                  int pyrBorder,
                                                  int derivBorder,
                                                  boolean tryReuseInputImage)
      • buildOpticalFlowPyramid

        public static int buildOpticalFlowPyramid​(Mat img,
                                                  List<Mat> pyramid,
                                                  Size winSize,
                                                  int maxLevel,
                                                  boolean withDerivatives,
                                                  int pyrBorder,
                                                  int derivBorder)
      • buildOpticalFlowPyramid

        public static int buildOpticalFlowPyramid​(Mat img,
                                                  List<Mat> pyramid,
                                                  Size winSize,
                                                  int maxLevel,
                                                  boolean withDerivatives,
                                                  int pyrBorder)
      • buildOpticalFlowPyramid

        public static int buildOpticalFlowPyramid​(Mat img,
                                                  List<Mat> pyramid,
                                                  Size winSize,
                                                  int maxLevel,
                                                  boolean withDerivatives)
      • buildOpticalFlowPyramid

        public static int buildOpticalFlowPyramid​(Mat img,
                                                  List<Mat> pyramid,
                                                  Size winSize,
                                                  int maxLevel)
      • meanShift

        public static int meanShift​(Mat probImage,
                                    Rect window,
                                    TermCriteria criteria)
      • calcOpticalFlowFarneback

        public static void calcOpticalFlowFarneback​(Mat prev,
                                                    Mat next,
                                                    Mat flow,
                                                    double pyr_scale,
                                                    int levels,
                                                    int winsize,
                                                    int iterations,
                                                    int poly_n,
                                                    double poly_sigma,
                                                    int flags)