Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

ISIS Documentation

remrx

Removes Reseaus from an image

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

Parameters

Files

The cube the reseaus will be removed from. All reseaus in the cube will be removed.
Type cube
File Mode input
Filter *.cub

The resultant cube containing the data with reseaus removed.
Type cube
File Mode output
Filter *.cub

Dimensions

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

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

Options

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.

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

Example 1

Reseaus replaced with Bilinear Interpolation

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

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

GUI Screenshot

Remrx Gui

Example Gui

Remrx 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

Input Io image

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

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

Parameter Name: TO

This is the 800 by 800 output image that results.

Example 2

Reseaus replaced with Nulls

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

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

Output Image

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

Output image for null remrx

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

Parameter Name: TO

This is the 800 by 800 output image that results.