pnmcut

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Pnmcut moved to pnmcut)
Line 1: Line 1:
{{DavinciWiki_Function}}
+
{{DavinciWiki_Function|
[[category:C_Programs]]
+
Cut a rectangle out of a PBM, PGM, or PPM image
 +
|
 +
Arguments: The image and start and size parameters
 +
 +
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)
 +
|
 +
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]
 +
|
 +
[[Image: blendpic3.png]] [[Image: pnmcut.png]]
 +
|
 +
|
 +
*[[pnmcrop]]
 +
|
 +
|
 +
}}
 
[[category:Functions]]
 
[[category:Functions]]
 +
[[category:Davinci Core]]

Revision as of 10:05, 9 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