Class ConvolveImageBox


  • public class ConvolveImageBox
    extends java.lang.Object
    Convolves a kernel which is composed entirely of 1's across an image. This special kernel can be highly optimized and has a computational complexity independent of the kernel size.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void horizontal​(boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, int radius)
      Performs a horizontal 1D convolution of a box kernel across the image
      static void horizontal​(boofcv.struct.image.GrayS16 input, boofcv.struct.image.GrayI16 output, int radius)
      Performs a horizontal 1D convolution of a box kernel across the image
      static void horizontal​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayI16 output, int radius)
      Performs a horizontal 1D convolution of a box kernel across the image
      static void horizontal​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayS32 output, int radius)
      Performs a horizontal 1D convolution of a box kernel across the image
      static void vertical​(boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, int radius, boofcv.concurrency.FWorkArrays work)
      Performs a vertical 1D convolution of a box kernel across the image
      static void vertical​(boofcv.struct.image.GrayS16 input, boofcv.struct.image.GrayI16 output, int radius, boofcv.concurrency.IWorkArrays work)
      Performs a vertical 1D convolution of a box kernel across the image
      static void vertical​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayI16 output, int radius, boofcv.concurrency.IWorkArrays work)
      Performs a vertical 1D convolution of a box kernel across the image
      static void vertical​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayS32 output, int radius, boofcv.concurrency.IWorkArrays work)
      Performs a vertical 1D convolution of a box kernel across the image
      • Methods inherited from class java.lang.Object

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

      • ConvolveImageBox

        public ConvolveImageBox()
    • Method Detail

      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayF32 input,
                                      boofcv.struct.image.GrayF32 output,
                                      int radius)
        Performs a horizontal 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayU8 input,
                                      boofcv.struct.image.GrayI16 output,
                                      int radius)
        Performs a horizontal 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayU8 input,
                                      boofcv.struct.image.GrayS32 output,
                                      int radius)
        Performs a horizontal 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayS16 input,
                                      boofcv.struct.image.GrayI16 output,
                                      int radius)
        Performs a horizontal 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayF32 input,
                                    boofcv.struct.image.GrayF32 output,
                                    int radius,
                                    @Nullable
                                    boofcv.concurrency.FWorkArrays work)
        Performs a vertical 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayU8 input,
                                    boofcv.struct.image.GrayI16 output,
                                    int radius,
                                    @Nullable
                                    boofcv.concurrency.IWorkArrays work)
        Performs a vertical 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayU8 input,
                                    boofcv.struct.image.GrayS32 output,
                                    int radius,
                                    @Nullable
                                    boofcv.concurrency.IWorkArrays work)
        Performs a vertical 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayS16 input,
                                    boofcv.struct.image.GrayI16 output,
                                    int radius,
                                    @Nullable
                                    boofcv.concurrency.IWorkArrays work)
        Performs a vertical 1D convolution of a box kernel across the image
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        radius - Kernel size.