Package boofcv.factory.filter.blur
Class FactoryBlurFilter
java.lang.Object
boofcv.factory.filter.blur.FactoryBlurFilter
Factory for creating different blur image filters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageBase<T>>
BlurStorageFilter<T>Creates a Gaussian filter for the specified image type.static <T extends ImageBase<T>>
BlurStorageFilter<T>static <T extends ImageGray<T>>
BlurStorageFilter<T>static <T extends ImageGray<T>>
BlurStorageFilter<T>static <T extends ImageBase<T>>
BlurStorageFilter<T>Creates a mean filter for the specified image type.static <T extends ImageBase<T>>
BlurStorageFilter<T>static <T extends ImageGray<T>>
BlurStorageFilter<T>static <T extends ImageGray<T>>
BlurStorageFilter<T>static <T extends ImageBase<T>>
BlurStorageFilter<T>meanB
(ImageType<T> type, int radiusX, int radiusY, @Nullable ImageBorder<T> border) static <T extends ImageBase<T>>
BlurStorageFilter<T>Creates a median filter for the specified image type.static <T extends ImageGray<T>>
BlurStorageFilter<T>
-
Constructor Details
-
FactoryBlurFilter
public FactoryBlurFilter()
-
-
Method Details
-
median
Creates a median filter for the specified image type.- Parameters:
type
- Image type.radius
- Size of the filter.- Returns:
- Median image filter.
-
median
-
mean
Creates a mean filter for the specified image type.- Parameters:
type
- Image type.radius
- Size of the filter.- Returns:
- mean image filter.
-
mean
public static <T extends ImageBase<T>> BlurStorageFilter<T> mean(ImageType<T> type, int radiusX, int radiusY) -
mean
-
mean
public static <T extends ImageGray<T>> BlurStorageFilter<T> mean(Class<T> type, int radiusX, int radiusY) -
meanB
public static <T extends ImageBase<T>> BlurStorageFilter<T> meanB(ImageType<T> type, int radiusX, int radiusY, @Nullable @Nullable ImageBorder<T> border) -
gaussian
public static <T extends ImageBase<T>> BlurStorageFilter<T> gaussian(ImageType<T> type, double sigma, int radius) Creates a Gaussian filter for the specified image type.- Parameters:
type
- Image type.radius
- Size of the filter.- Returns:
- mean image filter.
-
gaussian
public static <T extends ImageGray<T>> BlurStorageFilter<T> gaussian(Class<T> type, double sigma, int radius) -
gaussian
public static <T extends ImageBase<T>> BlurStorageFilter<T> gaussian(ImageType<T> type, double sigmaX, int radiusX, double sigmaY, int radiusY) -
gaussian
public static <T extends ImageGray<T>> BlurStorageFilter<T> gaussian(Class<T> type, double sigmaX, int radiusX, double sigmaY, int radiusY)
-