Class GenericConvolveDown<Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>>

  • All Implemented Interfaces:
    ConvolveDown<Input,​Output>, ConvolveInterface<Input,​Output>, FilterImageInterface<Input,​Output>

    public class GenericConvolveDown<Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>>
    extends java.lang.Object
    implements ConvolveDown<Input,​Output>
    Generalized interface for filtering images with convolution kernels while skipping pixels. Can invoke different techniques for handling image borders. The first pixel sampled is always (0,0) and the sampled pixels are (x*skip,y*skip).
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericConvolveDown​(java.lang.reflect.Method m, boofcv.struct.convolve.KernelBase kernel, boofcv.struct.border.BorderType type, int skip, boofcv.struct.image.ImageType<Input> inputType, boofcv.struct.image.ImageType<Output> outputType)  
    • 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<Input> getInputType()
      Specifies the input image type
      boofcv.struct.image.ImageType<Output> getOutputType()
      Specifies the output image type
      int getSkip()  
      void process​(Input input, Output output)
      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

      • GenericConvolveDown

        public GenericConvolveDown​(java.lang.reflect.Method m,
                                   boofcv.struct.convolve.KernelBase kernel,
                                   boofcv.struct.border.BorderType type,
                                   int skip,
                                   boofcv.struct.image.ImageType<Input> inputType,
                                   boofcv.struct.image.ImageType<Output> outputType)