boxConvolve(kernelSize:edgeMode:destination:)
Convolves an 8-bit-per-channel, 4-channel interleaved pixel buffer with a box filter.
Declaration
func boxConvolve(kernelSize: vImage.Size, edgeMode: vImage.EdgeMode<Pixel_8888>, 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.