Dithering: Apply dithering to integer values

Description Usage Arguments Value

View source: R/z_other_functions.R

Description

The Dithering function applies a triangular dithering filter which should eliminate the presence of identical non-zero values in the input vector or matrix, without distorting the original distribution of values.

Usage

1

Arguments

x

integer vector or matrix.

Value

Dithering returns a numeric vector or matrix.


benja0x40/QuickShift documentation built on Jan. 22, 2021, 7:43 p.m.