public class AsObjectMask extends FeatureStack
Constructor and Description |
---|
AsObjectMask() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputStack> input)
Calculates a value for some input.
|
int |
getEnergyIndex()
The channel that that forms an object-mask with the bounding-box set to entire channel's
dimensions
|
Feature<FeatureInputSingleObject> |
getItem() |
void |
setEnergyIndex(int energyIndex)
The channel that that forms an object-mask with the bounding-box set to entire channel's
dimensions
|
void |
setItem(Feature<FeatureInputSingleObject> item) |
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputStack> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputStack>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.public Feature<FeatureInputSingleObject> getItem()
public void setItem(Feature<FeatureInputSingleObject> item)
public int getEnergyIndex()
public void setEnergyIndex(int energyIndex)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.