Class ImplAverageDownSample


  • @Generated("boofcv.alg.filter.misc.GenerateImplAverageDownSample")
    public class ImplAverageDownSample
    extends java.lang.Object

    * Overlays a rectangular grid on top of the src image and computes the average value within each cell which is then written into the dst image. The dst image must be smaller than or equal to the src image.

    DO NOT MODIFY. This code was automatically generated by GenerateImplAverageDownSample.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void horizontal​(boofcv.struct.image.GrayF32 src, boofcv.struct.image.GrayF32 dst)
      Down samples the image along the x-axis only.
      static void horizontal​(boofcv.struct.image.GrayF64 src, boofcv.struct.image.GrayF64 dst)
      Down samples the image along the x-axis only.
      static void horizontal​(boofcv.struct.image.GrayU16 src, boofcv.struct.image.GrayF32 dst)
      Down samples the image along the x-axis only.
      static void horizontal​(boofcv.struct.image.GrayU8 src, boofcv.struct.image.GrayF32 dst)
      Down samples the image along the x-axis only.
      static void vertical​(boofcv.struct.image.GrayF32 src, boofcv.struct.image.GrayF32 dst)
      Down samples the image along the y-axis only.
      static void vertical​(boofcv.struct.image.GrayF32 src, boofcv.struct.image.GrayI16 dst)
      Down samples the image along the y-axis only.
      static void vertical​(boofcv.struct.image.GrayF32 src, boofcv.struct.image.GrayI8 dst)
      Down samples the image along the y-axis only.
      static void vertical​(boofcv.struct.image.GrayF64 src, boofcv.struct.image.GrayF64 dst)
      Down samples the image along the y-axis only.
      • Methods inherited from class java.lang.Object

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

      • ImplAverageDownSample

        public ImplAverageDownSample()
    • Method Detail

      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayU8 src,
                                      boofcv.struct.image.GrayF32 dst)
        Down samples the image along the x-axis only. Image height's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayF32 src,
                                    boofcv.struct.image.GrayI8 dst)
        Down samples the image along the y-axis only. Image width's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayU16 src,
                                      boofcv.struct.image.GrayF32 dst)
        Down samples the image along the x-axis only. Image height's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayF32 src,
                                    boofcv.struct.image.GrayI16 dst)
        Down samples the image along the y-axis only. Image width's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayF32 src,
                                      boofcv.struct.image.GrayF32 dst)
        Down samples the image along the x-axis only. Image height's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayF32 src,
                                    boofcv.struct.image.GrayF32 dst)
        Down samples the image along the y-axis only. Image width's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • horizontal

        public static void horizontal​(boofcv.struct.image.GrayF64 src,
                                      boofcv.struct.image.GrayF64 dst)
        Down samples the image along the x-axis only. Image height's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.
      • vertical

        public static void vertical​(boofcv.struct.image.GrayF64 src,
                                    boofcv.struct.image.GrayF64 dst)
        Down samples the image along the y-axis only. Image width's must be the same.
        Parameters:
        src - Input image. Not modified.
        dst - Output image. Modified.