Class ConvertImageFilter<I extends boofcv.struct.image.ImageBase<I>,​O extends boofcv.struct.image.ImageBase<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 using GConvertImage.
    • 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
      int getBorderX()
      How many pixels are not processed along the x-axis border, left and right.
      int getBorderY()
      How many pixels are not processed along the y-axis border, top and bottom.
      boofcv.struct.image.ImageType<I> getInputType()
      Specifies the input image type
      boofcv.struct.image.ImageType<O> getOutputType()
      Specifies the output image type
      void process​(I src, O dst)
      Processes the input image and writes the results to the output image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConvertImageFilter

        public ConvertImageFilter​(boofcv.struct.image.ImageType<I> typeSrc,
                                  boofcv.struct.image.ImageType<O> typeDst)
    • Method Detail

      • process

        public void process​(I src,
                            O dst)
        Description copied from interface: FilterImageInterface
        Processes the input image and writes the results to the output image.
        Specified by:
        process in interface FilterImageInterface<I extends boofcv.struct.image.ImageBase<I>,​O extends boofcv.struct.image.ImageBase<O>>
        Parameters:
        src - Input image.
        dst - 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 interface FilterImageInterface<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: FilterImageInterface
        How many pixels are not processed along the y-axis border, top and bottom.
        Specified by:
        getBorderY in interface FilterImageInterface<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: FilterImageInterface
        Specifies the input image type
        Specified by:
        getInputType in interface FilterImageInterface<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: FilterImageInterface
        Specifies the output image type
        Specified by:
        getOutputType in interface FilterImageInterface<I extends boofcv.struct.image.ImageBase<I>,​O extends boofcv.struct.image.ImageBase<O>>
        Returns:
        Output image type.