gab.opencv
Class Flow

java.lang.Object
  extended by gab.opencv.Flow

public class Flow
extends Object


Constructor Summary
Flow(PApplet parent)
           
 
Method Summary
 void calculateOpticalFlow(Mat m)
           
 void draw()
           
 PVector getAverageFlow()
           
 PVector getAverageFlowInRegion(int x, int y, int w, int h)
           
 PVector getFlowAt(int x, int y)
           
 int getIterations()
           
 int getLevels()
           
 int getPolyN()
           
 double getPolySigma()
           
 double getPyramidScale()
           
 PVector getTotalFlow()
           
 PVector getTotalFlowInRegion(int x, int y, int w, int h)
           
 int getWindowSize()
           
 boolean hasFlow()
           
 int height()
           
 void setIterations(int i)
           
 void setLevels(int n)
           
 void setPolyN(int n)
           
 void setPolySigma(double s)
           
 void setPyramidScale(double v)
           
 void setWindowSize(int s)
           
 int width()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flow

public Flow(PApplet parent)
Method Detail

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