Contents

vImageCVImageFormat_CopyChannelDescription(_:_:_:)

Copies the channel description for a particular channel type to an image format.

Declaration

func vImageCVImageFormat_CopyChannelDescription(_ format: vImageCVImageFormat, _ desc: UnsafePointer<vImageChannelDescription>, _ type: vImageBufferTypeCode) -> vImage_Error

Parameters

Return Value

kvImageNoError; otherwise, one of the error codes in Data Types and Constants.

See Also

Querying and setting channel information