Global Variable

kvImageConvert_DitherOrdered

A constant that indicates the conversion will add randomized, pre-computed blue noise to the image.

Declaration

var kvImageConvert_DitherOrdered: UInt32 { get }

Discussion

The following shows an 8-bit RGB image converted to a 1-bit planar image with vImageConvert_Planar8toPlanar1(_:_:_:_:_:) using kvImageConvert_DitherOrdered:

Photos showing the original image and the dithered image.

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