ij.process
Class ByteStatistics

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

public class ByteStatistics
extends ImageStatistics

8-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
ByteStatistics(ImageProcessor ip)
          Construct an ImageStatistics object from a ByteProcessor using the standard measurement options (area, mean, mode, min and max) and no calibration.
ByteStatistics(ImageProcessor ip, int mOptions, ij.measure.Calibration cal)
          Constructs a ByteStatistics object from a ByteProcessor using the specified measurement and calibration.
 
Method Summary
(package private)  void calculateMoments(ImageProcessor ip, int minThreshold, int maxThreshold, float[] cTable)
           
(package private)  void getCalibratedMinAndMax(int minThreshold, int maxThreshold, float[] cTable)
           
(package private)  void getCalibratedStatistics(int minThreshold, int maxThreshold, float[] cTable)
           
(package private)  void getCentroid(ImageProcessor ip, int minThreshold, int maxThreshold)
           
 
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

ByteStatistics

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


ByteStatistics

public ByteStatistics(ImageProcessor ip,
                      int mOptions,
                      ij.measure.Calibration cal)
Constructs a ByteStatistics object from a ByteProcessor using the specified measurement and calibration.

Method Detail

getCalibratedStatistics

void getCalibratedStatistics(int minThreshold,
                             int maxThreshold,
                             float[] cTable)

getCentroid

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

calculateMoments

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

getCalibratedMinAndMax

void getCalibratedMinAndMax(int minThreshold,
                            int maxThreshold,
                            float[] cTable)