View Source Evision.XPhoto.TonemapDurand (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an XPhoto.TonemapDurand struct.

Link to this section Types

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

Type that represents an XPhoto.TonemapDurand struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec getContrast(t()) :: number() | {:error, String.t()}

getContrast

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

Python prototype (for reference only):

getContrast() -> retval
@spec getSaturation(t()) :: number() | {:error, String.t()}

getSaturation

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

Python prototype (for reference only):

getSaturation() -> retval
@spec getSigmaColor(t()) :: number() | {:error, String.t()}

getSigmaColor

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

Python prototype (for reference only):

getSigmaColor() -> retval
@spec getSigmaSpace(t()) :: number() | {:error, String.t()}

getSigmaSpace

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

Python prototype (for reference only):

getSigmaSpace() -> retval
Link to this function

setContrast(self, contrast)

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

setContrast

Positional Arguments
  • self: Evision.XPhoto.TonemapDurand.t()
  • contrast: float

Python prototype (for reference only):

setContrast(contrast) -> None
Link to this function

setSaturation(self, saturation)

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

setSaturation

Positional Arguments
  • self: Evision.XPhoto.TonemapDurand.t()
  • saturation: float

Python prototype (for reference only):

setSaturation(saturation) -> None
Link to this function

setSigmaColor(self, sigma_color)

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

setSigmaColor

Positional Arguments
  • self: Evision.XPhoto.TonemapDurand.t()
  • sigma_color: float

Python prototype (for reference only):

setSigmaColor(sigma_color) -> None
Link to this function

setSigmaSpace(self, sigma_space)

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

setSigmaSpace

Positional Arguments
  • self: Evision.XPhoto.TonemapDurand.t()
  • sigma_space: float

Python prototype (for reference only):

setSigmaSpace(sigma_space) -> None