public class CountKernelNeighborhoodMask extends CountKernel
ObjectMask
.
i.e. the sum of all faces of a voxel that touch the face of a voxel belonging to a neighboring pixel
Constructor and Description |
---|
CountKernelNeighborhoodMask(ObjectMask objectRequireHigh)
Create with object-mask.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesNeighborVoxelQualify(Point3i point)
Whether a particular neighboring voxel is accepted or not.
|
calculateAt, notifyBuffer
public CountKernelNeighborhoodMask(ObjectMask objectRequireHigh)
objectRequireHigh
- an object with coordinates relative to the BinaryVoxels
the
kernel is being applied on, only on whose on voxels is a neighboring voxel
considered.protected boolean doesNeighborVoxelQualify(Point3i point)
CountKernel
doesNeighborVoxelQualify
in class CountKernel
point
- the neighboring point which is queried if it qualifies or not.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.