pnmcut

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
Return Value: An image cut out of the original
 
Return Value: An image cut out of the original
 
|
 
|
[[Syntax]]: pnmcut(object=VAR, x=INT, y=INT, z=INT, width=INT, height=INT, depth=INT)
+
[[Syntax]]: pnmcut(object = VAR, x = INT, y = INT, z = INT, width = INT, height = INT, depth = INT)
 
|
 
|
 
  dv> a
 
  dv> a

Revision as of 11:57, 27 March 2006



Description

Cut a rectangle out of a PBM, PGM, or PPM image

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)

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]

Images

blendpic3.png pnmcut.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 Core Changes

Modified On: 08-26-2006

Personal tools