Create displayable representations of vImage buffers.
vImage provides a function for creating Core Graphics images from vImage buffers. This function allows you to display the results of a vImage operation to your user.
Create the Image
You create a Core Graphics image from the buffer, and initialize a
UIImage instance from that. The
v function returns an unmanaged
CGImage instance based on the supplied buffer and Core Graphics image format (for more information, see Creating a Core Graphics Image Format).
The following example shows how to create a Core Graphics image from a vImage buffer.