public class BlurImageOps
extends java.lang.Object
| Constructor and Description |
|---|
BlurImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static GrayF32 |
gaussian(GrayF32 input,
GrayF32 output,
double sigma,
int radius,
GrayF32 storage)
Applies Gaussian blur.
|
static GrayF64 |
gaussian(GrayF64 input,
GrayF64 output,
double sigma,
int radius,
GrayF64 storage)
Applies Gaussian blur.
|
static GrayU8 |
gaussian(GrayU8 input,
GrayU8 output,
double sigma,
int radius,
GrayU8 storage)
Applies Gaussian blur.
|
static InterleavedF32 |
gaussian(InterleavedF32 input,
InterleavedF32 output,
double sigma,
int radius,
InterleavedF32 storage) |
static InterleavedF64 |
gaussian(InterleavedF64 input,
InterleavedF64 output,
double sigma,
int radius,
InterleavedF64 storage) |
static InterleavedU8 |
gaussian(InterleavedU8 input,
InterleavedU8 output,
double sigma,
int radius,
InterleavedU8 storage) |
static <T extends ImageGray<T>> |
gaussian(Planar<T> input,
Planar<T> output,
double sigma,
int radius,
T storage)
Applies Gaussian blur to a
Planar |
static GrayF32 |
mean(GrayF32 input,
GrayF32 output,
int radius,
GrayF32 storage)
Applies a mean box filter.
|
static GrayF64 |
mean(GrayF64 input,
GrayF64 output,
int radius,
GrayF64 storage)
Applies a mean box filter.
|
static GrayU8 |
mean(GrayU8 input,
GrayU8 output,
int radius,
GrayU8 storage)
Applies a mean box filter.
|
static <T extends ImageGray<T>> |
mean(Planar<T> input,
Planar<T> output,
int radius,
T storage)
Applies mean box filter to a
Planar |
static GrayF32 |
median(GrayF32 input,
GrayF32 output,
int radius)
Applies a median filter.
|
static GrayU8 |
median(GrayU8 input,
GrayU8 output,
int radius)
Applies a median filter.
|
static <T extends ImageGray<T>> |
median(Planar<T> input,
Planar<T> output,
int radius)
Applies median filter to a
Planar |
public static GrayU8 mean(GrayU8 input, @Nullable GrayU8 output, int radius, @Nullable GrayU8 storage)
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.public static GrayF32 mean(GrayF32 input, @Nullable GrayF32 output, int radius, @Nullable GrayF32 storage)
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.public static GrayF64 mean(GrayF64 input, @Nullable GrayF64 output, int radius, @Nullable GrayF64 storage)
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.public static <T extends ImageGray<T>> Planar<T> mean(Planar<T> input, @Nullable Planar<T> output, int radius, @Nullable T storage)
PlanarT - Input image type.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.public static GrayU8 median(GrayU8 input, @Nullable GrayU8 output, int radius)
input - Input image. Not modified.output - (Optional) Storage for output image, Can be null. Modified.radius - Radius of the median blur function.public static GrayF32 median(GrayF32 input, @Nullable GrayF32 output, int radius)
input - Input image. Not modified.output - (Optional) Storage for output image, Can be null. Modified.radius - Radius of the median blur function.public static <T extends ImageGray<T>> Planar<T> median(Planar<T> input, @Nullable Planar<T> output, int radius)
PlanarT - Input image type.input - Input image. Not modified.output - (Optional) Storage for output image, Can be null. Modified.radius - Radius of the median blur function.public static GrayU8 gaussian(GrayU8 input, @Nullable GrayU8 output, double sigma, int radius, @Nullable GrayU8 storage)
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.public static InterleavedU8 gaussian(InterleavedU8 input, @Nullable InterleavedU8 output, double sigma, int radius, InterleavedU8 storage)
public static GrayF32 gaussian(GrayF32 input, @Nullable GrayF32 output, double sigma, int radius, @Nullable GrayF32 storage)
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.public static GrayF64 gaussian(GrayF64 input, @Nullable GrayF64 output, double sigma, int radius, @Nullable GrayF64 storage)
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.public static InterleavedF32 gaussian(InterleavedF32 input, @Nullable InterleavedF32 output, double sigma, int radius, @Nullable InterleavedF32 storage)
public static InterleavedF64 gaussian(InterleavedF64 input, @Nullable InterleavedF64 output, double sigma, int radius, @Nullable InterleavedF64 storage)
public static <T extends ImageGray<T>> Planar<T> gaussian(Planar<T> input, @Nullable Planar<T> output, double sigma, int radius, @Nullable T storage)
PlanarT - Input image type.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.