sstretch
From DavinciWiki
(Redirected from thm.sstretch)
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: > 1.71 Current Davinci Version: 2.27 64-bit Safe: No
Description Same as thm.sstretch Sigma-stretch the data The data is stretched according to the equation: (data-avg)*(variance/stddev)+127 where:
Each band (XY plane) is stretched individually.
Arguments and Return Values
Usage Syntax: sstretch(data = VAL [, ignore = VAL] [, variance = VAL]) 'ignore' - value to ignore in variance calculation. Default is -32768. 'variance' - An optionally designated variance of the stretch. Default is 40.
Examples dv> a 320x650x10 array of short, bsq format [4,160,000 bytes] dv> pic1=sstretch(a[,,1],var=10) 320x650x1 array of byte, bip format [208,000 bytes] dv> display(pic1) dv> pic2=sstretch(a[,,1]) 320x650x1 array of byte, bip format [208,000 bytes] dv> display(pic2) dv> pic3=sstretch(a, variance=90) 320x650x10 array of byte, bip format [2,080,000 bytes] dv> display(pic3[,,1])
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 07-06-2009 |