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) |
static int |
buildOpticalFlowPyramid(Mat img,
java.util.List<Mat> pyramid,
Size winSize,
int maxLevel,
boolean withDerivatives,
int pyrBorder) |
static int |
buildOpticalFlowPyramid(Mat img,
java.util.List<Mat> pyramid,
Size winSize,
int maxLevel,
boolean withDerivatives,
int pyrBorder,
int derivBorder) |
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) |
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) |
static void |
calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel,
TermCriteria criteria,
int flags) |
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) |
static BackgroundSubtractorKNN |
createBackgroundSubtractorKNN(int history,
double dist2Threshold) |
static BackgroundSubtractorKNN |
createBackgroundSubtractorKNN(int history,
double dist2Threshold,
boolean detectShadows) |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2() |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2(int history) |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2(int history,
double varThreshold) |
static BackgroundSubtractorMOG2 |
createBackgroundSubtractorMOG2(int history,
double varThreshold,
boolean detectShadows) |
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) |
static double |
findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType,
TermCriteria criteria,
Mat inputMask) |
static int |
meanShift(Mat probImage,
Rect window,
TermCriteria criteria) |
static Mat |
readOpticalFlow(java.lang.String path) |
static boolean |
writeOpticalFlow(java.lang.String path,
Mat flow) |
public static final int OPTFLOW_USE_INITIAL_FLOW
public static final int OPTFLOW_LK_GET_MIN_EIGENVALS
public static final int OPTFLOW_FARNEBACK_GAUSSIAN
public static final int MOTION_TRANSLATION
public static final int MOTION_EUCLIDEAN
public static final int MOTION_AFFINE
public static final int MOTION_HOMOGRAPHY
public static Mat readOpticalFlow(java.lang.String path)
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history, double dist2Threshold, boolean detectShadows)
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history, double dist2Threshold)
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history)
public static BackgroundSubtractorKNN createBackgroundSubtractorKNN()
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history, double varThreshold, boolean detectShadows)
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history, double varThreshold)
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history)
public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2()
public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
public static boolean writeOpticalFlow(java.lang.String path, Mat flow)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType, TermCriteria criteria, Mat inputMask)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType, TermCriteria criteria)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType)
public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix)
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 int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel, boolean withDerivatives, int pyrBorder, int derivBorder)
public static int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel, boolean withDerivatives, int pyrBorder)
public static int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel, boolean withDerivatives)
public static int buildOpticalFlowPyramid(Mat img, java.util.List<Mat> pyramid, Size winSize, int maxLevel)
public static int meanShift(Mat probImage, Rect window, TermCriteria criteria)
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, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria)
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)
public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err)
Generated on Sun Nov 18 2018 11:54:12 UTC / OpenCV 4.0.0