View Source Evision.VariationalRefinement (Evision v0.1.11)
Link to this section Summary
Types
Type that represents an Evision.VariationalRefinement
struct.
Functions
@ref calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
Creates an instance of VariationalRefinement
Weight of the smoothness term
Weight of the color constancy term
Number of outer (fixed-point) iterations in the minimization procedure.
Weight of the gradient constancy term
Relaxation factor in SOR
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
Link to this section Types
@type t() :: %Evision.VariationalRefinement{ref: reference()}
Type that represents an Evision.VariationalRefinement
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec calcUV( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
@ref calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
Positional Arguments
- i0:
Evision.Mat
- i1:
Evision.Mat
Return
- flow_u:
Evision.Mat
- flow_v:
Evision.Mat
Python prototype (for reference):
calcUV(I0, I1, flow_u, flow_v) -> flow_u, flow_v
Creates an instance of VariationalRefinement
Return
- retval:
Evision.VariationalRefinement
Python prototype (for reference):
create() -> retval
Weight of the smoothness term
Return
- retval:
float
@see setAlpha/2
Python prototype (for reference):
getAlpha() -> retval
Weight of the color constancy term
Return
- retval:
float
@see setDelta/2
Python prototype (for reference):
getDelta() -> retval
Number of outer (fixed-point) iterations in the minimization procedure.
Return
- retval:
int
@see setFixedPointIterations/2
Python prototype (for reference):
getFixedPointIterations() -> retval
Weight of the gradient constancy term
Return
- retval:
float
@see setGamma/2
Python prototype (for reference):
getGamma() -> retval
Relaxation factor in SOR
Return
- retval:
float
@see setOmega/2
Python prototype (for reference):
getOmega() -> retval
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
Return
- retval:
int
@see setSorIterations/2
Python prototype (for reference):
getSorIterations() -> retval
Positional Arguments
- val:
float
@see getAlpha/1
Python prototype (for reference):
setAlpha(val) -> None
Positional Arguments
- val:
float
@see getDelta/1
Python prototype (for reference):
setDelta(val) -> None
Positional Arguments
- val:
int
@see getFixedPointIterations/1
Python prototype (for reference):
setFixedPointIterations(val) -> None
Positional Arguments
- val:
float
@see getGamma/1
Python prototype (for reference):
setGamma(val) -> None
Positional Arguments
- val:
float
@see getOmega/1
Python prototype (for reference):
setOmega(val) -> None
Positional Arguments
- val:
int
@see getSorIterations/1
Python prototype (for reference):
setSorIterations(val) -> None