public class NumberTouchingVoxels extends TouchingVoxels
A voxel in the second object is deemed touching if it has 4-connectivity with a voxel on the exterior of the first-object (source)
In practice, we do this only where the bounding-boxes (dilated by 1 pixels) intersection, so as to reduce computation-time.
Constructor and Description |
---|
NumberTouchingVoxels() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateWithIntersection(ObjectMask object1,
ObjectMask object2,
BoundingBox boxIntersect) |
calculate, createCountKernelMask, createParameters, isDo3D, setDo3D
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 calculateWithIntersection(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) throws FeatureCalculationException
calculateWithIntersection
in class TouchingVoxels
FeatureCalculationException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.