convolve(with:bias:edgeMode:destination:)
Convolves a 32-bit planar pixel buffer.
Declaration
func convolve(with kernel: vImage.ConvolutionKernel2D<Float>, bias: Float? = nil, edgeMode: vImage.EdgeMode<Pixel_F>, destination: vImage.PixelBuffer<Format>)Parameters
- kernel:
The convolution kernel.
- bias:
An optional value that the operation adds to the sum of weighted pixels before it applies the divisor.
- edgeMode:
The convolution edge mode.
- destination:
The destination pixel buffer.
See Also
Related Documentation
General convolution
convolve(with:divisor:bias:edgeMode:destination:)convolve(with:bias:edgeMode:useFloat16Accumulator:destination:)convolve(with:divisor:bias:edgeMode:destination:)convolve(with:divisors:biases:edgeMode:destination:)convolve(with:bias:edgeMode:useFloat16Accumulator:destination:)convolve(with:bias:edgeMode:destination:)convolve(with:divisor:bias:edgeMode:destination:)convolve(with:bias:edgeMode:destination:)vImage.EdgeModevImage.ConvolutionKernel2D