Contents

convolve(_:rowCount:columnCount:with3x3Kernel:)

Returns the 2D convolution of a single-precision vector with a 3 x 3 kernel.

Declaration

static func convolve<T, U>(_ vector: T, rowCount: Int, columnCount: Int, with3x3Kernel kernel: U) -> [Float] where T : AccelerateBuffer, U : AccelerateBuffer, T.Element == Float, U.Element == Float

See Also

Fixed-Size Kernel