View Source Evision.Tonemap (Evision v0.1.15)
Link to this section Summary
Types
Type that represents an Evision.Tonemap
struct.
Functions
Return
- retval:
float
Python prototype (for reference):
Tonemaps image
Tonemaps image
Positional Arguments
- gamma:
float
Python prototype (for reference):
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
Return
- retval:
float
Python prototype (for reference):
getGamma() -> retval
@spec process(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
Tonemaps image
Positional Arguments
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):
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
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):
process(src[, dst]) -> dst
Positional Arguments
- gamma:
float
Python prototype (for reference):
setGamma(gamma) -> None