public class HasTouchingVoxels extends TouchingVoxels
A voxel in the second object is 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) intersect. So as not to waste computation-time in useless areas.
Constructor and Description |
---|
HasTouchingVoxels() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateWithIntersection(ObjectMask first,
ObjectMask second,
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 first, ObjectMask second, 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.