HiRISE

HiRISE.HiVali
Class HistogramDataset

java.lang.Object
  extended by HiRISE.HiVali.HistogramDataset
Direct Known Subclasses:
EdrHistogram

public class HistogramDataset
extends Object

Parses an ISIS histogram file and loads the data into a dataset for display as a plot. Contains methods to fetch important image statistical parameters.

Version:
1.8
Author:
guym

Field Summary
static String ID
          CVS ID
 
Constructor Summary
HistogramDataset(File source)
          Load the data in an EDR_Stats histogram file
 
Method Summary
 XYSeries getPercentSeries()
          Get the series of pixel value (DN) vs.
 XYSeries getPixelSeries()
          Get the dataset of pixel value (DN) vs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

HistogramDataset

public HistogramDataset(File source)
                 throws IOException
Load the data in an EDR_Stats histogram file

Parameters:
source - Reference to the data file
Throws:
IOException - Error parsing file
Method Detail

getPixelSeries

public XYSeries getPixelSeries()
Get the dataset of pixel value (DN) vs. count

Returns:
pixel series

getPercentSeries

public XYSeries getPercentSeries()
Get the series of pixel value (DN) vs. cumulative percentage

Returns:
percent series

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona