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

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

View Source
@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(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