public class Video
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MOTION_AFFINE |
static int |
MOTION_EUCLIDEAN |
static int |
MOTION_HOMOGRAPHY |
static int |
MOTION_TRANSLATION |
static int |
OPTFLOW_FARNEBACK_GAUSSIAN |
static int |
OPTFLOW_LK_GET_MIN_EIGENVALS |
static int |
OPTFLOW_USE_INITIAL_FLOW |
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
static int |
buildOpticalFlowPyramid(Mat img,
java.util.List<Mat> pyramid,
Size winSize,
int maxLevel) |
static int |
buildOpticalFlowPyramid(Mat img,
java.util.List<Mat> pyramid,
Size winSize,
int maxLevel,
boolean withDerivatives,
int pyrBorder,
int derivBorder,
boolean tryReuseInputImage) |
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) |
static void |
calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err) |
static void |
calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel) |
static void |
calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel,
TermCriteria criteria,
int flags,
double minEigThreshold) |
static RotatedRect |
CamShift(Mat probImage,
Rect window,
TermCriteria criteria) |
static BackgroundSubtractorKNN |
createBackgroundSubtractorKNN() |
static BackgroundSubtractorKNN |
createBackgroundSubtractorKNN(int history,
double dist2Threshold,
boolean detectShadows) |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2() |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2(int history,
double varThreshold,
boolean detectShadows) |
static DualTVL1OpticalFlow |
createOptFlow_DualTVL1() |
static Mat |
estimateRigidTransform(Mat src,
Mat dst,
boolean fullAffine) |
static double |
findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix) |
static double |
findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType) |
static double |
findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType,
TermCriteria criteria,
Mat inputMask) |
static int |
meanShift(Mat probImage,
Rect window,
TermCriteria criteria) |
public static final int MOTION_AFFINE
public static final int MOTION_EUCLIDEAN
public static final int MOTION_HOMOGRAPHY
public static final int MOTION_TRANSLATION
public static final int OPTFLOW_FARNEBACK_GAUSSIAN
public static final int OPTFLOW_LK_GET_MIN_EIGENVALS
public static final int OPTFLOW_USE_INITIAL_FLOW
public static int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel)
public static int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel, boolean withDerivatives, int pyrBorder, int derivBorder, boolean tryReuseInputImage)
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)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)
public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN()
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history, double dist2Threshold, boolean detectShadows)
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2()
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history, double varThreshold, boolean detectShadows)
public static DualTVL1OpticalFlow createOptFlow_DualTVL1()
public static Mat estimateRigidTransform(Mat src, Mat dst, boolean fullAffine)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType, TermCriteria criteria, Mat inputMask)
public static int meanShift(Mat probImage, Rect window, TermCriteria criteria)