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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FarnebackOpticalFlow(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.video.DenseOpticalFlow
calc, collectGarbage
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static FarnebackOpticalFlow __fromPtr__(long addr)
-
getNumLevels
public int getNumLevels()
-
setNumLevels
public void setNumLevels(int numLevels)
-
getPyrScale
public double getPyrScale()
-
setPyrScale
public void setPyrScale(double pyrScale)
-
getFastPyramids
public boolean getFastPyramids()
-
setFastPyramids
public void setFastPyramids(boolean fastPyramids)
-
getWinSize
public int getWinSize()
-
setWinSize
public void setWinSize(int winSize)
-
getNumIters
public int getNumIters()
-
setNumIters
public void setNumIters(int numIters)
-
getPolyN
public int getPolyN()
-
setPolyN
public void setPolyN(int polyN)
-
getPolySigma
public double getPolySigma()
-
setPolySigma
public void setPolySigma(double polySigma)
-
getFlags
public int getFlags()
-
setFlags
public void setFlags(int flags)
-
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
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, boolean fastPyramids)
-
create
public static FarnebackOpticalFlow create(int numLevels, double pyrScale)
-
create
public static FarnebackOpticalFlow create(int numLevels)
-
create
public static FarnebackOpticalFlow create()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classDenseOpticalFlow
- Throws:
java.lang.Throwable
-
-