Package boofcv.core.image
Class ConvertImageFilter<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>>
- java.lang.Object
-
- boofcv.core.image.ConvertImageFilter<I,O>
-
- All Implemented Interfaces:
FilterImageInterface<I,O>
public class ConvertImageFilter<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>> extends java.lang.Object implements FilterImageInterface<I,O>
Use the filter interface to convert the image type usingGConvertImage.
-
-
Constructor Summary
Constructors Constructor Description ConvertImageFilter(boofcv.struct.image.ImageType<I> typeSrc, boofcv.struct.image.ImageType<O> typeDst)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBorderX()How many pixels are not processed along the x-axis border, left and right.intgetBorderY()How many pixels are not processed along the y-axis border, top and bottom.boofcv.struct.image.ImageType<I>getInputType()Specifies the input image typeboofcv.struct.image.ImageType<O>getOutputType()Specifies the output image typevoidprocess(I src, O dst)Processes the input image and writes the results to the output image.
-
-
-
Method Detail
-
process
public void process(I src, O dst)
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<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>>- 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<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>>- Returns:
- Border size in pixels.
-
getInputType
public boofcv.struct.image.ImageType<I> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>>- Returns:
- Input image type.
-
getOutputType
public boofcv.struct.image.ImageType<O> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<I extends boofcv.struct.image.ImageBase<I>,O extends boofcv.struct.image.ImageBase<O>>- Returns:
- Output image type.
-
-