edu.jhu.tmaj.beans.masks.data
Class MaskIntensityStatUtil

java.lang.Object
  extended by edu.jhu.tmaj.beans.masks.data.MaskIntensityStatUtil

public final class MaskIntensityStatUtil
extends java.lang.Object

This class contains methods for getting a Stat object that contains statistics on the data analyzed. Currently, the only statistics are the intensity: the average and mean, and the min and max.


Method Summary
static java.lang.String formatStat(java.lang.Number stat)
           
static MaskStats getStats(int[] selectedPixels, Calibration calibration)
          Gets a stat object for the given pixels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStats

public static MaskStats getStats(int[] selectedPixels,
                                 Calibration calibration)
Gets a stat object for the given pixels.


formatStat

public static java.lang.String formatStat(java.lang.Number stat)