View Source Evision.MergeMertens (Evision v0.2.7)

Summary

Types

t()

Type that represents an MergeMertens struct.

Types

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

Type that represents an MergeMertens struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getContrastWeight(named_args)

View Source
@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
Link to this function

getExposureWeight(named_args)

View Source
@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
Link to this function

getSaturationWeight(named_args)

View Source
@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(Keyword.t()) :: any() | {:error, String.t()}
@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
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
  • 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
Link to this function

process(self, src, times, response)

View Source

process

Positional Arguments
Return
  • dst: Evision.Mat.t().

Python prototype (for reference only):

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()}

process

Positional Arguments
Return
  • dst: Evision.Mat.t().

Python prototype (for reference only):

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

setContrastWeight(named_args)

View Source
@spec setContrastWeight(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setContrastWeight(self, contrast_weiht)

View Source
@spec setContrastWeight(t(), number()) :: t() | {:error, String.t()}

setContrastWeight

Positional Arguments
  • self: Evision.MergeMertens.t()
  • contrast_weiht: float

Python prototype (for reference only):

setContrastWeight(contrast_weiht) -> None
Link to this function

setExposureWeight(named_args)

View Source
@spec setExposureWeight(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setExposureWeight(self, exposure_weight)

View Source
@spec setExposureWeight(t(), number()) :: t() | {:error, String.t()}

setExposureWeight

Positional Arguments
  • self: Evision.MergeMertens.t()
  • exposure_weight: float

Python prototype (for reference only):

setExposureWeight(exposure_weight) -> None
Link to this function

setSaturationWeight(named_args)

View Source
@spec setSaturationWeight(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setSaturationWeight(self, saturation_weight)

View Source
@spec setSaturationWeight(t(), number()) :: t() | {:error, String.t()}

setSaturationWeight

Positional Arguments
  • self: Evision.MergeMertens.t()
  • saturation_weight: float

Python prototype (for reference only):

setSaturationWeight(saturation_weight) -> None