Class CalculateHistogram

Object
org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,​org.anchoranalysis.image.feature.input.FeatureInputStack>
org.anchoranalysis.plugin.image.feature.stack.calculation.CalculateHistogram
All Implemented Interfaces:
org.anchoranalysis.feature.calculate.cache.ResettableCalculation

public class CalculateHistogram
extends org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,​org.anchoranalysis.image.feature.input.FeatureInputStack>
Calculates a Histogram from a specific channel in a FeatureInputStack.

This class extends CalculationPart to compute a histogram for a given energy channel in the input stack.

  • Constructor Summary

    Constructors 
    Constructor Description
    CalculateHistogram​(int energyIndex)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(Object other)  
    boolean equals​(Object o)  
    protected org.anchoranalysis.math.histogram.Histogram execute​(org.anchoranalysis.image.feature.input.FeatureInputStack input)  
    int hashCode()  

    Methods inherited from class org.anchoranalysis.feature.calculate.part.CalculationPart

    getOrCalculate, hasCachedResult, invalidate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • execute

      protected org.anchoranalysis.math.histogram.Histogram execute​(org.anchoranalysis.image.feature.input.FeatureInputStack input) throws org.anchoranalysis.feature.calculate.FeatureCalculationException
      Specified by:
      execute in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,​org.anchoranalysis.image.feature.input.FeatureInputStack>
      Throws:
      org.anchoranalysis.feature.calculate.FeatureCalculationException
    • equals

      public boolean equals​(Object o)
      Specified by:
      equals in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,​org.anchoranalysis.image.feature.input.FeatureInputStack>
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,​org.anchoranalysis.image.feature.input.FeatureInputStack>