crism destripe
Line 6: | Line 6: | ||
Outputs: a cleaned data array | Outputs: a cleaned data array | ||
| | | | ||
− | [[Syntax]]: crism_destripe(data [,r_size | + | [[Syntax]]: crism_destripe(data [,r_size=INT] [,f_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) |
or | or | ||
− | crism_destripe(data | + | crism_destripe(data=VAL [,r_size=INT] [,f_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) |
data - input I/F data from process crism (better if done after atm correction and resample) | data - input I/F data from process crism (better if done after atm correction and resample) | ||
Line 30: | Line 30: | ||
id: ""HRS000035B5_07_IF174L_TRR2.IMG"" | id: ""HRS000035B5_07_IF174L_TRR2.IMG"" | ||
data: 320x225x438 array of float, bil format [126,144,000 bytes] | data: 320x225x438 array of float, bil format [126,144,000 bytes] | ||
− | dv> in | + | dv> in=in.long.data |
320x225x438 array of float, bil format [126,144,000 bytes] | 320x225x438 array of float, bil format [126,144,000 bytes] | ||
− | dv> in[where in>50] | + | dv> in[where in>50]=0 |
320x225x438 array of float, bil format [126,144,000 bytes] | 320x225x438 array of float, bil format [126,144,000 bytes] | ||
− | dv> display(sstretch(in[,,51],ignore | + | dv> display(sstretch(in[,,51],ignore=0)) |
Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file. | Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file. | ||
− | dv> out | + | dv> out=crism_destripe(in,ignore=0) |
320x225x438 array of float, bsq format [126,144,000 bytes] | 320x225x438 array of float, bsq format [126,144,000 bytes] | ||
− | dv> display(sstretch(out[,,51],ignore | + | dv> display(sstretch(out[,,51],ignore=0)) |
Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file. | Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file. | ||
| | | |
Revision as of 00:59, 31 March 2009
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.00
Description Removes column and spike related noise from CRISM images
Arguments and Return Values Inputs: short or long data arrays Outputs: a cleaned data array
Usage Syntax: crism_destripe(data [,r_size=INT] [,f_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) or crism_destripe(data=VAL [,r_size=INT] [,f_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) data - input I/F data from process crism (better if done after atm correction and resample) r_size - replacement image filter size (default is 5) f_size - spike detection filter size (default is 3) sigmamult - number of standard deviations from the mean to look for spikes (default is 1) ignore - null value for the image (default is 0)
Examples dv>in struct, 1 elements long: struct, 5 elements anc: struct, 5 elements... wl_array: 320x1x438 array of float, bil format [560,640 bytes] at_array: 320x1x438 array of float, bil format [560,640 bytes] id: ""HRS000035B5_07_IF174L_TRR2.IMG"" data: 320x225x438 array of float, bil format [126,144,000 bytes] dv> in=in.long.data 320x225x438 array of float, bil format [126,144,000 bytes] dv> in[where in>50]=0 320x225x438 array of float, bil format [126,144,000 bytes] dv> display(sstretch(in[,,51],ignore=0)) Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file. dv> out=crism_destripe(in,ignore=0) 320x225x438 array of float, bsq format [126,144,000 bytes] dv> display(sstretch(out[,,51],ignore=0)) Writing /tmp/dv_5615/yaJn2W: 320x225x1 PNG file.
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 03-30-2009 |