antiAlias22: antiAlias

View source: R/A018_antiAlias.r

antiAlias22R Documentation

antiAlias

Description

A simple anti alias function

Usage

antiAlias22(image)

Arguments

image

an array with three colour channels

Details

Takes an array and splits each channel into non-overlapping 2x2 cells and returns a smaller array with the average of the old 2x2 cells in the new cells.

Value

Returns an array that is a quarter the size of the original

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.