do dcs
m |
|||
Line 44: | Line 44: | ||
*[[do_rdcs]] | *[[do_rdcs]] | ||
|*image_stretch.dvrc | |*image_stretch.dvrc | ||
− | | | + | | |
}} | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
[[category:Image Stretching]] | [[category:Image Stretching]] |
Latest revision as of 16:07, 17 January 2008
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description A quick shortcut to make dcs images with any three bands
Arguments and Return Values
Usage Syntax: do_dcs(data, band1, band2, band3 [, ignore = VAL] [, sample = VAL] [, variance = 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 'sample' an optional color sample array 'variance' an optional color variance specification, default = 50 If no bands are specified an 8-7-5 stretch will be attempted.
Examples dv> a 300x750x10 array of float, bsq format [9,000,000 bytes] dv> b 300x750x10 array of float, bsq format [9,000,000 bytes] dv> display(do_dcs(a,9,6,4)) dv> display(do_dcs(a,7,5,3,ignore = -32768)) dv> pic = do_dcs(a,variance = cat(80,50,50,axis = y)) 300x750x3 array of byte, bip format [675,000 bytes] dv> pic = do_dcs(a,ignore = 0,sample = b) 300x750x3 array of byte, bip format [675,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 02-15-2006 |