public abstract class IntensityMeanShellBase extends FeatureEnergyChannel
Constructor and Description |
---|
IntensityMeanShellBase() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateForChannel(FeatureCalculationInput<FeatureInputSingleObject> input,
Channel channel) |
protected abstract double |
calculateForShell(ObjectMask shell,
Channel channel) |
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
double |
getEmptyValue() |
int |
getEnergyIndexMask()
A channel of the energyStack that is used as an additional mask using default byte values for
on and off.
|
MorphologicalIterations |
getIterations()
The number of dilations and erosions to apply and whether to do in the Z dimension.
|
boolean |
isInverse()
Iff true, calculates instead on the inverse of the object-mask (what's left when the shell is
removed).
|
boolean |
isInverseMask()
If true, uses the inverse of the passed mask.
|
void |
setEmptyValue(double emptyValue) |
void |
setEnergyIndexMask(int energyIndexMask)
A channel of the energyStack that is used as an additional mask using default byte values for
on and off.
|
void |
setInverse(boolean inverse)
Iff true, calculates instead on the inverse of the object-mask (what's left when the shell is
removed).
|
void |
setInverseMask(boolean inverseMask)
If true, uses the inverse of the passed mask.
|
void |
setIterations(MorphologicalIterations iterations)
The number of dilations and erosions to apply and whether to do in the Z dimension.
|
calculate, getEnergyIndex, setEnergyIndex
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<Feature<FeatureInputSingleObject>>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLpublic String describeParameters()
Feature
describeParameters
in class Feature<FeatureInputSingleObject>
protected double calculateForChannel(FeatureCalculationInput<FeatureInputSingleObject> input, Channel channel) throws FeatureCalculationException
calculateForChannel
in class FeatureEnergyChannel
FeatureCalculationException
protected abstract double calculateForShell(ObjectMask shell, Channel channel) throws FeatureCalculationException
FeatureCalculationException
public MorphologicalIterations getIterations()
public void setIterations(MorphologicalIterations iterations)
public boolean isInverse()
public void setInverse(boolean inverse)
public int getEnergyIndexMask()
public void setEnergyIndexMask(int energyIndexMask)
public boolean isInverseMask()
public void setInverseMask(boolean inverseMask)
public double getEmptyValue()
public void setEmptyValue(double emptyValue)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.