Class FactoryConvolveDown

java.lang.Object
boofcv.factory.filter.convolve.FactoryConvolveDown

public class FactoryConvolveDown extends Object
Factory class for creating abstracted convolve down filters.
  • Constructor Details

    • FactoryConvolveDown

      public FactoryConvolveDown()
  • Method Details

    • convolve

      public static <In extends ImageBase<In>, Out extends ImageBase<Out>> ConvolveDown<In,Out> convolve(Kernel1D kernel, BorderType border, boolean isHorizontal, int skip, ImageType<In> inputType, ImageType<Out> outputType)
    • convolve

      public static <In extends ImageBase<In>, Out extends ImageBase<Out>> ConvolveDown<In,Out> convolve(Kernel2D kernel, BorderType border, int skip, ImageType<In> inputType, ImageType<Out> outputType)
    • convolveSB

      public static <Input extends ImageGray<Input>, Output extends ImageGray<Output>> GenericConvolveDown<Input,Output> convolveSB(Kernel1D kernel, BorderType border, boolean isHorizontal, int skip, Class<Input> inputType, Class<Output> outputType)
      Creates a filter for convolving 1D kernels along the image.
      Parameters:
      kernel - Convolution kernel.
      border - How the image border is handled.
      inputType - Specifies input image type.
      outputType - Specifies input image type.
      Returns:
      FilterInterface which will perform the specified convolution.
    • convolveSB

      public static <Input extends ImageGray<Input>, Output extends ImageGray<Output>> GenericConvolveDown<Input,Output> convolveSB(Kernel2D kernel, BorderType border, int skip, Class<Input> inputType, Class<Output> outputType)
      Creates a filter for convolving 2D kernels along the image axis.
      Parameters:
      kernel - Convolution kernel.
      border - How the image border is handled.
      inputType - Specifies input image type.
      outputType - Specifies input image type.
      Returns:
      FilterInterface which will perform the specified convolution.
    • convolvePL

      public static <Input extends ImageGray<Input>, Output extends ImageGray<Output>> ConvolveDown<Planar<Input>,Planar<Output>> convolvePL(Kernel1D kernel, BorderType border, boolean isHorizontal, int skip, int numBands, Class<Input> inputType, Class<Output> outputType)
    • convolvePL

      public static <Input extends ImageGray<Input>, Output extends ImageGray<Output>> ConvolveDown<Planar<Input>,Planar<Output>> convolvePL(Kernel2D kernel, BorderType border, int skip, int numBands, Class<Input> inputType, Class<Output> outputType)