Home
About ISIS
Support
Download

ISIS 3

Documentation
Tutorials
Technical Documents

ISIS 2

Documentation
Tutorials
Technical Documents

Search

USGS

ISIS 3 Application Documentation


remrx

Printer Friendly View | TOC | Home

Removes Reseaus from an image

Overview Parameters Example 1 Example 2

Description

This program will remove Reseaus from Viking, Voyager, and Mariner images. The Reseaus are removed using either bilinear interpolation of the surrounding pixels or by simply putting NULLs in the portion of the image around the Reseau location of the input image. The ACTION parameter is used to tell the program which of these two actions to take. The user should input the size of the box around the Reseau that will be modified. SDIM and LDIM are the sample and line dimensions of the box around the reseau. RESVALID is used to determine whether the program will check the reseau valid flag for nominal reseaux before removing the reseau. If RESVALID is NO, the program will not check the reseau valid flag for nominal reseaux and all the reseaux will be removed except invalid nominal positions. If RESVALID is YES, the program will check the reseau valid flag that is output from the findrx program. If the flag is 0, the program will not remove that reseau. If the flag is 1, the reseau will be removed. If the flag is -1, indicating an invalid nominal position, the reseau will not be removed in any case. The output cube file can be written over the input file or a new output cube can be created. To overwrite the input file, the TO parameter should be set to blank, " ". The "findrx" program, which writes the Reseau locations, Reseau type, and a valid flag to the cube file label, must be run before "remrx".

Categories


Related Objects and Documents

Applications


History

Elizabeth Ribelin2005-05-02 Original version
Elizabeth Miller2005-10-24 Added truth file for gala
Elizabeth Miller2005-11-15 Modified appTest input path (viking testData areas split)
Steven Lambright2008-05-13 Removed references to CubeInfo

Parameter Groups

Files

Name Description
FROM Input file reseaus will be removed from
TO Output cube

Dimensions

Name Description
SDIM Samples to remove around each reseau
LDIM Lines to remove around each reseau

Options

Name Description
ACTION The way the reseaus will be removed
RESVALID Check Reseau Valid Flag?
X

Files: FROM


Description

The cube the reseaus will be removed from. All reseaus in the cube will be removed.

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: TO


Description

The resultant cube containing the data with reseaus removed.

Type cube
File Mode output
Filter *.cub
Close Window
X

Dimensions: SDIM


Description

The number of samples to remove around each reseau. Defaults to 9.0

Type integer
Default 9
Odd This value must be an odd number
Close Window
X

Dimensions: LDIM


Description

The number of lines to remove around each reseau. Defaults to 9.0

Type integer
Default 9
Odd This value must be an odd number
Close Window
X

Options: ACTION


Description

There are 2 options for removing the Reseaus. The program can replace pixels inside the SDIM x LDIM box with Null or bilinear interpolation. Defaults to BILINEAR.

Type string
Default BILINEAR
Option List:
Option Brief Description
BILINEAR Replace values with bilinear interpolation This option uses bilinear interpolation to create new DN values for the pixels inside the SDIM x LDIM box.
NULL Replace values with NULLs This option will replace each value inside the SDIM x LDIM box with the Isis::NULL value. This allows the user to run another filter program to replace the NULL values.
Close Window
X

Options: RESVALID


Description

If this parameter is TRUE, the reseau valid flag will be checked before the reseau is removed. If the reseau valid flag is a 0 or -1, the reseau will not be removed. If the reseau valid flag is a 1, the reseau will be removed. Reseaus with a valid flag=-1 are never removed. This flag indicates an invalid nominal position. If RESVALID is FALSE, the reseau valid flag will not be checked for nominals and all the reseaus will be removed, except the invalid nominals. Defaults to FALSE.

Type boolean
Default FALSE
Close Window

Example 1

Reseaus replaced with Bilinear Interpolation

Description

This example shows the remrx application with the BILINEAR action option. The SDIM and LDIM default to 9, and RESVALID defaults to false.

Command Line

remrx f=../inputRemrx.cub t=out-bilinear.cub
Uses bilinear interpolation to fill in missing data around each reseau.

GUI Screenshot

Remrx Gui

Example Gui

Screenshot of GUI with parameters filled in to perform a bilinear interpolation remrx operation on the input image.

Input Image

Input Io image

Input image for mirror

Parameter Name: FROM

This is the 800 by 800 input image for the remrx examples.

Output Image

Output image showing results of the remrx application with bilinear interpolation option.

Output image for bilinear interpolation remrx

Parameter Name: TO

This is the 800 by 800 output image that results.


Example 2

Reseaus replaced with Nulls

Description

This example shows the remrx application with the NULL action option, using the same input image as the above example. The SDIM and LDIM default to 9, and RESVALID defaults to false.

Command Line

remrx f=../inputRemrx.cub t=out-null.cub
Nulls out 9x9 boxes around each reseau.

Output Image

Output image showing results of the remrx application with null option.

Output image for null remrx

Parameter Name: TO

This is the 800 by 800 output image that results.