public class ClampHistogramMax extends CalculateLevelUnary
Constructor and Description |
---|
ClampHistogramMax() |
Modifier and Type | Method and Description |
---|---|
int |
calculateLevel(Histogram histogram)
Determines a voxel intensity that can be used for thresholding.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getMax() |
int |
hashCode() |
void |
setMax(int max) |
calculateLevelFromDelegate, getCalculateLevel, setCalculateLevel
initializeRecursive, onInitialization, onInitialization
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public int calculateLevel(Histogram histogram) throws OperationFailedException
CalculateLevel
calculateLevel
in class 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 CalculateLevelUnary
protected boolean canEqual(Object other)
canEqual
in class CalculateLevelUnary
public int hashCode()
hashCode
in class CalculateLevelUnary
public int getMax()
public void setMax(int max)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.