bayer: Bayer Matrix

Description Usage Arguments Details Value

View source: R/bayer-matrix.R

Description

Returns a Bayer matrix of side length 2^n. Not exported, not intended for use by the user.

Usage

1
bayer(n)

Arguments

n

matrix size (square matrix of side length 2^n)

Details

My code related to ordered dithering is based on my own web reseach, using mainly the two articles

It might not be exactly right from a 'purist' point of view - but it seems to give the effect I am looking for in this application - based purely on visual aesthetics

Value

A matrix


cj-holmes/ditherer documentation built on Feb. 25, 2021, 2:59 p.m.