Class BlurImageOps

java.lang.Object
boofcv.alg.filter.blur.BlurImageOps

@Generated("boofcv.alg.filter.blur.GenerateBlurImageOps") public class BlurImageOps extends Object
Catch all class for function which "blur" an image, typically used to "reduce" the amount of noise in the image.

DO NOT MODIFY. Automatically generated code created by GenerateBlurImageOps

  • Constructor Details

    • BlurImageOps

      public BlurImageOps()
  • Method Details

    • mean

      public static GrayU8 mean(GrayU8 input, @Nullable @Nullable GrayU8 output, int radius, @Nullable @Nullable GrayU8 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radius - Radius of the box blur function.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayU8 mean(GrayU8 input, @Nullable @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable @Nullable GrayU8 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanB

      public static GrayU8 meanB(GrayU8 input, @Nullable @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable @Nullable ImageBorder_S32<GrayU8> binput, @Nullable @Nullable GrayU8 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanGeometric

      public static GrayU8 meanGeometric(GrayU8 input, @Nullable @Nullable GrayU8 output, int radiusX, int radiusY)
      Applies a geometric mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      Returns:
      Output blurred image.
      See Also:
    • meanAdaptive

      public static GrayU8 meanAdaptive(GrayU8 input, @Nullable @Nullable GrayU8 output, int radiusX, int radiusY, double noiseVariance)
      Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      noiseVariance - Amount of additive pixel noise
      Returns:
      Output blurred image.
      See Also:
    • gaussian

      public static GrayU8 gaussian(GrayU8 input, @Nullable @Nullable GrayU8 output, double sigma, int radius, @Nullable @Nullable GrayU8 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static GrayU8 gaussian(GrayU8 input, @Nullable @Nullable GrayU8 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable GrayU8 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedU8 gaussian(InterleavedU8 input, @Nullable @Nullable InterleavedU8 output, double sigma, int radius, @Nullable @Nullable InterleavedU8 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedU8 gaussian(InterleavedU8 input, @Nullable @Nullable InterleavedU8 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable InterleavedU8 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayU16 mean(GrayU16 input, @Nullable @Nullable GrayU16 output, int radius, @Nullable @Nullable GrayU16 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radius - Radius of the box blur function.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayU16 mean(GrayU16 input, @Nullable @Nullable GrayU16 output, int radiusX, int radiusY, @Nullable @Nullable GrayU16 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanB

      public static GrayU16 meanB(GrayU16 input, @Nullable @Nullable GrayU16 output, int radiusX, int radiusY, @Nullable @Nullable ImageBorder_S32<GrayU16> binput, @Nullable @Nullable GrayU16 storage, @Nullable @Nullable GrowArray<DogArray_I32> workVert)
      Applies a mean box filter with image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanGeometric

      public static GrayU16 meanGeometric(GrayU16 input, @Nullable @Nullable GrayU16 output, int radiusX, int radiusY)
      Applies a geometric mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      Returns:
      Output blurred image.
      See Also:
    • meanAdaptive

      public static GrayU16 meanAdaptive(GrayU16 input, @Nullable @Nullable GrayU16 output, int radiusX, int radiusY, double noiseVariance)
      Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      noiseVariance - Amount of additive pixel noise
      Returns:
      Output blurred image.
      See Also:
    • gaussian

      public static GrayU16 gaussian(GrayU16 input, @Nullable @Nullable GrayU16 output, double sigma, int radius, @Nullable @Nullable GrayU16 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static GrayU16 gaussian(GrayU16 input, @Nullable @Nullable GrayU16 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable GrayU16 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedU16 gaussian(InterleavedU16 input, @Nullable @Nullable InterleavedU16 output, double sigma, int radius, @Nullable @Nullable InterleavedU16 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedU16 gaussian(InterleavedU16 input, @Nullable @Nullable InterleavedU16 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable InterleavedU16 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayF32 mean(GrayF32 input, @Nullable @Nullable GrayF32 output, int radius, @Nullable @Nullable GrayF32 storage, @Nullable @Nullable GrowArray<DogArray_F32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radius - Radius of the box blur function.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayF32 mean(GrayF32 input, @Nullable @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable @Nullable GrayF32 storage, @Nullable @Nullable GrowArray<DogArray_F32> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanB

      public static GrayF32 meanB(GrayF32 input, @Nullable @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable @Nullable ImageBorder_F32 binput, @Nullable @Nullable GrayF32 storage, @Nullable @Nullable GrowArray<DogArray_F32> workVert)
      Applies a mean box filter with image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanGeometric

      public static GrayF32 meanGeometric(GrayF32 input, @Nullable @Nullable GrayF32 output, int radiusX, int radiusY)
      Applies a geometric mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      Returns:
      Output blurred image.
      See Also:
    • meanAdaptive

      public static GrayF32 meanAdaptive(GrayF32 input, @Nullable @Nullable GrayF32 output, int radiusX, int radiusY, double noiseVariance)
      Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      noiseVariance - Amount of additive pixel noise
      Returns:
      Output blurred image.
      See Also:
    • gaussian

      public static GrayF32 gaussian(GrayF32 input, @Nullable @Nullable GrayF32 output, double sigma, int radius, @Nullable @Nullable GrayF32 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static GrayF32 gaussian(GrayF32 input, @Nullable @Nullable GrayF32 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable GrayF32 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedF32 gaussian(InterleavedF32 input, @Nullable @Nullable InterleavedF32 output, double sigma, int radius, @Nullable @Nullable InterleavedF32 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedF32 gaussian(InterleavedF32 input, @Nullable @Nullable InterleavedF32 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable InterleavedF32 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayF64 mean(GrayF64 input, @Nullable @Nullable GrayF64 output, int radius, @Nullable @Nullable GrayF64 storage, @Nullable @Nullable GrowArray<DogArray_F64> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radius - Radius of the box blur function.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static GrayF64 mean(GrayF64 input, @Nullable @Nullable GrayF64 output, int radiusX, int radiusY, @Nullable @Nullable GrayF64 storage, @Nullable @Nullable GrowArray<DogArray_F64> workVert)
      Applies a mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanB

      public static GrayF64 meanB(GrayF64 input, @Nullable @Nullable GrayF64 output, int radiusX, int radiusY, @Nullable @Nullable ImageBorder_F64 binput, @Nullable @Nullable GrayF64 storage, @Nullable @Nullable GrowArray<DogArray_F64> workVert)
      Applies a mean box filter with image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanGeometric

      public static GrayF64 meanGeometric(GrayF64 input, @Nullable @Nullable GrayF64 output, int radiusX, int radiusY)
      Applies a geometric mean box filter with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      Returns:
      Output blurred image.
      See Also:
    • meanAdaptive

      public static GrayF64 meanAdaptive(GrayF64 input, @Nullable @Nullable GrayF64 output, int radiusX, int radiusY, double noiseVariance)
      Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      noiseVariance - Amount of additive pixel noise
      Returns:
      Output blurred image.
      See Also:
    • gaussian

      public static GrayF64 gaussian(GrayF64 input, @Nullable @Nullable GrayF64 output, double sigma, int radius, @Nullable @Nullable GrayF64 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static GrayF64 gaussian(GrayF64 input, @Nullable @Nullable GrayF64 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable GrayF64 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedF64 gaussian(InterleavedF64 input, @Nullable @Nullable InterleavedF64 output, double sigma, int radius, @Nullable @Nullable InterleavedF64 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static InterleavedF64 gaussian(InterleavedF64 input, @Nullable @Nullable InterleavedF64 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable @Nullable InterleavedF64 storage)
      Applies Gaussian blur.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static <T extends ImageGray<T>> Planar<T> gaussian(Planar<T> input, @Nullable @Nullable Planar<T> output, double sigma, int radius, @Nullable T storage)
      Applies Gaussian blur to a Planar
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigma - Gaussian distribution's sigma. If ≤ 0 then will be selected based on radius.
      radius - Radius of the Gaussian blur function. If ≤ 0 then radius will be determined by sigma.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • gaussian

      public static <T extends ImageGray<T>> Planar<T> gaussian(Planar<T> input, @Nullable @Nullable Planar<T> output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable T storage)
      Applies Gaussian blur to a Planar
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      sigmaX - Gaussian distribution's sigma along x-axis. If ≤ 0 then will be selected based on radius.
      radiusX - Radius of the Gaussian blur function along x-axis. If ≤ 0 then radius will be determined by sigma.
      sigmaY - Gaussian distribution's sigma along y-axis. If ≤ 0 then will be selected based on radius.
      radiusY - Radius of the Gaussian blur function along y-axis. If ≤ 0 then radius will be determined by sigma.
      Returns:
      Output blurred image.
    • mean

      public static <T extends ImageGray<T>> Planar<T> mean(Planar<T> input, @Nullable @Nullable Planar<T> output, int radius, @Nullable T storage, @Nullable @Nullable GrowArray workVert)
      Applies mean box filter to a Planar
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radius - Radius of the box blur function.
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • mean

      public static <T extends ImageGray<T>> Planar<T> mean(Planar<T> input, @Nullable @Nullable Planar<T> output, int radiusX, int radiusY, @Nullable T storage, @Nullable @Nullable GrowArray workVert)
      Applies a mean box filter with weighted borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • meanGeometric

      public static <T extends ImageGray<T>> Planar<T> meanGeometric(Planar<T> input, @Nullable @Nullable Planar<T> output, int radiusX, int radiusY)
      Applies a geometric mean box filter with re-weighted image borders.
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis.
      Returns:
      Output blurred image.
    • meanAdaptive

      public static <T extends ImageGray<T>> Planar<T> meanAdaptive(Planar<T> input, @Nullable @Nullable Planar<T> output, int radiusX, int radiusY, double noiseVariance)
      Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis.
      noiseVariance - Amount of additive pixel noise
      Returns:
      Output blurred image.
    • meanB

      public static <T extends ImageGray<T>> Planar<T> meanB(Planar<T> input, @Nullable @Nullable Planar<T> output, int radiusX, int radiusY, @Nullable @Nullable ImageBorder<T> binput, @Nullable T storage, @Nullable @Nullable GrowArray workVert)
      Applies a mean box filter with extended borders.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Radius of the box blur function along the x-axis
      radiusY - Radius of the box blur function along the y-axis
      storage - (Optional) Storage for intermediate results. Same size as input image. Can be null.
      Returns:
      Output blurred image.
    • median

      public static GrayU8 median(GrayU8 input, @Nullable @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable @Nullable GrowArray<DogArray_I32> work)
      Applies a median filter.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Size of the filter region. x-axis
      radiusY - Size of the filter region. y-axis
      work - (Optional) Creates local workspace arrays. Nullable.
      Returns:
      Output blurred image.
    • median

      public static GrayF32 median(GrayF32 input, @Nullable @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable @Nullable GrowArray<DogArray_F32> work)
      Applies a median filter.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Size of the filter region. x-axis
      radiusY - Size of the filter region. y-axis
      work - (Optional) Creates local workspace arrays. Nullable.
      Returns:
      Output blurred image.
    • median

      public static <T extends ImageGray<T>> Planar<T> median(Planar<T> input, @Nullable @Nullable Planar<T> output, int radiusX, int radiusY, @Nullable @Nullable GrowArray<?> work)
      Applies median filter to a Planar
      Type Parameters:
      T - Input image type.
      Parameters:
      input - Input image. Not modified.
      output - (Optional) Storage for output image, Can be null. Modified.
      radiusX - Size of the filter region. x-axis
      radiusY - Size of the filter region. y-axis
      Returns:
      Output blurred image.