View Source Evision.MergeMertens (Evision v0.2.9)
Summary
Functions
getContrastWeight
getExposureWeight
getSaturationWeight
Short version of process, that doesn't take extra arguments.
Short version of process, that doesn't take extra arguments.
setContrastWeight
setExposureWeight
setSaturationWeight
Types
@type t() :: %Evision.MergeMertens{ref: reference()}
Type that represents an MergeMertens
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec getContrastWeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getContrastWeight(t()) :: number() | {:error, String.t()}
getContrastWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
Return
- retval:
float
Python prototype (for reference only):
getContrastWeight() -> retval
@spec getExposureWeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getExposureWeight(t()) :: number() | {:error, String.t()}
getExposureWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
Return
- retval:
float
Python prototype (for reference only):
getExposureWeight() -> retval
@spec getSaturationWeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getSaturationWeight(t()) :: number() | {:error, String.t()}
getSaturationWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
Return
- retval:
float
Python prototype (for reference only):
getSaturationWeight() -> retval
@spec process(t(), [Evision.Mat.maybe_mat_in()]) :: Evision.Mat.t() | {:error, String.t()}
Short version of process, that doesn't take extra arguments.
Positional Arguments
self:
Evision.MergeMertens.t()
src:
[Evision.Mat]
.vector of input images
Return
dst:
Evision.Mat.t()
.result image
Python prototype (for reference only):
process(src[, dst]) -> dst
@spec process(t(), [Evision.Mat.maybe_mat_in()], [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
Short version of process, that doesn't take extra arguments.
Positional Arguments
self:
Evision.MergeMertens.t()
src:
[Evision.Mat]
.vector of input images
Return
dst:
Evision.Mat.t()
.result image
Python prototype (for reference only):
process(src[, dst]) -> dst
@spec process( t(), [Evision.Mat.maybe_mat_in()], Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: Evision.Mat.t() | {:error, String.t()}
process
Positional Arguments
- self:
Evision.MergeMertens.t()
- src:
[Evision.Mat]
- times:
Evision.Mat
- response:
Evision.Mat
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
process(src, times, response[, dst]) -> dst
@spec process( t(), [Evision.Mat.maybe_mat_in()], Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
process
Positional Arguments
- self:
Evision.MergeMertens.t()
- src:
[Evision.Mat]
- times:
Evision.Mat
- response:
Evision.Mat
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
process(src, times, response[, dst]) -> dst
setContrastWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
- contrast_weiht:
float
Python prototype (for reference only):
setContrastWeight(contrast_weiht) -> None
setExposureWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
- exposure_weight:
float
Python prototype (for reference only):
setExposureWeight(exposure_weight) -> None
setSaturationWeight
Positional Arguments
- self:
Evision.MergeMertens.t()
- saturation_weight:
float
Python prototype (for reference only):
setSaturationWeight(saturation_weight) -> None