Class Constant
A constant value for thresholding.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.bean.NullParametersBean
initializeRecursive, onInitialization, onInitialization
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Constant
public Constant() -
Constant
public Constant(int level)
-
-
Method Details
-
calculateLevel
Description copied from class:CalculateLevel
Determines a voxel intensity that can be used for thresholding.- Specified by:
calculateLevel
in classCalculateLevel
- Parameters:
histogram
- a histogram of voxel-intensities from which a threshold-level can be derived.- Returns:
- the threshold-level.
-
equals
- Specified by:
equals
in classCalculateLevel
-
canEqual
-
hashCode
public int hashCode()- Specified by:
hashCode
in classCalculateLevel
-
getLevel
public int getLevel() -
setLevel
public void setLevel(int level)
-