Class FactoryConvolve


  • public class FactoryConvolve
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryConvolve()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>>
      ConvolveInterface<Input,​Output>
      convolve​(boofcv.struct.convolve.Kernel1D kernel, boofcv.struct.image.ImageType<Input> inputType, boofcv.struct.image.ImageType<Output> outputType, boofcv.struct.border.BorderType border, boolean isHorizontal)
      Creates a filter for convolving 1D kernels along the image.
      static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>>
      ConvolveInterface<Input,​Output>
      convolve​(boofcv.struct.convolve.Kernel2D kernel, java.lang.Class<Input> inputType, java.lang.Class<Output> outputType, boofcv.struct.border.BorderType borderType)
      Creates a filter for convolving 2D kernels along the image axis.
      • Methods inherited from class java.lang.Object

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

      • FactoryConvolve

        public FactoryConvolve()
    • Method Detail

      • convolve

        public static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>> ConvolveInterface<Input,​Output> convolve​(boofcv.struct.convolve.Kernel1D kernel,
                                                                                                                                                                                     boofcv.struct.image.ImageType<Input> inputType,
                                                                                                                                                                                     boofcv.struct.image.ImageType<Output> outputType,
                                                                                                                                                                                     boofcv.struct.border.BorderType border,
                                                                                                                                                                                     boolean isHorizontal)
        Creates a filter for convolving 1D kernels along the image.
        Parameters:
        kernel - Convolution kernel.
        inputType - Specifies input image type.
        outputType - Specifies input image type.
        border - How the image border is handled.
        Returns:
        FilterInterface which will perform the specified convolution.
      • convolve

        public static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>> ConvolveInterface<Input,​Output> convolve​(boofcv.struct.convolve.Kernel2D kernel,
                                                                                                                                                                                     java.lang.Class<Input> inputType,
                                                                                                                                                                                     java.lang.Class<Output> outputType,
                                                                                                                                                                                     boofcv.struct.border.BorderType borderType)
        Creates a filter for convolving 2D kernels along the image axis.
        Parameters:
        kernel - Convolution kernel.
        inputType - Specifies input image type.
        outputType - Specifies input image type.
        borderType - How the image border is handled.
        Returns:
        FilterInterface which will perform the specified convolution.