Global Variable

kvImageConvert_DitherAtkinson

A constant that indicates the conversion will add Atkinson dithering to the image.

Declaration

var kvImageConvert_DitherAtkinson: UInt32 { get }

Discussion

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

Photos showing the original image and the dithered image.

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