ij.process
Class ImageStatistics
- java.lang.Object
-
- ij.process.ImageStatistics
-
- All Implemented Interfaces:
- Measurements
- Direct Known Subclasses:
- ByteStatistics, ColorStatistics, FloatStatistics, ShortStatistics, StackStatistics
public class ImageStatistics extends java.lang.Object implements Measurements
Statistics, including the histogram, of an image or selection.
-
-
Field Summary
Fields Modifier and Type Field and Description doubleangleAngle in degrees of fitted ellipsedoubleareadoubleareaFractiondoublebinSizedoubledmodeDouble modedoublehistMaxdoublehistMinint[]histogramUse getHIstogram() to get histogram as long array.int[]histogram16Bin width 1 histogram of 16-bit imagesinthistYMaxdoublekurtosislonglongPixelCountLong pixel countdoublelowerThresholdMinimum threshold when "Limit to threshold" enableddoublemajorLength of major axis of fitted ellipsedoublemaxintmaxCountdoublemeandoublemediandoublemindoubleminorLength of minor axis of fitted ellipseintmodeInt mode (limited to 2^31-1)intnBinsintpixelCountInt pixel count (limited to 2^31-1)doubleroiHeightdoubleroiWidthdoubleroiXdoubleroiYdoubleskewnessbooleanstackStatisticsUsed by HistogramWindowdoublestdDevdoubleumeanUncalibrated meandoubleupperThresholdMaximum threshold when "Limit to threshold" enableddoublexCenterOfMassdoublexCentroidintxstartUsed internally by AnalyzeParticlesdoubleyCenterOfMassdoubleyCentroidintystartUsed internally by AnalyzeParticles-
Fields inherited from interface ij.measure.Measurements
ADD_TO_OVERLAY, ALL_STATS, 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 Constructor and Description ImageStatistics()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddrawEllipse(ImageProcessor ip)long[]getHistogram()Returns the histogram as an array of longs.static ImageStatisticsgetStatistics(ImageProcessor ip)static ImageStatisticsgetStatistics(ImageProcessor ip, int mOptions, Calibration cal)java.lang.StringtoString()
-
-
-
Field Detail
-
histogram
public int[] histogram
Use getHIstogram() to get histogram as long array.
-
pixelCount
public int pixelCount
Int pixel count (limited to 2^31-1)
-
longPixelCount
public long longPixelCount
Long pixel count
-
mode
public int mode
Int mode (limited to 2^31-1)
-
dmode
public double dmode
Double 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 umean
Uncalibrated mean
-
major
public double major
Length of major axis of fitted ellipse
-
minor
public double minor
Length of minor axis of fitted ellipse
-
angle
public double angle
Angle in degrees of fitted ellipse
-
histogram16
public int[] histogram16
Bin width 1 histogram of 16-bit images
-
areaFraction
public double areaFraction
-
xstart
public int xstart
Used internally by AnalyzeParticles
-
ystart
public int ystart
Used internally by AnalyzeParticles
-
stackStatistics
public boolean stackStatistics
Used by HistogramWindow
-
lowerThreshold
public double lowerThreshold
Minimum threshold when "Limit to threshold" enabled
-
upperThreshold
public double upperThreshold
Maximum 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
-
-
Method Detail
-
getStatistics
public static ImageStatistics getStatistics(ImageProcessor ip)
-
getStatistics
public static ImageStatistics getStatistics(ImageProcessor ip, int mOptions, Calibration cal)
-
drawEllipse
public void drawEllipse(ImageProcessor ip)
-
getHistogram
public long[] getHistogram()
Returns the histogram as an array of longs.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG