public class NumberNeighboringVoxels extends OutlineKernelBase
What possible neighbors are specified by a binary-mask from an energy-channel. This should have with 255 high, and 0 low, and indicate all possible neighbor voxels. The region on the binary-mask coinciding with the object is irrelevant and be set to any value.
Constructor and Description |
---|
NumberNeighboringVoxels() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateWithParameters(ObjectMask object,
KernelApplicationParameters parameters,
CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) |
int |
getEnergyIndex()
Index of which channel in the energy-stack to select
|
void |
setEnergyIndex(int energyIndex)
Index of which channel in the energy-stack to select
|
calculate, isDo3D, isIgnoreAtThreshold, isOutsideAtThreshold, setDo3D, setIgnoreAtThreshold, setOutsideAtThreshold
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
protected double calculateWithParameters(ObjectMask object, KernelApplicationParameters parameters, CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) throws FeatureCalculationException
calculateWithParameters
in class OutlineKernelBase
FeatureCalculationException
public int getEnergyIndex()
public void setEnergyIndex(int energyIndex)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.