# Summary

## Types

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.

# t()

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

Type that represents an HausdorffDistanceExtractor struct.

• ref. reference()

The underlying erlang resource variable.

# getDistanceFlag(self)

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

getDistanceFlag

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

Python prototype (for reference only):

getDistanceFlag() -> retval

# getRankProportion(self)

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

getRankProportion

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

Python prototype (for reference only):

getRankProportion() -> retval

# 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: int.

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

Python prototype (for reference only):

setDistanceFlag(distanceFlag) -> None

# 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