crism destripe

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
 
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)
  
r_size - residula column noise filter size (default is 21)
+
r_size - residual column noise filter size (default is 21)
  
 
f_size - spike detection filter size (default is 3)
 
f_size - spike detection filter size (default is 3)

Revision as of 10:25, 7 October 2009


Description

Removes column and spike related noise from CRISM images

As of version 1.08 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.

Images

crism spikes.png crism clean.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 03-30-2009
Modified On: 10-07-2009

Personal tools