rescale: Rescale an image.

View source: R/imgutils.r

rescaleR Documentation

Rescale an image.

Description

Rescale a matrix containing a bitmapped image using bilinear interpolation.

Usage

rescale(im, scale)

Arguments

im

A matrix with image data.

scale

Scale factor.

Details

A value <1 will shrink the image.

Value

A matrix containing the rescaled image data.

Note

NA's are OK.

Author(s)

M.L. Peck mpeck1@ix.netcom.com

See Also

Called by load.images if necessary.


mlpeck/zernike documentation built on April 19, 2024, 3:16 p.m.