Contents

init(device:)

Initializes a downwards 5-tap image pyramid with the default filter kernel and device.

Declaration

convenience init(device: any MTLDevice)

Parameters

  • device:

    The device the filter will run on.

Return Value

A valid MPSImagePyramid object or nil, if failure.

Discussion

The filter kernel is the outer product of w = [1/16, 1/4, 3/8, 1/4, 1/16]^T, with itself.

See Also

Methods