Class ErosionKernel
Object
Kernel
BinaryKernel
BinaryKernelMorphological
ErosionKernel
Erosion with a 3x3 or 3x3x3 kernel size.
- Author:
 - Owen Feehan
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoesNeighborQualify(boolean inside, KernelPointCursor point, Supplier<UnsignedByteBuffer> buffer, int zShift) Checks whether a particular neighbor voxel qualifies to make the current voxel an outline voxel.protected booleanfirstCheck(KernelPointCursor point, UnsignedByteBuffer buffer) The first check done on the kernel center-point, before checking any neighbors.Methods inherited from class org.anchoranalysis.image.voxel.kernel.morphological.BinaryKernelMorphological
calculateAt, notifyBuffer 
- 
Constructor Details
- 
ErosionKernel
public ErosionKernel()Default constructor. 
 - 
 - 
Method Details
- 
doesNeighborQualify
protected boolean doesNeighborQualify(boolean inside, KernelPointCursor point, Supplier<UnsignedByteBuffer> buffer, int zShift) Checks whether a particular neighbor voxel qualifies to make the current voxel an outline voxel.- Specified by:
 doesNeighborQualifyin classBinaryKernelMorphological- Parameters:
 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.- Returns:
 - true if the neighboring-point satisfied the conditions.
 
 - 
firstCheck
Description copied from class:BinaryKernelMorphologicalThe first check done on the kernel center-point, before checking any neighbors.- Specified by:
 firstCheckin classBinaryKernelMorphological- Parameters:
 point- a kernel focused on a particular point.buffer- the associated buffer.- Returns:
 - true if the check passed, and false otherwise.
 
 
 -