Class CountKernelNeighborhoodMask
Object
Kernel
CountKernel
CountKernelNeighborhoodMask
The number of touching-faces of a voxel with a neighbor, so long as the neighbor is part of an
ObjectMask
.
i.e. the sum of all faces of a voxel that touch the face of a voxel belonging to a neighboring pixel
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionCountKernelNeighborhoodMask
(ObjectMask objectRequireHigh) Create with object-mask. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
doesNeighborVoxelQualify
(Point3i point) Whether a particular neighboring voxel is accepted or not.Methods inherited from class org.anchoranalysis.image.voxel.kernel.count.CountKernel
calculateAt, notifyBuffer
-
Constructor Details
-
CountKernelNeighborhoodMask
Create with object-mask.- Parameters:
objectRequireHigh
- an object with coordinates relative to theBinaryVoxels
the kernel is being applied on, only on whose on voxels is a neighboring voxel considered.
-
-
Method Details
-
doesNeighborVoxelQualify
Description copied from class:CountKernel
Whether a particular neighboring voxel is accepted or not.- Specified by:
doesNeighborVoxelQualify
in classCountKernel
- Parameters:
point
- the neighboring point which is queried if it qualifies or not.- Returns:
- true iff the point qualifies.
-