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
create function returns a
CGImage instance based on the supplied 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: