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

Summary

Types

t()

Type that represents an XPhoto.TonemapDurand struct.

Types

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

Type that represents an XPhoto.TonemapDurand struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

getSaturation(named_args)

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

getSigmaColor(named_args)

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

getSigmaSpace(named_args)

View Source
@spec getSigmaSpace(Keyword.t()) :: any() | {:error, String.t()}
@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
@spec setContrast(Keyword.t()) :: any() | {:error, String.t()}
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(named_args)

View Source
@spec setSaturation(Keyword.t()) :: any() | {:error, String.t()}
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(named_args)

View Source
@spec setSigmaColor(Keyword.t()) :: any() | {:error, String.t()}
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(named_args)

View Source
@spec setSigmaSpace(Keyword.t()) :: any() | {:error, String.t()}
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