Class NormalizeByMax

Object
AnchorBean<VoxelScore>
InitializableBean<VoxelScore, ImageInitialization>
ImageBean<VoxelScore>
VoxelScore
SingleChannel
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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    deriveScoreFromVoxel(int voxelIntensity)
    Derives a score from a single voxel intensity.
    void
    initialize(List<Histogram> histograms, Optional<Dictionary> dictionary)
     

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.score.SingleChannel

    calculate, getEnergyChannelIndex, setEnergyChannelIndex

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NormalizeByMax

      public NormalizeByMax()
  • Method Details

    • initialize

      public void initialize(List<Histogram> histograms, Optional<Dictionary> dictionary) throws InitializeException
      Overrides:
      initialize in class VoxelScore
      Throws:
      InitializeException
    • deriveScoreFromVoxel

      protected double deriveScoreFromVoxel(int voxelIntensity)
      Description copied from class: SingleChannel
      Derives a score from a single voxel intensity.
      Specified by:
      deriveScoreFromVoxel in class SingleChannel
      Parameters:
      voxelIntensity - the intensity of the voxel in the specified energy channel
      Returns:
      the calculated score for the voxel