public class HistogramDataset
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
Constructor and Description |
---|
HistogramDataset(java.io.File source)
Load the data in an EDR_Stats histogram file
|
Modifier and Type | Method and Description |
---|---|
org.jfree.data.xy.XYSeries |
getPercentSeries()
Get the series of pixel value (DN) vs.
|
org.jfree.data.xy.XYSeries |
getPixelSeries()
Get the dataset of pixel value (DN) vs.
|
java.lang.Double |
getValue(java.lang.String keyname)
Get a value from the histogram's header statistics section
|
public static final java.lang.String ID
public HistogramDataset(java.io.File source) throws java.io.IOException
source
- Reference to the data filejava.io.IOException
- Error parsing filepublic java.lang.Double getValue(java.lang.String keyname)
keyname
- the name, e.g. Minimum, Maximum, Std Deviation, Medianpublic org.jfree.data.xy.XYSeries getPixelSeries()
public org.jfree.data.xy.XYSeries getPercentSeries()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona