Documentation of 'boofcv.alg.filter.binary.impl.ImplBinaryNaiveOps' Java class
ImplBinaryNaiveOps
boofcv.alg.filter.binary.impl

Class ImplBinaryNaiveOps



  • public class ImplBinaryNaiveOps
    extends java.lang.Object
    Simple unoptimized implementations of binary operations.
    See Also:
    BinaryImageOps
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void dilate4(GrayU8 input, GrayU8 output) 
      static void dilate8(GrayU8 input, GrayU8 output) 
      static void edge4(GrayU8 input, GrayU8 output) 
      static void edge8(GrayU8 input, GrayU8 output) 
      static void erode4(GrayU8 input, GrayU8 output) 
      static void erode8(GrayU8 input, GrayU8 output) 
      static boolean getF(GrayU8 image, int x, int y)
      If a point is inside the image true is returned if its value is not zero, otherwise false is returned.
      static boolean getT(GrayU8 image, int x, int y)
      If a point is inside the image true is returned if its value is not zero, otherwise true is returned.
      static void removePointNoise(GrayU8 input, GrayU8 output)
      Binary operation which is designed to remove small bits of spurious noise.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImplBinaryNaiveOps

        public ImplBinaryNaiveOps()
    • Method Detail

      • 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)
        Binary operation which is designed to remove small bits of spurious noise. An 8-neighborhood is used. If a pixel is connected to less than 2 neighbors then its value zero. If connected to more than 6 then its value is one. Otherwise it retains its original value.
        Parameters:
        input - Input image. Not modified.
        output - If not null, the output image. If null a new image is declared and returned. Modified.
      • getT

        public static boolean getT(GrayU8 image,
                                   int x,
                                   int y)
        If a point is inside the image true is returned if its value is not zero, otherwise true is returned.
      • getF

        public static boolean getF(GrayU8 image,
                                   int x,
                                   int y)
        If a point is inside the image true is returned if its value is not zero, otherwise false is returned.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.