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 protectedFarnebackOpticalFlow(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FarnebackOpticalFlow__fromPtr__(long addr)static FarnebackOpticalFlowcreate()static FarnebackOpticalFlowcreate(int numLevels)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma)static FarnebackOpticalFlowcreate(int numLevels, double pyrScale, boolean fastPyramids, int winSize, int numIters, int polyN, double polySigma, int flags)protected voidfinalize()booleangetFastPyramids()intgetFlags()intgetNumIters()intgetNumLevels()intgetPolyN()doublegetPolySigma()doublegetPyrScale()intgetWinSize()voidsetFastPyramids(boolean fastPyramids)voidsetFlags(int flags)voidsetNumIters(int numIters)voidsetNumLevels(int numLevels)voidsetPolyN(int polyN)voidsetPolySigma(double polySigma)voidsetPyrScale(double pyrScale)voidsetWinSize(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)
-
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()
-
getFastPyramids
public boolean getFastPyramids()
-
getPolySigma
public double getPolySigma()
-
getPyrScale
public double getPyrScale()
-
getFlags
public int getFlags()
-
getNumIters
public int getNumIters()
-
getNumLevels
public int getNumLevels()
-
getPolyN
public int getPolyN()
-
getWinSize
public int getWinSize()
-
setFastPyramids
public void setFastPyramids(boolean fastPyramids)
-
setFlags
public void setFlags(int flags)
-
setNumIters
public void setNumIters(int numIters)
-
setNumLevels
public void setNumLevels(int numLevels)
-
setPolyN
public void setPolyN(int polyN)
-
setPolySigma
public void setPolySigma(double polySigma)
-
setPyrScale
public void setPyrScale(double pyrScale)
-
setWinSize
public void setWinSize(int winSize)
-
finalize
protected void finalize() throws Throwable- Overrides:
finalizein classDenseOpticalFlow- Throws:
Throwable
-
-