public class VariationalRefinement extends DenseOpticalFlow
Modifier | Constructor and Description |
---|---|
protected |
VariationalRefinement(long addr) |
Modifier and Type | Method and Description |
---|---|
static VariationalRefinement |
__fromPtr__(long addr) |
void |
calcUV(Mat I0,
Mat I1,
Mat flow_u,
Mat flow_v)
REF: calc function overload to handle separate horizontal (u) and vertical (v) flow components
(to avoid extra splits/merges)
|
static VariationalRefinement |
create()
Creates an instance of VariationalRefinement
|
protected void |
finalize() |
float |
getAlpha()
Weight of the smoothness term
SEE: setAlpha
|
float |
getDelta()
Weight of the color constancy term
SEE: setDelta
|
int |
getFixedPointIterations()
Number of outer (fixed-point) iterations in the minimization procedure.
|
float |
getGamma()
Weight of the gradient constancy term
SEE: setGamma
|
float |
getOmega()
Relaxation factor in SOR
SEE: setOmega
|
int |
getSorIterations()
Number of inner successive over-relaxation (SOR) iterations
in the minimization procedure to solve the respective linear system.
|
void |
setAlpha(float val)
getAlpha SEE: getAlpha
|
void |
setDelta(float val)
getDelta SEE: getDelta
|
void |
setFixedPointIterations(int val)
getFixedPointIterations SEE: getFixedPointIterations
|
void |
setGamma(float val)
getGamma SEE: getGamma
|
void |
setOmega(float val)
getOmega SEE: getOmega
|
void |
setSorIterations(int val)
getSorIterations SEE: getSorIterations
|
calc, collectGarbage
clear, empty, getDefaultName, getNativeObjAddr, save
public static VariationalRefinement __fromPtr__(long addr)
public static VariationalRefinement create()
public float getAlpha()
public float getDelta()
public float getGamma()
public float getOmega()
public int getFixedPointIterations()
public int getSorIterations()
public void calcUV(Mat I0, Mat I1, Mat flow_u, Mat flow_v)
I0
- automatically generatedI1
- automatically generatedflow_u
- automatically generatedflow_v
- automatically generatedpublic void setAlpha(float val)
val
- automatically generatedpublic void setDelta(float val)
val
- automatically generatedpublic void setFixedPointIterations(int val)
val
- automatically generatedpublic void setGamma(float val)
val
- automatically generatedpublic void setOmega(float val)
val
- automatically generatedpublic void setSorIterations(int val)
val
- automatically generatedprotected void finalize() throws Throwable
finalize
in class DenseOpticalFlow
Throwable
Copyright © 2020. All rights reserved.