boofcv.alg.filter.convolve
Class ConvolveWithBorder
- java.lang.Object
-
- boofcv.alg.filter.convolve.ConvolveWithBorder
-
public class ConvolveWithBorder extends java.lang.ObjectConvolves a kernel across an image and handles the image border using the specified method.
-
-
Constructor Summary
Constructors Constructor and Description ConvolveWithBorder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidconvolve(Kernel2D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)Performs a 2D convolution across the image.static voidconvolve(Kernel2D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)Performs a 2D convolution across the image.static voidconvolve(Kernel2D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)Performs a 2D convolution across the image.static voidconvolve(Kernel2D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)Performs a 2D convolution across the image.static voidhorizontal(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)Performs a horizontal 1D convolution across the image.static voidhorizontal(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)Performs a horizontal 1D convolution across the image.static voidhorizontal(Kernel1D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)Performs a horizontal 1D convolution across the image.static voidhorizontal(Kernel1D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)Performs a horizontal 1D convolution across the image.static voidvertical(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)Performs a vertical 1D convolution across the image.static voidvertical(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)Performs a vertical 1D convolution across the image.static voidvertical(Kernel1D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)Performs a vertical 1D convolution across the image.static voidvertical(Kernel1D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)Performs a vertical 1D convolution across the image.
-
-
-
Method Detail
-
horizontal
public static void horizontal(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)
Performs a horizontal 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
vertical
public static void vertical(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)
Performs a vertical 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
convolve
public static void convolve(Kernel2D_F32 kernel, GrayF32 image, GrayF32 dest, ImageBorder_F32 border)
Performs a 2D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)
Performs a horizontal 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)
Performs a vertical 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
convolve
public static void convolve(Kernel2D_I32 kernel, GrayU8 image, GrayI16 dest, ImageBorder_S32 border)
Performs a 2D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)
Performs a horizontal 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)
Performs a vertical 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
convolve
public static void convolve(Kernel2D_I32 kernel, GrayU8 image, GrayS32 dest, ImageBorder_S32 border)
Performs a 2D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)
Performs a horizontal 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)
Performs a vertical 1D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
convolve
public static void convolve(Kernel2D_I32 kernel, GrayS16 image, GrayI16 dest, ImageBorder_S32 border)
Performs a 2D convolution across the image. Borders are handled as specified by the 'border' parameter.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.border- How the image borders are handled.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG