Convolution
Apply a convolution kernel to an image.
Overview
Convolution is a common image-processing technique that changes the value of a pixel according to the values of its surrounding pixels. Many common image filters, such as blurring, detecting edges, sharpening, and embossing, derive from convolution.
Kernels form the basis of convolution operations. Kernels are arrays or matrices of weights that indicate the influence of a pixel’s neighbors on its final value. To calculate the value of each transformed pixel, a convolution operation adds the products of each surrounding pixel value with the corresponding kernel value. During a convolution operation, the kernel passes over every pixel in the image, repeating this procedure, and then applies the effect to the entire image.
Topics
Convolving an 8-bit image with 32-bit weights
Convolving with separable filter kernels
vImageSepConvolve_Planar8(_:_:_:_:_:_:_:_:_:_:_:_:)vImageSepConvolve_Planar16U(_:_:_:_:_:_:_:_:_:_:_:_:)vImageSepConvolve_Planar16F(_:_:_:_:_:_:_:_:_:_:_:_:)vImageSepConvolve_PlanarF(_:_:_:_:_:_:_:_:_:_:_:_:)vImageSepConvolve_Planar8to16U(_:_:_:_:_:_:_:_:_:_:_:_:_:)vImageSepConvolve_ARGB8888(_:_:_:_:_:_:_:_:_:_:_:_:)
Convolving without bias
vImageConvolve_Planar8(_:_:_:_:_:_:_:_:_:_:_:)vImageConvolve_Planar16F(_:_:_:_:_:_:_:_:_:_:)vImageConvolve_PlanarF(_:_:_:_:_:_:_:_:_:_:)vImageConvolve_ARGB8888(_:_:_:_:_:_:_:_:_:_:_:)vImageConvolve_ARGB16F(_:_:_:_:_:_:_:_:_:_:)vImageConvolve_ARGBFFFF(_:_:_:_:_:_:_:_:_:_:)
Convolving with bias
vImageConvolveWithBias_Planar8(_:_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveWithBias_Planar16F(_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveWithBias_PlanarF(_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveWithBias_ARGB8888(_:_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveWithBias_ARGB16F(_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveWithBias_ARGBFFFF(_:_:_:_:_:_:_:_:_:_:_:)
Convolving with multiple kernels
vImageConvolveMultiKernel_ARGB8888(_:_:_:_:_:_:_:_:_:_:_:_:)vImageConvolveMultiKernel_ARGBFFFF(_:_:_:_:_:_:_:_:_:_:_:)
Convolving with high-speed box and tent filters
vImageBoxConvolve_Planar8(_:_:_:_:_:_:_:_:_:)vImageBoxConvolve_ARGB8888(_:_:_:_:_:_:_:_:_:)vImageTentConvolve_Planar8(_:_:_:_:_:_:_:_:_:)vImageTentConvolve_ARGB8888(_:_:_:_:_:_:_:_:_:)