Class IntensityMeanShell
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<org.anchoranalysis.feature.bean.Feature<T>,org.anchoranalysis.feature.initialization.FeatureInitialization>
org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
org.anchoranalysis.image.feature.bean.object.single.FeatureSingleObject
org.anchoranalysis.plugin.image.feature.bean.object.single.intensity.FeatureEnergyChannel
org.anchoranalysis.plugin.image.feature.bean.object.single.intensity.IntensityMeanShellBase
org.anchoranalysis.plugin.image.feature.bean.object.single.intensity.IntensityMeanShell
public class IntensityMeanShell extends IntensityMeanShellBase
Constructs a 'shell' around an object by a number of dilation/erosion operations (not including
the original object-mask) and measures the mean intensity of this shell
-
Constructor Summary
Constructors Constructor Description IntensityMeanShell() -
Method Summary
Modifier and Type Method Description protected doublecalculateForShell(org.anchoranalysis.image.voxel.object.ObjectMask object, org.anchoranalysis.image.core.channel.Channel channel)Calculates the feature value for the given shell and channel.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.object.single.intensity.IntensityMeanShellBase
calculateForChannel, checkMisconfigured, describeParameters, getEmptyValue, getEnergyIndexMask, getIterations, isInverse, isInverseMask, setEmptyValue, setEnergyIndexMask, setInverse, setInverseMask, setIterationsMethods inherited from class org.anchoranalysis.plugin.image.feature.bean.object.single.intensity.FeatureEnergyChannel
calculate, getEnergyIndex, setEnergyIndexMethods inherited from class org.anchoranalysis.image.feature.bean.object.single.FeatureSingleObject
inputTypeMethods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
-
Constructor Details
-
IntensityMeanShell
public IntensityMeanShell()
-
-
Method Details
-
calculateForShell
protected double calculateForShell(org.anchoranalysis.image.voxel.object.ObjectMask object, org.anchoranalysis.image.core.channel.Channel channel) throws org.anchoranalysis.feature.calculate.FeatureCalculationExceptionDescription copied from class:IntensityMeanShellBaseCalculates the feature value for the given shell and channel.- Specified by:
calculateForShellin classIntensityMeanShellBase- Parameters:
object- theObjectMaskrepresenting the shellchannel- theChannelto calculate the feature on- Returns:
- the calculated feature value
- Throws:
org.anchoranalysis.feature.calculate.FeatureCalculationException- if the calculation fails
-