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

Summary

Types

t()

Type that represents an XPhoto.SimpleWB struct.

Functions

Input image range maximum value

Input image range minimum value

Output image range maximum value

Output image range minimum value

Percent of top/bottom values to ignore

Types

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

Type that represents an XPhoto.SimpleWB struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

Input image range maximum value

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

@see setInputMax/2

Python prototype (for reference only):

getInputMax() -> retval
@spec getInputMin(Keyword.t()) :: any() | {:error, String.t()}
@spec getInputMin(t()) :: number() | {:error, String.t()}

Input image range minimum value

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

@see setInputMin/2

Python prototype (for reference only):

getInputMin() -> retval
Link to this function

getOutputMax(named_args)

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

Output image range maximum value

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

@see setOutputMax/2

Python prototype (for reference only):

getOutputMax() -> retval
Link to this function

getOutputMin(named_args)

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

Output image range minimum value

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

@see setOutputMin/2

Python prototype (for reference only):

getOutputMin() -> retval
@spec getP(Keyword.t()) :: any() | {:error, String.t()}
@spec getP(t()) :: number() | {:error, String.t()}

Percent of top/bottom values to ignore

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

@see setP/2

Python prototype (for reference only):

getP() -> retval
@spec setInputMax(Keyword.t()) :: any() | {:error, String.t()}
@spec setInputMax(t(), number()) :: t() | {:error, String.t()}

setInputMax

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

@see getInputMax/1

Python prototype (for reference only):

setInputMax(val) -> None
@spec setInputMin(Keyword.t()) :: any() | {:error, String.t()}
@spec setInputMin(t(), number()) :: t() | {:error, String.t()}

setInputMin

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

@see getInputMin/1

Python prototype (for reference only):

setInputMin(val) -> None
Link to this function

setOutputMax(named_args)

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

setOutputMax

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

@see getOutputMax/1

Python prototype (for reference only):

setOutputMax(val) -> None
Link to this function

setOutputMin(named_args)

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

setOutputMin

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

@see getOutputMin/1

Python prototype (for reference only):

setOutputMin(val) -> None
@spec setP(Keyword.t()) :: any() | {:error, String.t()}
@spec setP(t(), number()) :: t() | {:error, String.t()}

setP

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

@see getP/1

Python prototype (for reference only):

setP(val) -> None