Class BinaryKernel

Object
Kernel
BinaryKernel
Direct Known Subclasses:
AndKernel, BinaryKernelMorphological, ConditionalKernel

public abstract class BinaryKernel extends Kernel
Base class for kernels that return a boolean for every voxel.
Author:
Owen Feehan
  • 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

      public abstract boolean calculateAt(KernelPointCursor point)
      Calculates the boolean at a particular point.
      Parameters:
      point - the point.
      Returns:
      the boolean result at this point.