Class BinaryKernel
- Direct Known Subclasses:
AndKernel
,BinaryKernelMorphological
,ConditionalKernel
Base class for kernels that return a boolean for every voxel.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BinaryKernel
(int size) Creates with a specific kernel-size. -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
calculateAt
(KernelPointCursor point) Calculates the boolean at a particular point.Methods inherited from class org.anchoranalysis.image.voxel.kernel.Kernel
getSize, notifyBuffer
-
Constructor Details
-
BinaryKernel
protected BinaryKernel(int size) Creates with a specific kernel-size.- Parameters:
size
- the size of the kernel-matrix in one dimension, either X or Y. This size should always be an odd number.
-
-
Method Details
-
calculateAt
Calculates the boolean at a particular point.- Parameters:
point
- the point.- Returns:
- the boolean result at this point.
-