Class ImplBinaryInnerOps


public class ImplBinaryInnerOps extends Object

Optimized binary operations for the interior of an image only. Allows less bounds checking

DESIGN NOTE: Minimizing logical operations seems to boost performance significantly. Even if this means increasing the number of array accesses. So always summing the neighbors is faster than checking one and then summing

See Also:
  • Constructor Details

    • ImplBinaryInnerOps

      public ImplBinaryInnerOps()
  • Method Details

    • erode4

      public static void erode4(GrayU8 input, GrayU8 output)
    • dilate4

      public static void dilate4(GrayU8 input, GrayU8 output)
    • edge4

      public static void edge4(GrayU8 input, GrayU8 output)
    • erode8

      public static void erode8(GrayU8 input, GrayU8 output)
    • dilate8

      public static void dilate8(GrayU8 input, GrayU8 output)
    • edge8

      public static void edge8(GrayU8 input, GrayU8 output)
    • removePointNoise

      public static void removePointNoise(GrayU8 input, GrayU8 output)