gab.opencv
Class Flow
java.lang.Object
gab.opencv.Flow
public class Flow
- extends Object
Flow
public Flow(PApplet parent)
width
public int width()
height
public int height()
hasFlow
public boolean hasFlow()
calculateOpticalFlow
public void calculateOpticalFlow(Mat m)
getTotalFlowInRegion
public PVector getTotalFlowInRegion(int x,
int y,
int w,
int h)
getAverageFlowInRegion
public PVector getAverageFlowInRegion(int x,
int y,
int w,
int h)
getTotalFlow
public PVector getTotalFlow()
getAverageFlow
public PVector getAverageFlow()
getFlowAt
public PVector getFlowAt(int x,
int y)
draw
public void draw()
setPyramidScale
public void setPyramidScale(double v)
getPyramidScale
public double getPyramidScale()
setLevels
public void setLevels(int n)
getLevels
public int getLevels()
setWindowSize
public void setWindowSize(int s)
getWindowSize
public int getWindowSize()
setIterations
public void setIterations(int i)
getIterations
public int getIterations()
setPolyN
public void setPolyN(int n)
getPolyN
public int getPolyN()
setPolySigma
public void setPolySigma(double s)
getPolySigma
public double getPolySigma()
Processing library opencv_processing by Greg Borenstein. (c) 2013