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".
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.
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.