Contents

vImageCVImageFormat_CopyConversionMatrix(_:_:_:)

Copies an RGB-to-YpCbCr conversion matrix to an image format’s internal matrix.

Declaration

func vImageCVImageFormat_CopyConversionMatrix(_ format: vImageCVImageFormat, _ matrix: UnsafeRawPointer, _ inType: vImageMatrixType) -> vImage_Error

Parameters

  • format:

    The destination Vimagecvimageformat instance.

  • matrix:

    The matrix that the function copies to the destination image format.

  • inType:

    The type of the matrix.

Return Value

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

See Also

Querying and setting the conversion matrix