View Source Evision.Tonemap (Evision v0.1.17)
Link to this section Summary
Types
Type that represents an Evision.Tonemap
struct.
Link to this section Types
@type t() :: %Evision.Tonemap{ref: reference()}
Type that represents an Evision.Tonemap
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
getGamma
Positional Arguments
- self:
Evision.Tonemap.t()
Return
- retval:
float
Python prototype (for reference only):
getGamma() -> retval
@spec process(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
Tonemaps image
Positional Arguments
self:
Evision.Tonemap.t()
src:
Evision.Mat
.source image - CV_32FC3 Mat (float 32 bits 3 channels)
Return
dst:
Evision.Mat
.destination image - CV_32FC3 Mat with values in [0, 1] range
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()}
Tonemaps image
Positional Arguments
self:
Evision.Tonemap.t()
src:
Evision.Mat
.source image - CV_32FC3 Mat (float 32 bits 3 channels)
Return
dst:
Evision.Mat
.destination image - CV_32FC3 Mat with values in [0, 1] range
Python prototype (for reference only):
process(src[, dst]) -> dst
setGamma
Positional Arguments
- self:
Evision.Tonemap.t()
- gamma:
float
Python prototype (for reference only):
setGamma(gamma) -> None