Package boofcv.core.image
Class ConvertImageFilter<I extends ImageBase<I>,O extends ImageBase<O>>
java.lang.Object
boofcv.core.image.ConvertImageFilter<I,O>
- All Implemented Interfaces:
FilterImageInterface<I,
O>
public class ConvertImageFilter<I extends ImageBase<I>,O extends ImageBase<O>>
extends Object
implements FilterImageInterface<I,O>
Use the filter interface to convert the image type using
GConvertImage
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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
-
ConvertImageFilter
-
-
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<I extends ImageBase<I>,
O extends ImageBase<O>> - Returns:
- Border size in pixels.
-
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<I extends ImageBase<I>,
O extends ImageBase<O>> - Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterface
Specifies the input image type- Specified by:
getInputType
in interfaceFilterImageInterface<I extends ImageBase<I>,
O extends ImageBase<O>> - Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterface
Specifies the output image type- Specified by:
getOutputType
in interfaceFilterImageInterface<I extends ImageBase<I>,
O extends ImageBase<O>> - Returns:
- Output image type.
-