uint16
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: > 2.18 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Convert an object to uint16 format.
Arguments and Return Values Arguments: Any three dimensional numeric array Return Value: The array converted into uint16 (0 - 65535)
Usage Syntax: uint16(object = VAL) The uint16() function copies and converts an object to uint16 format. Any values above or below the maximum representable values of 0, 65535 are set to the nearest representable value. This function is equivalent to format(object=VAL, format=uint16). All values are truncated.
Examples
dv> a 4x3x2 array of float, bsq format [96 bytes] 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000 10.0000 11.0000 0.567142 0.216034 0.0258639 0.0750542 0.629196 0.118883 0.268471 0.906492 0.389246 0.0442709 0.146869 0.932501 dv> b=uint16(a) 4x3x2 array of uint16, bsq format [48 bytes] 0 1 2 3 4 5 6 7 8 9 10 11 0 0 0 0 0 0 0 0 0 0 0 0 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 11-18-2016 |