Class ConvolveImageDownNormalized


  • public class ConvolveImageDownNormalized
    extends java.lang.Object

    Specialized convolution where the center of the convolution skips over a constant number of pixels in the x and/or y axis. Image borders are handled by renormalizing the kernel. The output it written into an image in a dense fashion, resulting in it being at a lower resolution. A typical application for this is down sampling inside an image pyramid.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void convolve​(boofcv.struct.convolve.Kernel2D_F32 kernel, boofcv.struct.image.GrayF32 image, boofcv.struct.image.GrayF32 dest, int skip)
      Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void convolve​(boofcv.struct.convolve.Kernel2D_S32 kernel, boofcv.struct.image.GrayS16 image, boofcv.struct.image.GrayI16 dest, int skip)
      Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void convolve​(boofcv.struct.convolve.Kernel2D_S32 kernel, boofcv.struct.image.GrayU8 image, boofcv.struct.image.GrayI8 dest, int skip)
      Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void horizontal​(boofcv.struct.convolve.Kernel1D_F32 kernel, boofcv.struct.image.GrayF32 image, boofcv.struct.image.GrayF32 dest, int skip)
      Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void horizontal​(boofcv.struct.convolve.Kernel1D_S32 kernel, boofcv.struct.image.GrayS16 image, boofcv.struct.image.GrayI16 dest, int skip)
      Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void horizontal​(boofcv.struct.convolve.Kernel1D_S32 kernel, boofcv.struct.image.GrayU8 image, boofcv.struct.image.GrayI8 dest, int skip)
      Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void vertical​(boofcv.struct.convolve.Kernel1D_F32 kernel, boofcv.struct.image.GrayF32 image, boofcv.struct.image.GrayF32 dest, int skip)
      Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void vertical​(boofcv.struct.convolve.Kernel1D_S32 kernel, boofcv.struct.image.GrayS16 image, boofcv.struct.image.GrayI16 dest, int skip)
      Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static void vertical​(boofcv.struct.convolve.Kernel1D_S32 kernel, boofcv.struct.image.GrayU8 image, boofcv.struct.image.GrayI8 dest, int skip)
      Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      • Methods inherited from class java.lang.Object

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

      • ConvolveImageDownNormalized

        public ConvolveImageDownNormalized()
    • Method Detail

      • horizontal

        public static void horizontal​(boofcv.struct.convolve.Kernel1D_F32 kernel,
                                      boofcv.struct.image.GrayF32 image,
                                      boofcv.struct.image.GrayF32 dest,
                                      int skip)
        Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • vertical

        public static void vertical​(boofcv.struct.convolve.Kernel1D_F32 kernel,
                                    boofcv.struct.image.GrayF32 image,
                                    boofcv.struct.image.GrayF32 dest,
                                    int skip)
        Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • convolve

        public static void convolve​(boofcv.struct.convolve.Kernel2D_F32 kernel,
                                    boofcv.struct.image.GrayF32 image,
                                    boofcv.struct.image.GrayF32 dest,
                                    int skip)
        Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • horizontal

        public static void horizontal​(boofcv.struct.convolve.Kernel1D_S32 kernel,
                                      boofcv.struct.image.GrayU8 image,
                                      boofcv.struct.image.GrayI8 dest,
                                      int skip)
        Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • vertical

        public static void vertical​(boofcv.struct.convolve.Kernel1D_S32 kernel,
                                    boofcv.struct.image.GrayU8 image,
                                    boofcv.struct.image.GrayI8 dest,
                                    int skip)
        Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • convolve

        public static void convolve​(boofcv.struct.convolve.Kernel2D_S32 kernel,
                                    boofcv.struct.image.GrayU8 image,
                                    boofcv.struct.image.GrayI8 dest,
                                    int skip)
        Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • horizontal

        public static void horizontal​(boofcv.struct.convolve.Kernel1D_S32 kernel,
                                      boofcv.struct.image.GrayS16 image,
                                      boofcv.struct.image.GrayI16 dest,
                                      int skip)
        Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • vertical

        public static void vertical​(boofcv.struct.convolve.Kernel1D_S32 kernel,
                                    boofcv.struct.image.GrayS16 image,
                                    boofcv.struct.image.GrayI16 dest,
                                    int skip)
        Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • convolve

        public static void convolve​(boofcv.struct.convolve.Kernel2D_S32 kernel,
                                    boofcv.struct.image.GrayS16 image,
                                    boofcv.struct.image.GrayI16 dest,
                                    int skip)
        Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        image - The original image. Not modified.
        dest - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.