Pink 0.9
|
computes the distance between two histograms More...
computes the distance between two histograms
Usage: histodist h1.list h2.list [type] out.list
Description: Computes the distance between the two histograms given in h1.list and h2.list. The result is written in out.list.
The distance is an edit distance, it is defined as the minimal number of elementary operations (moving one unit from a bin to the neighboring one) that is necessary to transform h1 into h2.
Parameter type (default 0) indicates whether the histogram must be interpreted as circular (type = 1) of not (type = 0). Circular interpretation implies that first and last bins are considered as neighbors.
Types supported: list
Category: histo