crism destripe
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...) |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | + | Removes column and spike related noise from [[CRISM]] images | |
+ | |||
+ | As of version 1.09 this function has been completely replaced and works significantly better. | ||
| | | | ||
− | Inputs | + | Inputs: short or long data arrays |
+ | |||
+ | Outputs: a cleaned data array | ||
| | | | ||
− | [[Syntax]]: | + | [[Syntax]]: crism_destripe(data [,r_size=INT] [,f_size=INT] [,z_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) |
+ | |||
+ | or | ||
+ | |||
+ | crism_destripe(data=VAL [,r_size=INT] [,f_size=INT] [,z_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) | ||
+ | |||
+ | data - input I/F data from process crism (better if done after atm correction and resample) | ||
+ | |||
+ | r_size - residual column noise filter size (default is 21) | ||
+ | |||
+ | f_size - spike detection filter size (default is 3) | ||
+ | |||
+ | z_size - spectral filter size for replacement values (default is 9) | ||
+ | |||
+ | sigmamult - number of standard deviations from the mean to look for spikes (default is 1) | ||
+ | |||
+ | ignore - null value for the image (default is 0) | ||
| | | | ||
− | + | 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. | ||
| | | | ||
− | + | [[Image:crism_spikes.png]] [[Image:crism_clean.png]] | |
| | | | ||
− | + | *[[convolve2]] | |
+ | *[[thm.deplaid]] | ||
+ | *[[boxfilter]] | ||
+ | *[[avg]] | ||
| | | | ||
− | + | *[[crism_atm]] | |
+ | *[[process_crism]] | ||
+ | *[[get_crism]] | ||
| | | | ||
*crism_science.dvrc | *crism_science.dvrc | ||
| | | | ||
− | 1. | + | 1.09 |
| | | | ||
}} | }} |
Latest revision as of 10:26, 7 October 2009
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.09
Description Removes column and spike related noise from CRISM images As of version 1.09 this function has been completely replaced and works significantly better.
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] [,z_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) or crism_destripe(data=VAL [,r_size=INT] [,f_size=INT] [,z_size=INT] [,sigmamult=FLOAT] [,ignore=FLOAT]) data - input I/F data from process crism (better if done after atm correction and resample) r_size - residual column noise filter size (default is 21) f_size - spike detection filter size (default is 3) z_size - spectral filter size for replacement values (default is 9) 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 |