pnmcut
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Cut a rectangle out of a PBM, PGM, or PPM image (while this was the intended design, it actually functions on any numerical array)
Arguments and Return Values Arguments: The image and start and size parameters Return Value: An image cut out of the original
Usage Syntax: pnmcut(object = VAR, x = INT, y = INT, z = INT, width = INT, height = INT, depth = INT) object - any numerical array x - the upper left x pixel y - the upper left y pixel z - the upper left z pixel width - the width of the cut section (x direction) height - the height of the cut section (y direction) depth - the depth of the cut section (z direction)
Examples dv> a 1441x2141x3 array of byte, bip format [9,255,543 bytes] dv> b=pnmcut(a,300,600,1,200,200,3) 200x200x3 array of byte, bip format [120,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 08-26-2006 |