Class IntensityMoments
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.feature.initialization.FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<org.anchoranalysis.feature.bean.list.FeatureListProvider<T>,org.anchoranalysis.feature.bean.list.FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>
org.anchoranalysis.plugin.image.feature.bean.list.IntensityMoments
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack>>
public class IntensityMoments
extends org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.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:
- Moment (mathemathics), Image moment
-
Constructor Summary
Constructors Constructor Description IntensityMoments() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack>get()intgetMaximumNumberChannels()An upper limit on the number of channels in the energy-stack for which we create features.voidsetMaximumNumberChannels(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
-
Constructor Details
-
IntensityMoments
public IntensityMoments()
-
-
Method Details
-
get
public org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack> get() throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException- Throws:
org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
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.
-