sstretch old
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Images, Related Functions, Source Supported Under Version: >1.00
Description Perform a sigma stretch. The data is stretched according to the equation: ((data/avg)*(variance/stddev))+127 where:
Arguments and Return Values Arguments: Any numeric array Return Value: A byte array
Usage Syntax: sstretch(image [, ignore = VAL] [,variance = VAL])
Examples dv> a 320x650x10 array of short, bsq format [4,160,000 bytes] dv> pic1=sstretch(a[,,1],variance=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[,,1], variance=90) 320x650x10 array of byte, bip format [2,080,000 bytes] dv> display(pic3)
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 02-15-2006 |