rescale | R Documentation |
Rescale a matrix containing a bitmapped image using bilinear interpolation.
rescale(img, scale)
img |
A matrix with image data. |
scale |
Scale factor. |
A value <1 will shrink the image.
A matrix containing the rescaled image data.
NA
's are OK.
M.L. Peck mpeck1@ix.netcom.com
Called by load.images
if necessary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.