rep_mat: Repeat a Bayer matrix to fill rows and columns

Description Usage Arguments Details

View source: R/bayer-matrix.R

Description

Not exported. Not intended for use by the user.

Usage

1
rep_mat(mat, nrow_out, ncol_out)

Arguments

mat

Bayer matrix

nrow_out

Number of rows

ncol_out

NUmber of columns

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


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