v union
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description
Arguments and Return Values Arguments: Accepts two v_objects Return Values: Returns a v_object (with no .data element) that is the size of the intersection
Usage
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> b struct, 7 elements data: 500x300x1 array of byte, bsq format [150,000 bytes] h: 300 lines: 0 samples: 0 w: 500 x: 250 y: 150 dv> c=v_union(img1=a,img2=b) struct, 4 elements x: 0 y: 0 w: 750 h: 450 Optional usage where a new structure is created and stored in the variable c dv> c=v_intersect(a,b) struct, 4 elements x: 0 y: 0 w: 750 h: 450 To illustrate the intersection, we will continue with the process to actually fill in the values. dv> c=v_create(c,ignore=0) struct, 5 elements x: 0 y: 0 w: 750 h: 450 data: 750x450x1 array of int, bsq format [1,350,000 bytes] dv> v_insert(src=b,dst=c,ignore=0) dv> v_insert(src=a,dst=c,ignore=0) This process is very similar to what v_paste does and yeilds the same results.
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 02-20-2006 |