Package org.opencv.video
Class FarnebackOpticalFlow
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.DenseOpticalFlow
org.opencv.video.FarnebackOpticalFlow
public class FarnebackOpticalFlow extends DenseOpticalFlow
Class computing a dense optical flow using the Gunnar Farneback's algorithm.
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
FarnebackOpticalFlow(long addr)
-
Method Summary
Modifier and Type Method Description static FarnebackOpticalFlow
__fromPtr__(long addr)
static FarnebackOpticalFlow
create()
static FarnebackOpticalFlow
create(int numLevels)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)
static FarnebackOpticalFlow
create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)
protected void
finalize()
boolean
getFastPyramids()
int
getFlags()
int
getNumIters()
int
getNumLevels()
int
getPolyN()
double
getPolySigma()
double
getPyrScale()
int
getWinSize()
void
setFastPyramids(boolean fastPyramids)
void
setFlags(int flags)
void
setNumIters(int numIters)
void
setNumLevels(int numLevels)
void
setPolyN(int polyN)
void
setPolySigma(double polySigma)
void
setPyrScale(double pyrScale)
void
setWinSize(int winSize)
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Constructor Details
-
Method Details
-
__fromPtr__
-
getNumLevels
-
setNumLevels
-
getPyrScale
-
setPyrScale
-
getFastPyramids
-
setFastPyramids
-
getWinSize
-
setWinSize
-
getNumIters
-
setNumIters
-
getPolyN
-
setPolyN
-
getPolySigma
-
setPolySigma
-
getFlags
-
setFlags
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags) -
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma) -
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN) -
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters) -
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids, int winSize) -
create
-
create
-
create
-
create
-
finalize
- Overrides:
finalize
in classDenseOpticalFlow
- Throws:
Throwable
-