public class CalculateFeaturesForObjects<T extends FeatureInput> extends Object
Constructor and Description |
---|
CalculateFeaturesForObjects(CombineObjectsForFeatures<T> table,
InitializationWithEnergyStack initialization,
boolean suppressErrors,
FeatureCalculationContext<FeatureTableCalculator<T>> context) |
Modifier and Type | Method and Description |
---|---|
void |
calculateForObjects(ObjectCollection objects,
EnergyStack energyStack,
LabelsForInput labelsForInput)
Calculates the feature-results for
objects , and stores the results. |
void |
calculateForObjects(ObjectCollectionProvider provider,
LabelsForInput labelsForInput) |
public CalculateFeaturesForObjects(CombineObjectsForFeatures<T> table, InitializationWithEnergyStack initialization, boolean suppressErrors, FeatureCalculationContext<FeatureTableCalculator<T>> context) throws OperationFailedException
OperationFailedException
public void calculateForObjects(ObjectCollectionProvider provider, LabelsForInput labelsForInput) throws OperationFailedException
OperationFailedException
public void calculateForObjects(ObjectCollection objects, EnergyStack energyStack, LabelsForInput labelsForInput) throws OperationFailedException
objects
, and stores the results.objects
- the objects to calculate features for.labelsForInput
- how to assign labels to the input.energyStack
- the energy-stack.OperationFailedException
- if the operation cannot be completed, but not if a
particular feature calculation fails.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.