View Source Evision.LineMod.ColorGradient (Evision v0.2.9)

Summary

Types

t()

Type that represents an LineMod.ColorGradient struct.

Types

@type t() :: %Evision.LineMod.ColorGradient{ref: reference()}

Type that represents an LineMod.ColorGradient struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec create(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

create(weak_threshold, num_features, strong_threshold)

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

create

Positional Arguments
  • weak_threshold: float
  • num_features: size_t
  • strong_threshold: float
Return
  • retval: ColorGradient

\brief Constructor. \param weak_threshold When quantizing, discard gradients with magnitude less than this. \param num_features How many features a template must contain. \param strong_threshold Consider as candidate features only gradients whose norms are

                     larger than this.

Python prototype (for reference only):

create(weak_threshold, num_features, strong_threshold) -> retval
@spec get_num_features(t()) :: integer()
Link to this function

get_strong_threshold(self)

View Source
@spec get_strong_threshold(t()) :: number()
Link to this function

get_weak_threshold(self)

View Source
@spec get_weak_threshold(t()) :: number()