Class NormalizeByMax
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.image.bean.nonbean.init.ImageInitialization>
org.anchoranalysis.image.bean.ImageBean<org.anchoranalysis.image.feature.bean.VoxelScore>
org.anchoranalysis.image.feature.bean.VoxelScore
org.anchoranalysis.plugin.image.feature.bean.score.SingleChannel
org.anchoranalysis.plugin.image.feature.bean.score.NormalizeByMax
public class NormalizeByMax extends SingleChannel
This assumes the histograms correspond to the energy channels exactly (in terms of indexing)
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description NormalizeByMax() -
Method Summary
Modifier and Type Method Description protected doublederiveScoreFromVoxel(int voxelIntensity)Derives a score from a single voxel intensity.voidinitialize(List<org.anchoranalysis.math.histogram.Histogram> histograms, Optional<org.anchoranalysis.core.value.Dictionary> dictionary)Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.score.SingleChannel
calculate, getEnergyChannelIndex, setEnergyChannelIndexMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
-
Constructor Details
-
NormalizeByMax
public NormalizeByMax()
-
-
Method Details
-
initialize
public void initialize(List<org.anchoranalysis.math.histogram.Histogram> histograms, Optional<org.anchoranalysis.core.value.Dictionary> dictionary) throws org.anchoranalysis.core.exception.InitializeException- Overrides:
initializein classorg.anchoranalysis.image.feature.bean.VoxelScore- Throws:
org.anchoranalysis.core.exception.InitializeException
-
deriveScoreFromVoxel
protected double deriveScoreFromVoxel(int voxelIntensity)Description copied from class:SingleChannelDerives a score from a single voxel intensity.- Specified by:
deriveScoreFromVoxelin classSingleChannel- Parameters:
voxelIntensity- the intensity of the voxel in the specified energy channel- Returns:
- the calculated score for the voxel
-