medpy.metric.histogram.noelle_4#

medpy.metric.histogram.noelle_4(h1, h2)[source]#

Extension of fidelity_based proposed by [1].

\[d_{\arccos F}(H, H') = \frac{2}{\pi} \arccos d_{F}(H, H')\]

See fidelity_based for the definition of \(d_{F}(H, H')\).

Attributes:

  • metric

Attributes for normalized histograms:

  • \(d(H, H')\in[0, 1]\)

  • \(d(H, H) = 0\)

  • \(d(H, H') = d(H', H)\)

Attributes for not-normalized histograms:

  • not applicable

Attributes for not-equal histograms:

  • not applicable

Parameters:
h1sequence

The first histogram, normalized.

h2sequence

The second histogram, normalized, same bins as h1.

Returns:
fidelity_basedfloat

Fidelity based distance.

References

[1]
  1. Noelle “Distribution Distance Measures Applied to 3-D Object Recognition”, 2003