Package boofcv.alg.filter.blur
Class BlurImageOps
java.lang.Object
boofcv.alg.filter.blur.BlurImageOps
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GrayF32
gaussian
(GrayF32 input, @Nullable GrayF32 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable GrayF32 storage) Applies Gaussian blur.static GrayF32
gaussian
(GrayF32 input, @Nullable GrayF32 output, double sigma, int radius, @Nullable GrayF32 storage) Applies Gaussian blur.static GrayF64
gaussian
(GrayF64 input, @Nullable GrayF64 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable GrayF64 storage) Applies Gaussian blur.static GrayF64
gaussian
(GrayF64 input, @Nullable GrayF64 output, double sigma, int radius, @Nullable GrayF64 storage) Applies Gaussian blur.static GrayU16
gaussian
(GrayU16 input, @Nullable GrayU16 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable GrayU16 storage) Applies Gaussian blur.static GrayU16
gaussian
(GrayU16 input, @Nullable GrayU16 output, double sigma, int radius, @Nullable GrayU16 storage) Applies Gaussian blur.static GrayU8
gaussian
(GrayU8 input, @Nullable GrayU8 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable GrayU8 storage) Applies Gaussian blur.static GrayU8
Applies Gaussian blur.static InterleavedF32
gaussian
(InterleavedF32 input, @Nullable InterleavedF32 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable InterleavedF32 storage) Applies Gaussian blur.static InterleavedF32
gaussian
(InterleavedF32 input, @Nullable InterleavedF32 output, double sigma, int radius, @Nullable InterleavedF32 storage) Applies Gaussian blur.static InterleavedF64
gaussian
(InterleavedF64 input, @Nullable InterleavedF64 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable InterleavedF64 storage) Applies Gaussian blur.static InterleavedF64
gaussian
(InterleavedF64 input, @Nullable InterleavedF64 output, double sigma, int radius, @Nullable InterleavedF64 storage) Applies Gaussian blur.static InterleavedU16
gaussian
(InterleavedU16 input, @Nullable InterleavedU16 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable InterleavedU16 storage) Applies Gaussian blur.static InterleavedU16
gaussian
(InterleavedU16 input, @Nullable InterleavedU16 output, double sigma, int radius, @Nullable InterleavedU16 storage) Applies Gaussian blur.static InterleavedU8
gaussian
(InterleavedU8 input, @Nullable InterleavedU8 output, double sigmaX, int radiusX, double sigmaY, int radiusY, @Nullable InterleavedU8 storage) Applies Gaussian blur.static InterleavedU8
gaussian
(InterleavedU8 input, @Nullable InterleavedU8 output, double sigma, int radius, @Nullable InterleavedU8 storage) Applies Gaussian blur.gaussian
(Planar<T> input, @Nullable Planar<T> output, double sigmaX, int radiusX, double sigmaY, int radiusY, T storage) Applies Gaussian blur to aPlanar
Applies Gaussian blur to aPlanar
static GrayF32
mean
(GrayF32 input, @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable GrayF32 storage, @Nullable GrowArray<DogArray_F32> workVert) Applies a mean box filter with re-weighted image borders.static GrayF32
mean
(GrayF32 input, @Nullable GrayF32 output, int radius, @Nullable GrayF32 storage, @Nullable GrowArray<DogArray_F32> workVert) Applies a mean box filter with re-weighted image borders.static GrayF64
mean
(GrayF64 input, @Nullable GrayF64 output, int radiusX, int radiusY, @Nullable GrayF64 storage, @Nullable GrowArray<DogArray_F64> workVert) Applies a mean box filter with re-weighted image borders.static GrayF64
mean
(GrayF64 input, @Nullable GrayF64 output, int radius, @Nullable GrayF64 storage, @Nullable GrowArray<DogArray_F64> workVert) Applies a mean box filter with re-weighted image borders.static GrayU16
mean
(GrayU16 input, @Nullable GrayU16 output, int radiusX, int radiusY, @Nullable GrayU16 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with re-weighted image borders.static GrayU16
mean
(GrayU16 input, @Nullable GrayU16 output, int radius, @Nullable GrayU16 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with re-weighted image borders.static GrayU8
mean
(GrayU8 input, @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable GrayU8 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with re-weighted image borders.static GrayU8
mean
(GrayU8 input, @Nullable GrayU8 output, int radius, @Nullable GrayU8 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with re-weighted image borders.mean
(Planar<T> input, @Nullable Planar<T> output, int radiusX, int radiusY, T storage, @Nullable GrowArray workVert) Applies a mean box filter with weighted borders.mean
(Planar<T> input, @Nullable Planar<T> output, int radius, T storage, @Nullable GrowArray workVert) Applies mean box filter to aPlanar
static GrayF32
meanAdaptive
(GrayF32 input, @Nullable GrayF32 output, int radiusX, int radiusY, double noiseVariance) Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.static GrayF64
meanAdaptive
(GrayF64 input, @Nullable GrayF64 output, int radiusX, int radiusY, double noiseVariance) Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.static GrayU16
meanAdaptive
(GrayU16 input, @Nullable GrayU16 output, int radiusX, int radiusY, double noiseVariance) Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.static GrayU8
meanAdaptive
(GrayU8 input, @Nullable GrayU8 output, int radiusX, int radiusY, double noiseVariance) Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.meanAdaptive
(Planar<T> input, @Nullable Planar<T> output, int radiusX, int radiusY, double noiseVariance) Adaptive applies mean blur filter while maintaining edge sharpness with re-weighted image borders.static GrayF32
meanB
(GrayF32 input, @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable ImageBorder_F32 binput, @Nullable GrayF32 storage, @Nullable GrowArray<DogArray_F32> workVert) Applies a mean box filter with image borders.static GrayF64
meanB
(GrayF64 input, @Nullable GrayF64 output, int radiusX, int radiusY, @Nullable ImageBorder_F64 binput, @Nullable GrayF64 storage, @Nullable GrowArray<DogArray_F64> workVert) Applies a mean box filter with image borders.static GrayU16
meanB
(GrayU16 input, @Nullable GrayU16 output, int radiusX, int radiusY, @Nullable ImageBorder_S32<GrayU16> binput, @Nullable GrayU16 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with image borders.static GrayU8
meanB
(GrayU8 input, @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable ImageBorder_S32<GrayU8> binput, @Nullable GrayU8 storage, @Nullable GrowArray<DogArray_I32> workVert) Applies a mean box filter with image borders.meanB
(Planar<T> input, @Nullable Planar<T> output, int radiusX, int radiusY, @Nullable ImageBorder<T> binput, T storage, @Nullable GrowArray workVert) Applies a mean box filter with extended borders.static GrayF32
meanGeometric
(GrayF32 input, @Nullable GrayF32 output, int radiusX, int radiusY) Applies a geometric mean box filter with re-weighted image borders.static GrayF64
meanGeometric
(GrayF64 input, @Nullable GrayF64 output, int radiusX, int radiusY) Applies a geometric mean box filter with re-weighted image borders.static GrayU16
meanGeometric
(GrayU16 input, @Nullable GrayU16 output, int radiusX, int radiusY) Applies a geometric mean box filter with re-weighted image borders.static GrayU8
meanGeometric
(GrayU8 input, @Nullable GrayU8 output, int radiusX, int radiusY) Applies a geometric mean box filter with re-weighted image borders.meanGeometric
(Planar<T> input, @Nullable Planar<T> output, int radiusX, int radiusY) Applies a geometric mean box filter with re-weighted image borders.static GrayF32
median
(GrayF32 input, @Nullable GrayF32 output, int radiusX, int radiusY, @Nullable GrowArray<DogArray_F32> work) Applies a median filter.static GrayU8
median
(GrayU8 input, @Nullable GrayU8 output, int radiusX, int radiusY, @Nullable GrowArray<DogArray_I32> work) Applies a median filter.median
(Planar<T> input, @Nullable Planar<T> output, int radiusX, int radiusY, @Nullable GrowArray<?> work) Applies median filter to aPlanar
-
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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- 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-axisradiusY
- Radius of the box blur function along the y-axisnoiseVariance
- 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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- 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-axisradiusY
- Radius of the box blur function along the y-axisnoiseVariance
- 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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- 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-axisradiusY
- Radius of the box blur function along the y-axisnoiseVariance
- 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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- 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-axisradiusY
- Radius of the box blur function along the y-axisnoiseVariance
- 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 aPlanar
- 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 aPlanar
- 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 aPlanar
- 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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- 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-axisradiusY
- 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-axisradiusY
- Radius of the box blur function along the y-axisstorage
- (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-axisradiusY
- Size of the filter region. y-axiswork
- (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-axisradiusY
- Size of the filter region. y-axiswork
- (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 aPlanar
- 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-axisradiusY
- Size of the filter region. y-axis- Returns:
- Output blurred image.
-