Class CalculateDeriveObjectInput
Object
CalculationPart<FeatureInputSingleObject, FeatureInputStack>
CalculateDeriveObjectInput
- All Implemented Interfaces:
ResettableCalculation
public class CalculateDeriveObjectInput
extends CalculationPart<FeatureInputSingleObject, FeatureInputStack>
Derives a
FeatureInputSingleObject from a FeatureInputStack by extracting an
object mask from a specific energy channel.
This class extends CalculationPart to provide functionality for deriving a single
object input from a stack input.
-
Constructor Summary
ConstructorsConstructorDescriptionCalculateDeriveObjectInput(int energyIndex) Creates a newCalculateDeriveObjectInputinstance. -
Method Summary
Methods inherited from class org.anchoranalysis.feature.calculate.part.CalculationPart
getOrCalculate, hasCachedResult, invalidate
-
Constructor Details
-
CalculateDeriveObjectInput
public CalculateDeriveObjectInput(int energyIndex) Creates a newCalculateDeriveObjectInputinstance.- Parameters:
energyIndex- The index of the energy channel to extract the object mask from.
-
-
Method Details
-
execute
protected FeatureInputSingleObject execute(FeatureInputStack input) throws FeatureCalculationException - Specified by:
executein classCalculationPart<FeatureInputSingleObject, FeatureInputStack>- Throws:
FeatureCalculationException
-
equals
- Specified by:
equalsin classCalculationPart<FeatureInputSingleObject, FeatureInputStack>
-
canEqual
-
hashCode
public int hashCode()- Specified by:
hashCodein classCalculationPart<FeatureInputSingleObject, FeatureInputStack>
-