public abstract class CalculateLevelUnary extends CalculateLevel
CalculateLevel
that calls a single delegate CalculateLevel
.Modifier | Constructor and Description |
---|---|
protected |
CalculateLevelUnary() |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateLevelFromDelegate(Histogram histogram)
Determines a voxel intensity that can be used for thresholding from the delegate
calculateLevel . |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
CalculateLevel |
getCalculateLevel()
The delegate
CalculateLevel . |
int |
hashCode() |
void |
setCalculateLevel(CalculateLevel calculateLevel)
The delegate
CalculateLevel . |
calculateLevel
initializeRecursive, onInitialization, onInitialization
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected int calculateLevelFromDelegate(Histogram histogram) throws OperationFailedException
calculateLevel
.histogram
- a histogram of voxel-intensities from which a threshold-level can be
derived.OperationFailedException
- if a level cannot be successfully calculated.public boolean equals(Object o)
equals
in class CalculateLevel
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class CalculateLevel
public CalculateLevel getCalculateLevel()
CalculateLevel
.public void setCalculateLevel(CalculateLevel calculateLevel)
CalculateLevel
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.