Global Variable


A constant that indicates the conversion will distribute the noise uniformly.


var kvImageConvert_OrderedUniformBlue: UInt32 { get }


The following shows an 8-bit RGB image converted to a 1-bit planar image with vImageConvert_Planar8toPlanar1(_:_:_:_:_:) using kvImageConvert_DitherOrderedReproducible. The image on the left uses kvImageConvert_OrderedGaussianBlue, and the image on the right uses kvImageConvert_OrderedUniformBlue:

Photos showing images with different noise distributions applied during dithering.

To learn about converting an RGB image to grayscale, see Converting Color Images to Grayscale.