jview
Interface JHistogram

All Superinterfaces:
Histogram
All Known Implementing Classes:
CountHistogram, FitsHistogram

public interface JHistogram
extends Histogram

A histrogram interface for describing intensity levels in an image by use of a histogram. Histogram bins start at the intensity minimum and end at the maximum. There is no rule for prescribing the number of bins that a histogram may have, but the actual bin width in intensity can be queried with Histogram.getBinWidth(). To work together neathly with FITS images, that also support double pixel, we base calculations on doubles rather thatn float which would be more appropriate if working together with BufferedImageOp.


Nested Class Summary
static interface JHistogram.Bounds
          Represents an upper and lower level in intensity.
 
Method Summary
 JHistogram.Bounds getBounds(double keep)
          Returns the upper and lower intensity value between which the stated number of pixel is situated.
 JHistogram.Bounds getModeBounds(double lo, double hi)
          Returns a mode bound, the given number of standard deviations from the mode.
 JHistogram.Bounds getNonsaturatedBounds(double keep)
          Returns the upper and lower intensity if saturation should be ignored.
 JHistogram.Bounds getUpperBounds(double keep)
          Returns the upper and lower intensity value between which the stated number of pixel is situated.
 
Methods inherited from interface vec_math.Histogram
getAverage, getBinCounts, getBinWidth, getMax, getMedian, getMin, getMode, getTotal
 

Method Detail

getBounds

JHistogram.Bounds getBounds(double keep)
Returns the upper and lower intensity value between which the stated number of pixel is situated.


getUpperBounds

JHistogram.Bounds getUpperBounds(double keep)
Returns the upper and lower intensity value between which the stated number of pixel is situated.


getModeBounds

JHistogram.Bounds getModeBounds(double lo,
                                double hi)
Returns a mode bound, the given number of standard deviations from the mode.


getNonsaturatedBounds

JHistogram.Bounds getNonsaturatedBounds(double keep)
Returns the upper and lower intensity if saturation should be ignored.