View Source Evision.LineMod.ColorGradient (Evision v0.2.14)
Summary
Types
@type t() :: %Evision.LineMod.ColorGradient{ref: reference()}
Type that represents an LineMod.ColorGradient struct.
ref.
reference()The underlying erlang resource variable.
Functions
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