public final class ErosionKernel extends BinaryKernelMorphological
Constructor and Description |
---|
ErosionKernel()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesNeighborQualify(boolean inside,
KernelPointCursor point,
java.util.function.Supplier<UnsignedByteBuffer> buffer,
int zShift)
Checks whether a particular neighbor voxel qualifies to make the current voxel an outline
voxel.
|
protected boolean |
firstCheck(KernelPointCursor point,
UnsignedByteBuffer buffer)
The first check done on the kernel center-point, before checking any neighbors.
|
calculateAt, notifyBuffer
protected boolean doesNeighborQualify(boolean inside, KernelPointCursor point, java.util.function.Supplier<UnsignedByteBuffer> buffer, int zShift)
doesNeighborQualify
in class BinaryKernelMorphological
inside
- true iff the neighboring-point is inside the scene.point
- the point.buffer
- the associated buffer.zShift
- the buffer associated with the current point.protected boolean firstCheck(KernelPointCursor point, UnsignedByteBuffer buffer)
BinaryKernelMorphological
firstCheck
in class BinaryKernelMorphological
point
- a kernel focused on a particular point.buffer
- the associated buffer.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.