ij.process
Class ShortStatistics

java.lang.Object
  extended by ij.process.ImageStatistics
      extended by ij.process.ShortStatistics
All Implemented Interfaces:
ij.measure.Measurements

public class ShortStatistics
extends ImageStatistics

16-bit image statistics, including histogram.


Field Summary
 
Fields inherited from class ij.process.ImageStatistics
angle, area, areaFraction, binSize, cal, dmode, ef, height, histMax, histMin, histogram, histogram16, histYMax, kurtosis, major, max, maxCount, mean, median, min, minor, mode, nBins, ph, pixelCount, pw, rh, roiHeight, roiWidth, roiX, roiY, rw, rx, ry, skewness, stdDev, umean, width, xCenterOfMass, xCentroid, yCenterOfMass, yCentroid
 
Fields inherited from interface ij.measure.Measurements
AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, PERIMETER, RECT, SKEWNESS, SLICE, STD_DEV
 
Constructor Summary
ShortStatistics(ImageProcessor ip)
          Construct an ImageStatistics object from a ShortProcessor using the standard measurement options (area, mean, mode, min and max).
ShortStatistics(ImageProcessor ip, int mOptions, ij.measure.Calibration cal)
          Constructs a ShortStatistics object from a ShortProcessor using the specified measurement options.
 
Method Summary
(package private)  void calculateMoments(ImageProcessor ip, int minThreshold, int maxThreshold, float[] cTable)
           
(package private)  void getCalibratedMinAndMax(int[] hist, int minValue, int maxValue, float[] cTable)
           
(package private)  void getCentroid(ImageProcessor ip, int minThreshold, int maxThreshold)
           
(package private)  void getMode()
           
(package private)  void getRawMinAndMax(int[] hist, int minThreshold, int maxThreshold)
           
(package private)  void getStatistics(ImageProcessor ip, int[] hist, int min, int max, float[] cTable)
           
 
Methods inherited from class ij.process.ImageStatistics
calculateAreaFraction, calculateMedian, calculateStdDev, drawEllipse, fitEllipse, getCentroid, getRawMinAndMax, getRawStatistics, getStatistics, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortStatistics

public ShortStatistics(ImageProcessor ip)
Construct an ImageStatistics object from a ShortProcessor using the standard measurement options (area, mean, mode, min and max).


ShortStatistics

public ShortStatistics(ImageProcessor ip,
                       int mOptions,
                       ij.measure.Calibration cal)
Constructs a ShortStatistics object from a ShortProcessor using the specified measurement options. The 'cal' argument, which can be null, is currently ignored.

Method Detail

getRawMinAndMax

void getRawMinAndMax(int[] hist,
                     int minThreshold,
                     int maxThreshold)

getStatistics

void getStatistics(ImageProcessor ip,
                   int[] hist,
                   int min,
                   int max,
                   float[] cTable)

getMode

void getMode()

getCentroid

void getCentroid(ImageProcessor ip,
                 int minThreshold,
                 int maxThreshold)

calculateMoments

void calculateMoments(ImageProcessor ip,
                      int minThreshold,
                      int maxThreshold,
                      float[] cTable)

getCalibratedMinAndMax

void getCalibratedMinAndMax(int[] hist,
                            int minValue,
                            int maxValue,
                            float[] cTable)