View Source Evision.XPhoto.GrayworldWB (Evision v0.2.9)

Summary

Types

t()

Type that represents an XPhoto.GrayworldWB struct.

Functions

Maximum saturation for a pixel to be included in the gray-world assumption

setSaturationThreshold

Types

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

Type that represents an XPhoto.GrayworldWB struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getSaturationThreshold(named_args)

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

Maximum saturation for a pixel to be included in the gray-world assumption

Positional Arguments
  • self: Evision.XPhoto.GrayworldWB.t()
Return
  • retval: float

@see setSaturationThreshold/2

Python prototype (for reference only):

getSaturationThreshold() -> retval
Link to this function

setSaturationThreshold(named_args)

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

setSaturationThreshold(self, val)

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

setSaturationThreshold

Positional Arguments
  • self: Evision.XPhoto.GrayworldWB.t()
  • val: float

@see getSaturationThreshold/1

Python prototype (for reference only):

setSaturationThreshold(val) -> None