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
-
Constructor Details
-
CalculateHistogram
public CalculateHistogram(int energyIndex)
-
-
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:
executein classorg.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,org.anchoranalysis.image.feature.input.FeatureInputStack>- Throws:
org.anchoranalysis.feature.calculate.FeatureCalculationException
-
equals
- Specified by:
equalsin classorg.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,org.anchoranalysis.image.feature.input.FeatureInputStack>
-
canEqual
-
hashCode
public int hashCode()- Specified by:
hashCodein classorg.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.math.histogram.Histogram,org.anchoranalysis.image.feature.input.FeatureInputStack>
-