hidestripe
Corrects a known striping pattern in HiRISE images.
In mixed mode HiRISE images, there is a tendency for every other line in the ccd with the lower binning mode to be significantly darker or lighter than normal image data would suggest. This program attempts to correct that problem. 2 passes through a cube are necessary to perform the correction. The first pass gathers information on each line of the cube to determine if the striping phenomenon occurs in odd numbered lines or in even numbered lines, and also gathers information to perform the actual correction.
The second pass through the data performs the actual correction, of which there are two different types. The default, an additive correction, is of the following form for each pixel((Line[i-1]) + Line[i+1]) Pixel[i,j] - Line[i] + -------------------------- 2The other correction, a multiplicative correction of a similar style, is of the form
Pixel ((Line[i-1]) + Line[i+1]) ------- * --------------------------- Line[i] 2
It should finally be noted that the striping pattern has been observed to be most prevalent in a certain quardrant of the image, though that phase is not the same for all images. In order to address this irregularitiy, the line averages shown above are not for the entire line, but only for the quarter of the line in which sample i exists.
Caution should be taken when running hidestripe: it should only be run on images where different CCDs are run at different binning modes. Of those, only channels that are not used in the highest binning mode of the image should be corrected. For example, if an image has binning modes 1, 2, and 4 the CCDs with modes 1 and 2 may be hidestripe'd, but in an image that is only binned in modes 1 and 2, the bin 1 CCDs are the only ones that need the hidestripe correction.
Categories
History
Drew Davidson | 2006-05-30 | Original version |
Drew Davidson | 2006-07-29 | Changed to calculate phase limits differently for Channel 1 |
Drew Davidson | 2006-08-17 | Added capability to process bin 2 data |
Drew Davidson | 2007-01-05 | Allowed users to specify odd or even correction |
Steven Lambright | 2008-05-13 | Removed references to CubeInfo |
Sharmila Prasad | 2010-12-21 | Destripe for images with summing greater than 2 |
Parameters
Files
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | output |
Filter | *.cub |
Correction Type
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | ADD | |||||||||
Option List: |
|
Correction Start
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | AUTO | ||||||||||||
Option List: |
|
Example 1
Additive correction
Command Line
hidestripe
from=HiRISE/cubs/PSP_RED5_bin0.cub to=HIRISE/cubs/PSP_RED5_bin0_corrected.cub
GUI Screenshot
Example Gui
Default GuiParameters set to perform additive correction. No options have been changed from their defaults (though required TO/FROM have).
Input Image
Input image before hidestripe
Before correction
Parameter Name:
FROM
The image before the correction is applied. Note the stripes.