Package ij.process
Class ImageStatistics
java.lang.Object
ij.process.ImageStatistics
- All Implemented Interfaces:
Measurements
- Direct Known Subclasses:
ByteStatistics
,ColorStatistics
,FloatStatistics
,ShortStatistics
,StackStatistics
Statistics, including the histogram, of an image or selection.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
Angle in degrees of fitted ellipsedouble
double
double
protected Calibration
double
Double modeprotected int
double
double
int[]
Use getHIstogram() to get histogram as long array.int[]
Bin width 1 histogram of 16-bit imagesint
double
protected long[]
Long histogram; use getHIstogram() to retrieve.long
Long pixel countdouble
Minimum threshold when "Limit to threshold" enableddouble
Length of major axis of fitted ellipsedouble
int
double
double
double
double
Length of minor axis of fitted ellipseint
Int mode (limited to 2^31-1)int
protected double
int
Int pixel count (limited to 2^31-1)protected double
protected int
double
double
double
double
protected int
protected int
protected int
double
boolean
Used by HistogramWindowdouble
double
Uncalibrated meandouble
Maximum threshold when "Limit to threshold" enabledprotected int
double
double
int
Used internally by AnalyzeParticlesdouble
double
int
Used internally by AnalyzeParticlesFields inherited from interface ij.measure.Measurements
ADD_TO_OVERLAY, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long[]
Returns the histogram as an array of longs.static ImageStatistics
getStatistics
(ImageProcessor ip, int mOptions, Calibration cal) protected void
saveThreshold
(double minThreshold, double maxThreshold, Calibration cal) toString()
-
Field Details
-
histogram
public int[] histogramUse getHIstogram() to get histogram as long array. -
pixelCount
public int pixelCountInt pixel count (limited to 2^31-1) -
longPixelCount
public long longPixelCountLong pixel count -
mode
public int modeInt mode (limited to 2^31-1) -
dmode
public double dmodeDouble mode -
area
public double area -
min
public double min -
max
public double max -
mean
public double mean -
median
public double median -
stdDev
public double stdDev -
skewness
public double skewness -
kurtosis
public double kurtosis -
xCentroid
public double xCentroid -
yCentroid
public double yCentroid -
xCenterOfMass
public double xCenterOfMass -
yCenterOfMass
public double yCenterOfMass -
roiX
public double roiX -
roiY
public double roiY -
roiWidth
public double roiWidth -
roiHeight
public double roiHeight -
umean
public double umeanUncalibrated mean -
major
public double majorLength of major axis of fitted ellipse -
minor
public double minorLength of minor axis of fitted ellipse -
angle
public double angleAngle in degrees of fitted ellipse -
histogram16
public int[] histogram16Bin width 1 histogram of 16-bit images -
longHistogram
protected long[] longHistogramLong histogram; use getHIstogram() to retrieve. -
areaFraction
public double areaFraction -
xstart
public int xstartUsed internally by AnalyzeParticles -
ystart
public int ystartUsed internally by AnalyzeParticles -
stackStatistics
public boolean stackStatisticsUsed by HistogramWindow -
lowerThreshold
public double lowerThresholdMinimum threshold when "Limit to threshold" enabled -
upperThreshold
public double upperThresholdMaximum threshold when "Limit to threshold" enabled -
histMin
public double histMin -
histMax
public double histMax -
histYMax
public int histYMax -
maxCount
public int maxCount -
nBins
public int nBins -
binSize
public double binSize -
width
protected int width -
height
protected int height -
rx
protected int rx -
ry
protected int ry -
rw
protected int rw -
rh
protected int rh -
pw
protected double pw -
ph
protected double ph -
cal
-
-
Constructor Details
-
ImageStatistics
public ImageStatistics()
-
-
Method Details