public class ImageStatistics extends Object implements Measurements
Modifier and Type | Field and Description |
---|---|
double |
angle
Angle in degrees of fitted ellipse
|
double |
area |
double |
areaFraction |
double |
binSize |
protected Calibration |
cal |
double |
dmode
Double mode
|
protected int |
height |
double |
histMax |
double |
histMin |
int[] |
histogram
Use getHIstogram() to get histogram as long array.
|
int[] |
histogram16
Bin width 1 histogram of 16-bit images
|
int |
histYMax |
double |
kurtosis |
protected long[] |
longHistogram
Long histogram; use getHIstogram() to retrieve.
|
long |
longPixelCount
Long pixel count
|
double |
lowerThreshold
Minimum threshold when "Limit to threshold" enabled
|
double |
major
Length of major axis of fitted ellipse
|
double |
max |
int |
maxCount |
double |
mean |
double |
median |
double |
min |
double |
minor
Length of minor axis of fitted ellipse
|
int |
mode
Int mode (limited to 2^31-1)
|
int |
nBins |
protected double |
ph |
int |
pixelCount
Int pixel count (limited to 2^31-1)
|
protected double |
pw |
protected int |
rh |
double |
roiHeight |
double |
roiWidth |
double |
roiX |
double |
roiY |
protected int |
rw |
protected int |
rx |
protected int |
ry |
double |
skewness |
boolean |
stackStatistics
Used by HistogramWindow
|
double |
stdDev |
double |
umean
Uncalibrated mean
|
double |
upperThreshold
Maximum threshold when "Limit to threshold" enabled
|
protected int |
width |
double |
xCenterOfMass |
double |
xCentroid |
int |
xstart
Used internally by AnalyzeParticles
|
double |
yCenterOfMass |
double |
yCentroid |
int |
ystart
Used internally by AnalyzeParticles
|
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 and Description |
---|
ImageStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
drawEllipse(ImageProcessor ip) |
long[] |
getHistogram()
Returns the histogram as an array of longs.
|
static ImageStatistics |
getStatistics(ImageProcessor ip) |
static ImageStatistics |
getStatistics(ImageProcessor ip,
int mOptions,
Calibration cal) |
protected void |
saveThreshold(double minThreshold,
double maxThreshold,
Calibration cal) |
String |
toString() |
public int[] histogram
public int pixelCount
public long longPixelCount
public int mode
public double dmode
public double area
public double min
public double max
public double mean
public double median
public double stdDev
public double skewness
public double kurtosis
public double xCentroid
public double yCentroid
public double xCenterOfMass
public double yCenterOfMass
public double roiX
public double roiY
public double roiWidth
public double roiHeight
public double umean
public double major
public double minor
public double angle
public int[] histogram16
protected long[] longHistogram
public double areaFraction
public int xstart
public int ystart
public boolean stackStatistics
public double lowerThreshold
public double upperThreshold
public double histMin
public double histMax
public int histYMax
public int maxCount
public int nBins
public double binSize
protected int width
protected int height
protected int rx
protected int ry
protected int rw
protected int rh
protected double pw
protected double ph
protected Calibration cal
public static ImageStatistics getStatistics(ImageProcessor ip)
public static ImageStatistics getStatistics(ImageProcessor ip, int mOptions, Calibration cal)
public void drawEllipse(ImageProcessor ip)
public long[] getHistogram()
protected void saveThreshold(double minThreshold, double maxThreshold, Calibration cal)