protected class CellCntrRegionFilterAdjustPanel.PlotHistogram extends Object
Note that the bins are constrained to contain integer counts.
| Modifier and Type | Field and Description |
|---|---|
private int[] |
histogramData
Actual data of the histogram, indexed per bin.
|
private int |
maxEntry
Numerical value referring to bin with maximal.
|
private int |
minEntry
Numerical value referring to bin with minimal index, i.e. 0.
|
private int |
peakEntry
Index of the bin with the histogram's maximal count.
|
| Constructor and Description |
|---|
PlotHistogram(int[] data,
int min,
int max)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getData()
Get reference to histogram data.
|
int |
getMaxEntry()
Get numerical value of bin with maximal index.
|
int |
getMinEntry()
Get numerical value of bin with minimal index.
|
int |
getPeakEntry()
Get maximal count in histogram.
|
private int[] histogramData
private int minEntry
private int maxEntry
private int peakEntry
public PlotHistogram(int[] data,
int min,
int max)
data - Histogram data.min - Smallest numerical value represented.max - Largest numerical value represented.public int[] getData()
public int getMinEntry()
public int getMaxEntry()
public int getPeakEntry()
Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.