Package boofcv.abst.filter.convolve
Class GenericConvolve<Input extends ImageBase<Input>,Output extends ImageBase<Output>>
java.lang.Object
boofcv.abst.filter.convolve.GenericConvolve<Input,Output>
- All Implemented Interfaces:
ConvolveInterface<Input,
,Output> FilterImageInterface<Input,
Output>
public class GenericConvolve<Input extends ImageBase<Input>,Output extends ImageBase<Output>>
extends Object
implements ConvolveInterface<Input,Output>
Generalized interface for filtering images with convolution kernels. Can invoke different
techniques for handling image borders.
-
Constructor Summary
ConstructorDescriptionGenericConvolve
(Method m, KernelBase kernel, BorderType type, ImageType<Input> inputType, ImageType<Output> outputType) -
Method Summary
Modifier and TypeMethodDescriptionReturns how the image border is handled.int
How many pixels are not processed along the x-axis border, left and right.int
How many pixels are not processed along the y-axis border, top and bottom.Specifies the input image typeSpecifies the output image typevoid
Processes the input image and writes the results to the output image.
-
Constructor Details
-
GenericConvolve
public GenericConvolve(Method m, KernelBase kernel, BorderType type, ImageType<Input> inputType, ImageType<Output> outputType)
-
-
Method Details
-
process
Description copied from interface:FilterImageInterface
Processes the input image and writes the results to the output image. -
getBorderX
public int getBorderX()Description copied from interface:FilterImageInterface
How many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderX
in interfaceFilterImageInterface<Input extends ImageBase<Input>,
Output extends ImageBase<Output>> - Returns:
- Border size in pixels.
-
getBorderType
Description copied from interface:ConvolveInterface
Returns how the image border is handled.- Specified by:
getBorderType
in interfaceConvolveInterface<Input extends ImageBase<Input>,
Output extends ImageBase<Output>>
-
getBorderY
public int getBorderY()Description copied from interface:FilterImageInterface
How many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderY
in interfaceFilterImageInterface<Input extends ImageBase<Input>,
Output extends ImageBase<Output>> - Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterface
Specifies the input image type- Specified by:
getInputType
in interfaceFilterImageInterface<Input extends ImageBase<Input>,
Output extends ImageBase<Output>> - Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterface
Specifies the output image type- Specified by:
getOutputType
in interfaceFilterImageInterface<Input extends ImageBase<Input>,
Output extends ImageBase<Output>> - Returns:
- Output image type.
-