do rgb
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description A quick shortcut to make RGB images with any three bands of a single data array
Arguments and Return Values
Usage Syntax: do_rgb(data, band1, band2, band3 [, ignore = VAL] [,var = VAL]) 'data' - a multiband numeric array of greater than three bands 'band1 - band3' - the red, green and blue bands in the dcs calculation 'ignore' - an optional null value of the data, default = -32768 'var' - variance value used in thm.sstretch algorithm, default = 40. Each band will be sstretched individually and pasted together to form a byte image. Requires the thm module.
Examples dv> a 376x376x3 array of float, bsq format [1,696,512 bytes] dv> t = do_rgb(a) 376x376x3 array of byte, bip format [424,128 bytes] dv> t1 = do_rgb(a,3,2,1) 376x376x3 array of byte, bip format [424,128 bytes] dv> t2 = do_rgb(a,3,2,1,var=70) 376x376x3 array of byte, bip format [424,128 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 02-15-2006 |