public class Histogram<T extends RealType<T>> extends TreeMap<Double,Integer>
TreeMap.size(),
and the value of each bin (each element in this ArrayList)
is an integer, which is the count of voxels whose value falls within
the bin.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Histogram(Object fn) |
Histogram(Object fn,
int nBins) |
Histogram(Object fn,
int nBins,
double min,
double max) |
Histogram(Object fn,
Number nBins) |
| Modifier and Type | Method and Description |
|---|---|
JFreeChart |
asChart() |
JFreeChart |
asChart(boolean show)
Return the JFreeChart with this histogram, and as a side effect, show it in a JFrame
that provides the means to edit the dimensions and also the plot properties via a popup menu.
|
Image<RGBALegacyType> |
asImage() |
Image<T> |
getImage() |
double |
getIncrement() |
double |
getMax() |
double |
getMin() |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, removepublic double getMin()
public double getMax()
public double getIncrement()
public Image<RGBALegacyType> asImage()
public JFreeChart asChart()
public JFreeChart asChart(boolean show)
Copyright © 2015–2021 Fiji. All rights reserved.