Contents

deinterleave(destination:)

Deinterleaves the 8-bit-per-channel, four-channel interleaved buffer and writes the result to a multiple-plane pixel buffer.

Declaration

func deinterleave(destination: vImage.PixelBuffer<vImage.Planar8x4>)

Parameters

  • destination:

    The destination pixel buffer.

Discussion

Use this function to deinterleave a buffer and overwrite a multiple-plane pixel buffer with copies of each source channel.

See Also

Deinterleaving pixel buffers