boxConvolve(kernelSize:edgeMode:destination:)
Convolves a multiple-plane 8-bit-per-channel pixel buffer with a box filter.
Declaration
func boxConvolve(kernelSize: vImage.Size, edgeMode: vImage.EdgeMode<Pixel_8>, destination: vImage.PixelBuffer<Format>)Parameters
- kernelSize:
The convolution kernel size. The operation interprets even dimensions as the next odd number.
- edgeMode:
The convolution edge mode.
- destination:
The destination pixel buffer.