View Source Evision.MergeMertens (Evision v0.1.10)

Link to this section Summary

Types

t()

Type that represents an Evision.MergeMertens struct.

Functions

Return
  • retval: float

Python prototype (for reference):

Return
  • retval: float

Python prototype (for reference):

Return
  • retval: float

Python prototype (for reference):

Short version of process, that doesn't take extra arguments.

Short version of process, that doesn't take extra arguments.

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
  • contrast_weiht: float

Python prototype (for reference):

Positional Arguments
  • exposure_weight: float

Python prototype (for reference):

Positional Arguments
  • saturation_weight: float

Python prototype (for reference):

Link to this section Types

@type t() :: %Evision.MergeMertens{ref: reference()}

Type that represents an Evision.MergeMertens struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec getContrastWeight(t()) :: number() | {:error, String.t()}
Return
  • retval: float

Python prototype (for reference):

getContrastWeight() -> retval
@spec getExposureWeight(t()) :: number() | {:error, String.t()}
Return
  • retval: float

Python prototype (for reference):

getExposureWeight() -> retval
Link to this function

getSaturationWeight(self)

View Source
@spec getSaturationWeight(t()) :: number() | {:error, String.t()}
Return
  • retval: float

Python prototype (for reference):

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
  • src: [Evision.Mat].

    vector of input images

Return

Python prototype (for reference):

process(src[, dst]) -> dst
Link to this function

process(self, src, opts)

View Source
@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
  • src: [Evision.Mat].

    vector of input images

Return

Python prototype (for reference):

process(src[, dst]) -> dst
Link to this function

process(self, src, times, response)

View Source
Positional Arguments
Return

Python prototype (for reference):

process(src, times, response[, dst]) -> dst
Link to this function

process(self, src, times, response, opts)

View Source
@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()}
Positional Arguments
Return

Python prototype (for reference):

process(src, times, response[, dst]) -> dst
Link to this function

setContrastWeight(self, contrast_weiht)

View Source
@spec setContrastWeight(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • contrast_weiht: float

Python prototype (for reference):

setContrastWeight(contrast_weiht) -> None
Link to this function

setExposureWeight(self, exposure_weight)

View Source
@spec setExposureWeight(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • exposure_weight: float

Python prototype (for reference):

setExposureWeight(exposure_weight) -> None
Link to this function

setSaturationWeight(self, saturation_weight)

View Source
@spec setSaturationWeight(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • saturation_weight: float

Python prototype (for reference):

setSaturationWeight(saturation_weight) -> None