View Source Evision.ImgHash.RadialVarianceHash (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an ImgHash.RadialVarianceHash struct.

Link to this section Types

@type t() :: %Evision.ImgHash.RadialVarianceHash{ref: reference()}

Type that represents an ImgHash.RadialVarianceHash struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

create

Keyword Arguments
  • sigma: double.
  • numOfAngleLine: int.
Return
  • retval: Evision.ImgHash.RadialVarianceHash.t()

Python prototype (for reference only):

create([, sigma[, numOfAngleLine]]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

create

Keyword Arguments
  • sigma: double.
  • numOfAngleLine: int.
Return
  • retval: Evision.ImgHash.RadialVarianceHash.t()

Python prototype (for reference only):

create([, sigma[, numOfAngleLine]]) -> retval
@spec getNumOfAngleLine(t()) :: integer() | {:error, String.t()}

getNumOfAngleLine

Positional Arguments
  • self: Evision.ImgHash.RadialVarianceHash.t()
Return
  • retval: int

Python prototype (for reference only):

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

getSigma

Positional Arguments
  • self: Evision.ImgHash.RadialVarianceHash.t()
Return
  • retval: double

Python prototype (for reference only):

getSigma() -> retval
Link to this function

setNumOfAngleLine(self, value)

View Source
@spec setNumOfAngleLine(t(), integer()) :: t() | {:error, String.t()}

setNumOfAngleLine

Positional Arguments
  • self: Evision.ImgHash.RadialVarianceHash.t()
  • value: int

Python prototype (for reference only):

setNumOfAngleLine(value) -> None
@spec setSigma(t(), number()) :: t() | {:error, String.t()}

setSigma

Positional Arguments
  • self: Evision.ImgHash.RadialVarianceHash.t()
  • value: double

Python prototype (for reference only):

setSigma(value) -> None