Class EmptyHistogramConstant
Object
AnchorBean<CalculateLevel>
InitializableBean<CalculateLevel, NullInitialization>
NullParametersBean<CalculateLevel>
CalculateLevel
CalculateLevelUnary
EmptyHistogramConstant
public class EmptyHistogramConstant
extends CalculateLevelUnary
Specifies a constant if a histogram is empty, otherwise delegates to another {#link
org.anchoranalysis.image.bean.threshold.CalculateLevel}
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.image.bean.threshold.CalculateLevelUnary
calculateLevelFromDelegate, getCalculateLevel, setCalculateLevelMethods inherited from class org.anchoranalysis.bean.NullParametersBean
initializeRecursive, onInitialization, onInitializationMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
EmptyHistogramConstant
public EmptyHistogramConstant()
-
-
Method Details
-
calculateLevel
public int calculateLevel(Histogram histogram) throws OperationFailedException - Specified by:
calculateLevelin classCalculateLevel- Throws:
OperationFailedException
-
equals
- Overrides:
equalsin classCalculateLevelUnary
-
canEqual
- Overrides:
canEqualin classCalculateLevelUnary
-
hashCode
public int hashCode()- Overrides:
hashCodein classCalculateLevelUnary
-
getValue
public int getValue() -
setValue
public void setValue(int value)
-