v intersect
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Find the intersection of two v_objects. In other words find the places where the two v_objects overlap. The order of the inputs does not matter since the intersection will not change.
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_intersect(img1=a,img2=b) struct, 4 elements x: 250 y: 150 w: 250 h: 150 Optional usage where a new structure is created and stored in the variable c dv> c=v_intersect(a,b) struct, 4 elements x: 250 y: 150 w: 250 h: 150 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: 250 y: 150 w: 250 h: 150 data: 250x150x1 array of int, bsq format [150,000 bytes] dv> v_insert(src=b,dst=c,ignore=0) dv> v_insert(src=a,dst=c,ignore=0)
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Recent Library Changes Created On: 02-20-2006 |