Package boofcv.abst.filter.blur
Class BlurStorageFilter<T extends ImageBase<T>>
java.lang.Object
boofcv.abst.filter.blur.BlurStorageFilter<T>
- All Implemented Interfaces:
BlurFilter<T>,FilterImageInterface<T,T>
Simplified interface for using a blur filter that requires storage. Reflections are used to look up a function inside
of
BlurImageOps which is then invoked later on.-
Constructor Summary
ConstructorsConstructorDescriptionBlurStorageFilter(String functionName, ImageType<T> inputType, double sigmaX, int radiusX, double sigmaY, int radiusY) BlurStorageFilter(String functionName, ImageType<T> inputType, int radius) BlurStorageFilter(String functionName, ImageType<T> inputType, int radiusX, int radiusY) -
Method Summary
Modifier and TypeMethodDescriptionintHow many pixels are not processed along the x-axis border, left and right.intHow many pixels are not processed along the y-axis border, top and bottom.Specifies the input image typeSpecifies the output image typeintRadius of the square region.voidProcesses the input image and writes the results to the output image.voidsetRadius(int radius)
-
Constructor Details
-
BlurStorageFilter
-
BlurStorageFilter
-
BlurStorageFilter
-
-
Method Details
-
getRadius
public int getRadius()Radius of the square region. The width is defined as the radius*2 + 1.- Specified by:
getRadiusin interfaceBlurFilter<T extends ImageBase<T>>- Returns:
- Blur region's radius.
-
setRadius
public void setRadius(int radius) - Specified by:
setRadiusin interfaceBlurFilter<T extends ImageBase<T>>
-
process
Description copied from interface:FilterImageInterfaceProcesses the input image and writes the results to the output image. -
getBorderX
public int getBorderX()Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderXin interfaceFilterImageInterface<T extends ImageBase<T>,T extends ImageBase<T>> - Returns:
- Border size in pixels.
-
getBorderY
public int getBorderY()Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderYin interfaceFilterImageInterface<T extends ImageBase<T>,T extends ImageBase<T>> - Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<T extends ImageBase<T>,T extends ImageBase<T>> - Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<T extends ImageBase<T>,T extends ImageBase<T>> - Returns:
- Output image type.
-