Class IntensityMoments
- All Implemented Interfaces:
Provider<FeatureList<FeatureInputStack>>
Calculate various moment-related statistics about the intensity of each channel of an image.
As the features are unaware of the number of channels in a particular stack, a large number of
features are created, referring to successive channels. If a feature references a channel that
does not exist in a particular image, then Double.NaN
will be calculated.
For each channel, the following is calculated:
- sum (zeroth raw moment)
- mean (first raw moment)
- standard-deviation (square root of the variance)
- variance (second central moment)
- skewness (normalized third central moment)
- kurtosis (standardized fourth central moment)
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.int
An upper limit on the number of channels in the energy-stack for which we create features.void
setMaximumNumberChannels
(int maximumNumberChannels) An upper limit on the number of channels in the energy-stack for which we create features.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
IntensityMoments
public IntensityMoments()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getMaximumNumberChannels
public int getMaximumNumberChannels()An upper limit on the number of channels in the energy-stack for which we create features. -
setMaximumNumberChannels
public void setMaximumNumberChannels(int maximumNumberChannels) An upper limit on the number of channels in the energy-stack for which we create features.
-