View Source Evision.VariationalRefinement (Evision v0.2.9)
Summary
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
Norm value shift for robust penalizer
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.
setAlpha
setDelta
setEpsilon
setFixedPointIterations
setGamma
setOmega
setSorIterations
Types
@type t() :: %Evision.VariationalRefinement{ref: reference()}
Type that represents an VariationalRefinement
struct.
ref.
reference()
The underlying erlang resource variable.
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
- self:
Evision.VariationalRefinement.t()
- i0:
Evision.Mat
- i1:
Evision.Mat
Return
- flow_u:
Evision.Mat.t()
- flow_v:
Evision.Mat.t()
Python prototype (for reference only):
calcUV(I0, I1, flow_u, flow_v) -> flow_u, flow_v
Creates an instance of VariationalRefinement
Return
- retval:
Evision.VariationalRefinement.t()
Python prototype (for reference only):
create() -> retval
@spec getAlpha(Keyword.t()) :: any() | {:error, String.t()}
@spec getAlpha(t()) :: number() | {:error, String.t()}
Weight of the smoothness term
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
float
@see setAlpha/2
Python prototype (for reference only):
getAlpha() -> retval
@spec getDelta(Keyword.t()) :: any() | {:error, String.t()}
@spec getDelta(t()) :: number() | {:error, String.t()}
Weight of the color constancy term
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
float
@see setDelta/2
Python prototype (for reference only):
getDelta() -> retval
@spec getEpsilon(Keyword.t()) :: any() | {:error, String.t()}
@spec getEpsilon(t()) :: number() | {:error, String.t()}
Norm value shift for robust penalizer
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
float
@see setEpsilon/2
Python prototype (for reference only):
getEpsilon() -> retval
@spec getFixedPointIterations(Keyword.t()) :: any() | {:error, String.t()}
@spec getFixedPointIterations(t()) :: integer() | {:error, String.t()}
Number of outer (fixed-point) iterations in the minimization procedure.
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
integer()
@see setFixedPointIterations/2
Python prototype (for reference only):
getFixedPointIterations() -> retval
@spec getGamma(Keyword.t()) :: any() | {:error, String.t()}
@spec getGamma(t()) :: number() | {:error, String.t()}
Weight of the gradient constancy term
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
float
@see setGamma/2
Python prototype (for reference only):
getGamma() -> retval
@spec getOmega(Keyword.t()) :: any() | {:error, String.t()}
@spec getOmega(t()) :: number() | {:error, String.t()}
Relaxation factor in SOR
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
float
@see setOmega/2
Python prototype (for reference only):
getOmega() -> retval
@spec getSorIterations(Keyword.t()) :: any() | {:error, String.t()}
@spec getSorIterations(t()) :: integer() | {:error, String.t()}
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.
Positional Arguments
- self:
Evision.VariationalRefinement.t()
Return
- retval:
integer()
@see setSorIterations/2
Python prototype (for reference only):
getSorIterations() -> retval
setAlpha
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
float
@see getAlpha/1
Python prototype (for reference only):
setAlpha(val) -> None
setDelta
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
float
@see getDelta/1
Python prototype (for reference only):
setDelta(val) -> None
setEpsilon
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
float
@see getEpsilon/1
Python prototype (for reference only):
setEpsilon(val) -> None
setFixedPointIterations
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
integer()
@see getFixedPointIterations/1
Python prototype (for reference only):
setFixedPointIterations(val) -> None
setGamma
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
float
@see getGamma/1
Python prototype (for reference only):
setGamma(val) -> None
setOmega
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
float
@see getOmega/1
Python prototype (for reference only):
setOmega(val) -> None
setSorIterations
Positional Arguments
- self:
Evision.VariationalRefinement.t()
- val:
integer()
@see getSorIterations/1
Python prototype (for reference only):
setSorIterations(val) -> None