View Source Evision.HausdorffDistanceExtractor (Evision v0.2.9)

Summary

Types

t()

Type that represents an HausdorffDistanceExtractor struct.

Functions

getDistanceFlag

getRankProportion

Set the norm used to compute the Hausdorff value between two shapes. It can be L1 or L2 norm.

This method sets the rank proportion (or fractional value) that establish the Kth ranked value of the partial Hausdorff distance. Experimentally had been shown that 0.6 is a good value to compare shapes.

Types

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

Type that represents an HausdorffDistanceExtractor struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getDistanceFlag(named_args)

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

getDistanceFlag

Positional Arguments
  • self: Evision.HausdorffDistanceExtractor.t()
Return
  • retval: integer()

Python prototype (for reference only):

getDistanceFlag() -> retval
Link to this function

getRankProportion(named_args)

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

getRankProportion

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

Python prototype (for reference only):

getRankProportion() -> retval
Link to this function

setDistanceFlag(named_args)

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

setDistanceFlag(self, distanceFlag)

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

Set the norm used to compute the Hausdorff value between two shapes. It can be L1 or L2 norm.

Positional Arguments
  • self: Evision.HausdorffDistanceExtractor.t()

  • distanceFlag: integer().

    Flag indicating which norm is used to compute the Hausdorff distance (NORM_L1, NORM_L2).

Python prototype (for reference only):

setDistanceFlag(distanceFlag) -> None
Link to this function

setRankProportion(named_args)

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

setRankProportion(self, rankProportion)

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

This method sets the rank proportion (or fractional value) that establish the Kth ranked value of the partial Hausdorff distance. Experimentally had been shown that 0.6 is a good value to compare shapes.

Positional Arguments
  • self: Evision.HausdorffDistanceExtractor.t()

  • rankProportion: float.

    fractional value (between 0 and 1).

Python prototype (for reference only):

setRankProportion(rankProportion) -> None