be.hogent.tarsos.util.histogram.peaks
Interface PeakDetector.PeakDetectionStrategy

Enclosing class:
PeakDetector

public static interface PeakDetector.PeakDetectionStrategy


Method Summary
 java.util.List<Peak> detect(Histogram histogram, int windowSize, int thresholdFactor)
           
 

Method Detail

detect

java.util.List<Peak> detect(Histogram histogram,
                            int windowSize,
                            int thresholdFactor)
Parameters:
histogram - The histogram to detect peaks for
windowSize - The windowSize in number of bins.
thresholdFactor - A number between 0 and 100 that determines a threshold.
Returns:
A list of peaks in the histogram