Package org.opencv.video
Class FarnebackOpticalFlow
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.DenseOpticalFlow
org.opencv.video.FarnebackOpticalFlow
Class computing a dense optical flow using the Gunnar Farneback's algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) booleanintgetFlags()intintintgetPolyN()doubledoubleintvoidsetFastPyramids(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, collectGarbageMethods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Method Details
-
__fromPtr__
-
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
-
create
-
create
-
create
-