resizeImage {cmna}R Documentation

Image resizing

Description

Resize images using nearest neighbor and

Usage

resizeImageNN(imx, width, height)

resizeImageBL(imx, width, height)

Arguments

imx

a 3-dimensional array containing image data

width

the new width

height

the new height

Details

The resizeImageNN function uses the nearest neighbor method to resize the image. Also, resizeImageBL uses bilinear interpolation to resize the image.

Value

a three-dimensional array containing the resized image.


[Package cmna version 1.0.5 Index]