Contents

convert(to:)

Converts the contents of the 8-bit planar pixel buffer to 32-bit planar format.

Declaration

func convert(to destination: vImage.PixelBuffer<vImage.PlanarF>)

Parameters

  • destination:

    The destination pixel buffer.

Discussion

This function converts the source values in the range [0, 255] to the destination range [0.0, 1.0].

See Also

Conversion from 8-bit to 32-bit