crism destripe

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(New page: {{DavinciWiki_Function| Description | Inputs | Syntax: | Example | Images | Sub | Related | *crism_science.dvrc | 1.00 | }} category:Functions category:User Defined Functions [...)
 
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Description
+
Removes column and spike related noise from [[CRISM]] images
 
|
 
|
Inputs
+
Inputs: short or long data arrays
 +
 
 +
Outputs: a cleaned data array
 
|
 
|
[[Syntax]]:
+
[[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)
 
|
 
|
Example
+
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
+
[[Image:crism_spikes.png]] [[Image:crism_clean.png]]
 
|
 
|
Sub
+
*[[convolve2]]
 +
*[[thm.deplaid]]
 +
*[[boxfilter]]
 +
*[[avg]]
 
|
 
|
Related
+
*[[crism_atm]]
 +
*[[process_crism]]
 +
*[[get_crism]]
 
|
 
|
 
*crism_science.dvrc
 
*crism_science.dvrc

Revision as of 00:57, 31 March 2009


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

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

  • crism_science.dvrc

Related Functions

1.00

Recent Library Changes

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

Personal tools