Class FeatureInputObjectCollection
Object
org.anchoranalysis.feature.input.FeatureInputDimensions
org.anchoranalysis.feature.input.FeatureInputEnergy
org.anchoranalysis.image.feature.input.FeatureInputObjectCollection
- All Implemented Interfaces:
FeatureInput,FeatureInputDictionary,FeatureInputWithResolution
public class FeatureInputObjectCollection extends FeatureInputEnergy
A feature input representing a collection of objects, optionally associated with an energy stack.
This class extends FeatureInputEnergy to provide functionality specific to object collections.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FeatureInputObjectCollection(org.anchoranalysis.image.voxel.object.ObjectCollection objects)Constructs a FeatureInputObjectCollection with a collection of objects.FeatureInputObjectCollection(org.anchoranalysis.image.voxel.object.ObjectCollection objects, Optional<EnergyStack> energyStack)Constructs a FeatureInputObjectCollection with a collection of objects and an optional energy stack. -
Method Summary
Methods inherited from class org.anchoranalysis.feature.input.FeatureInputEnergy
dimensions, dimensionsOptional, dimensionsRequired, getDictionaryOptional, getEnergyStackOptional, getEnergyStackRequired, getResolutionOptional, getUnitConverterOptional, setEnergyStack, setEnergyStackMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputDictionary
getDictionaryRequiredMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
FeatureInputObjectCollection
public FeatureInputObjectCollection(org.anchoranalysis.image.voxel.object.ObjectCollection objects)Constructs a FeatureInputObjectCollection with a collection of objects.- Parameters:
objects- the collection of objects to be associated with this input
-
FeatureInputObjectCollection
public FeatureInputObjectCollection(org.anchoranalysis.image.voxel.object.ObjectCollection objects, Optional<EnergyStack> energyStack)Constructs a FeatureInputObjectCollection with a collection of objects and an optional energy stack.- Parameters:
objects- the collection of objects to be associated with this inputenergyStack- an optional energy stack to be associated with this input
-
-
Method Details
-
equals
- Overrides:
equalsin classFeatureInputEnergy
-
canEqual
- Overrides:
canEqualin classFeatureInputEnergy
-
hashCode
public int hashCode()- Overrides:
hashCodein classFeatureInputEnergy
-
getObjects
public org.anchoranalysis.image.voxel.object.ObjectCollection getObjects()The collection of objects associated with this feature input.
-