Class PlanarConvolveDown<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>

  • All Implemented Interfaces:
    ConvolveDown<boofcv.struct.image.Planar<In>,​boofcv.struct.image.Planar<Out>>, ConvolveInterface<boofcv.struct.image.Planar<In>,​boofcv.struct.image.Planar<Out>>, FilterImageInterface<boofcv.struct.image.Planar<In>,​boofcv.struct.image.Planar<Out>>

    public class PlanarConvolveDown<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
    extends java.lang.Object
    implements ConvolveDown<boofcv.struct.image.Planar<In>,​boofcv.struct.image.Planar<Out>>
    Implementation of ConvolveDown for Planar images. Uses an implementation for ImageGray to apply the down convolution.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boofcv.struct.border.BorderType getBorderType()
      Returns how the image border is handled.
      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<boofcv.struct.image.Planar<In>> getInputType()
      Specifies the input image type
      boofcv.struct.image.ImageType<boofcv.struct.image.Planar<Out>> getOutputType()
      Specifies the output image type
      int getSkip()  
      void process​(boofcv.struct.image.Planar<In> in, boofcv.struct.image.Planar<Out> out)
      Processes the input image and writes the results to the output image.
      void setSkip​(int skip)  
      • Methods inherited from class java.lang.Object

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

      • PlanarConvolveDown

        public PlanarConvolveDown​(ConvolveDown<In,​Out> down,
                                  int numBands)
    • Method Detail

      • process

        public void process​(boofcv.struct.image.Planar<In> in,
                            boofcv.struct.image.Planar<Out> out)
        Description copied from interface: FilterImageInterface
        Processes the input image and writes the results to the output image.
        Specified by:
        process in interface FilterImageInterface<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
        Parameters:
        in - Input image.
        out - 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<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
        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<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
        Returns:
        Border size in pixels.
      • getInputType

        public boofcv.struct.image.ImageType<boofcv.struct.image.Planar<In>> getInputType()
        Description copied from interface: FilterImageInterface
        Specifies the input image type
        Specified by:
        getInputType in interface FilterImageInterface<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
        Returns:
        Input image type.
      • getOutputType

        public boofcv.struct.image.ImageType<boofcv.struct.image.Planar<Out>> getOutputType()
        Description copied from interface: FilterImageInterface
        Specifies the output image type
        Specified by:
        getOutputType in interface FilterImageInterface<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
        Returns:
        Output image type.
      • getBorderType

        public boofcv.struct.border.BorderType getBorderType()
        Description copied from interface: ConvolveInterface
        Returns how the image border is handled.
        Specified by:
        getBorderType in interface ConvolveInterface<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
      • getSkip

        public int getSkip()
        Specified by:
        getSkip in interface ConvolveDown<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>
      • setSkip

        public void setSkip​(int skip)
        Specified by:
        setSkip in interface ConvolveDown<In extends boofcv.struct.image.ImageGray<In>,​Out extends boofcv.struct.image.ImageGray<Out>>