whitesWhistleDetector
Class SliceData
java.lang.Object
whitesWhistleDetector.SliceData
public class SliceData
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sliceNumber
protected int sliceNumber
sliceLength
protected int sliceLength
slicePixs
protected boolean[] slicePixs
fftDataUnit
protected FFTDataUnit fftDataUnit
nPeaks
protected int nPeaks
peakInfo
protected int[][] peakInfo
peakBin
private int peakBin
SliceData
protected SliceData(int sliceNumber,
int sliceLength,
FFTDataUnit fftDataUnit)
getPeakBin
public int getPeakBin()
condenseInfo
protected int[] condenseInfo(SliceData prevSlice)
- Repacks the data and returns the lower and upper bounds.
0th = lower bound
1st = peak value
2nd = upper bound
3rd = peak number in previous slice (filled in later but allocated now)
- Returns:
- bounds
findOverlappingPeak
private int findOverlappingPeak(int[] peakInfo,
SliceData otherSlice)
countRegions
private int countRegions()