Package org.opencv.video
Class DISOpticalFlow
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.video.DenseOpticalFlow
-
- org.opencv.video.DISOpticalFlow
-
public class DISOpticalFlow extends DenseOpticalFlow
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRESET_FAST
static int
PRESET_MEDIUM
static int
PRESET_ULTRAFAST
-
Constructor Summary
Constructors Modifier Constructor Description protected
DISOpticalFlow(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DISOpticalFlow
__fromPtr__(long addr)
static DISOpticalFlow
create()
static DISOpticalFlow
create(int preset)
protected void
finalize()
int
getFinestScale()
int
getGradientDescentIterations()
int
getPatchSize()
int
getPatchStride()
boolean
getUseMeanNormalization()
boolean
getUseSpatialPropagation()
float
getVariationalRefinementAlpha()
float
getVariationalRefinementDelta()
float
getVariationalRefinementGamma()
int
getVariationalRefinementIterations()
void
setFinestScale(int val)
void
setGradientDescentIterations(int val)
void
setPatchSize(int val)
void
setPatchStride(int val)
void
setUseMeanNormalization(boolean val)
void
setUseSpatialPropagation(boolean val)
void
setVariationalRefinementAlpha(float val)
void
setVariationalRefinementDelta(float val)
void
setVariationalRefinementGamma(float val)
void
setVariationalRefinementIterations(int val)
-
Methods inherited from class org.opencv.video.DenseOpticalFlow
calc, collectGarbage
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Field Detail
-
PRESET_ULTRAFAST
public static final int PRESET_ULTRAFAST
- See Also:
- Constant Field Values
-
PRESET_FAST
public static final int PRESET_FAST
- See Also:
- Constant Field Values
-
PRESET_MEDIUM
public static final int PRESET_MEDIUM
- See Also:
- Constant Field Values
-
-
Method Detail
-
__fromPtr__
public static DISOpticalFlow __fromPtr__(long addr)
-
create
public static DISOpticalFlow create(int preset)
-
create
public static DISOpticalFlow create()
-
getUseMeanNormalization
public boolean getUseMeanNormalization()
-
getUseSpatialPropagation
public boolean getUseSpatialPropagation()
-
getVariationalRefinementAlpha
public float getVariationalRefinementAlpha()
-
getVariationalRefinementDelta
public float getVariationalRefinementDelta()
-
getVariationalRefinementGamma
public float getVariationalRefinementGamma()
-
getFinestScale
public int getFinestScale()
-
getGradientDescentIterations
public int getGradientDescentIterations()
-
getPatchSize
public int getPatchSize()
-
getPatchStride
public int getPatchStride()
-
getVariationalRefinementIterations
public int getVariationalRefinementIterations()
-
setFinestScale
public void setFinestScale(int val)
-
setGradientDescentIterations
public void setGradientDescentIterations(int val)
-
setPatchSize
public void setPatchSize(int val)
-
setPatchStride
public void setPatchStride(int val)
-
setUseMeanNormalization
public void setUseMeanNormalization(boolean val)
-
setUseSpatialPropagation
public void setUseSpatialPropagation(boolean val)
-
setVariationalRefinementAlpha
public void setVariationalRefinementAlpha(float val)
-
setVariationalRefinementDelta
public void setVariationalRefinementDelta(float val)
-
setVariationalRefinementGamma
public void setVariationalRefinementGamma(float val)
-
setVariationalRefinementIterations
public void setVariationalRefinementIterations(int val)
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classDenseOpticalFlow
- Throws:
java.lang.Throwable
-
-