expand

From DavinciWiki
Jump to: navigation, search

Description

Expand an image by an integer factor

Arguments and Return Values

Arguments: An array to resize, and resize factors

Return Value: A resized array

Usage

Syntax: expand(array, x factor, y factor)

'array' - input array

'x factor' - xy scale factor or x scale factor

'y factor' - y scale factor (optional)

Examples

dv> a
100x100x3 array of byte, bip format [30,000 bytes]

dv> b=expand(a,3)
300x300x3 array of byte, bsq format [270,000 bytes]

Images

expand1.png expand2.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Library Changes

Created On: 02-15-2006
Modified On: 11-24-2008

Personal tools