Global Variable

kvImageConvert_DitherOrderedReproducible

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

Declaration

var kvImageConvert_DitherOrderedReproducible: UInt32 { get }

Discussion

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

Photos showing the original image and the dithered image.

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