public class HistogramTwoPeaks
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
minSeparation |
double |
peakHigh |
double |
peakLow |
| Constructor and Description |
|---|
HistogramTwoPeaks(int minSeparation) |
| Modifier and Type | Method and Description |
|---|---|
void |
computePeaks(IntensityHistogram h)
Finds two peaks inside of the histogram
|
public double peakLow
public double peakHigh
public int minSeparation
public HistogramTwoPeaks(int minSeparation)
minSeparation - Minimum distance of second peak from firstpublic void computePeaks(IntensityHistogram h)
h - Histogram being processed