public class OutlineKernel extends OutlineKernelBase
In other words, given a binary-mask, it retains any on pixel that touches an off pixel, and sets all other voxels to off.
Constructor and Description |
---|
OutlineKernel() |
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.
|
firstCheck
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.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.