public class BasicDescriptiveStatisticsModel extends AbstractPixelStatisticsModel
Modifier and Type | Field and Description |
---|---|
double[] |
mean
The mean pixel value
|
double[] |
median
The median of pixel values
|
double[] |
mode
The mode of pixel values
|
double[] |
range
The range of pixel values
|
double[] |
variance
The variance of pixel values
|
ndims
Constructor and Description |
---|
BasicDescriptiveStatisticsModel(int ndims)
Construct a BasicDescriptiveStatisticsModel with the given
number of dimensions.
|
Modifier and Type | Method and Description |
---|---|
void |
estimateModel(MBFImage... images)
Estimate the model parameters from the given image(s).
|
String |
toString() |
estimateModel
public double[] mean
public double[] mode
public double[] median
public double[] range
public double[] variance
public BasicDescriptiveStatisticsModel(int ndims)
ndims
- number of dimensionspublic void estimateModel(MBFImage... images)
AbstractPixelStatisticsModel
estimateModel
in class AbstractPixelStatisticsModel
images
- list of images