dither: Dither a numeric matrix

Description Usage Arguments Value

Description

Dither a numeric matrix

Usage

1
dither(m, edm, threshold = 0.5)

Arguments

m

numeric matrix with all values in the range [0, 1]

edm

the error diffusion matrix

threshold

threshold value. default: 0.5

Value

numeric matrix with dithering. all values are 0 or 1.


coolbutuseless/dithr documentation built on May 14, 2019, 6:09 a.m.