drawshape
Line 30: | Line 30: | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:Davinci Core]] | [[category:Davinci Core]] | ||
+ | [[category:Miscellaneous]] | ||
+ | [[category:64-bit]] |
Latest revision as of 10:40, 6 July 2009
Contents: Description, Arguments, Usage, Examples, Images Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Draw a shape at each "on" point in an image
Arguments and Return Values Arguments: A numeric array, a shape type and an ignore value Return Value: A numeric array with shapes drawn
Usage Syntax: drawshape(obj = VAR [, shape = "cross"/"box"/"circle"] [, ignore = VAL]) For each point in the input image (band 1 only), that is greater than zero and not equal to the ignore value, a shape is draw centered on that point, with a radius/size equal to the value of the point.
Examples dv> a = clone(0,100,100) 100x100x1 array of int, bsq format [40,000 bytes] dv> a[30,40] = 3 3 dv> a[60,80] = 5 5 dv> b = drawshape(a,shape="circle") 100x100x1 array of byte, bsq format [10,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |