v cut
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Cut a v_object to the specified size using another v_object.
Arguments and Return Values Arguments: Accepts two v_objects Return Values: Returns a modified v_object
Usage Syntax: v_insert(src = STRUCT, box = STRUCT) src - First v_object which will be cut but not be modified box - Second v_object that defines the cutting area, may or may not have .data element. If this argument is explicitly defined then a .data element will be created. If it is non-explicitly defined then the new v_object will be stored in an output variable.
Examples dv> a struct, 7 elements data: 500x300x1 array of byte, bsq format [150,000 bytes] h: 300 lines: 0 samples: 0 w: 500 x: 0 y: 0 dv> box struct, 4 elements w: 150 h: 150 x: 300 y: 150 dv> v_cut(src=a,box=box) dv> box struct, 5 elements w: 150 h: 150 x: 300 y: 150 data: 150x150x1 array of byte, bsq format [22,500 bytes] Optional usage where a new structure is created and stored in the variable c dv> c=v_cut(a,box) struct, 5 elements w: 150 h: 150 x: 300 y: 150 data: 150x150x1 array of byte, bsq format [22,500 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 02-20-2006 |