USGS

Isis 2 Documentation


remrx Documentation

remrx - Remove Reseaus from an input image
"remrx" 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".

Programmer:  Jim Mathews, U.S.G.S., Flagstaff, AZ

ParmDescriptionDefault
FROM
Input cube file name
  (default extension is .cub)
NONE
TO
Output cube file name
  (default extension is .cub)
NONE
SDIM
Number of samples to remove
  around each Reseau
9
LDIM
Number of lines to remove
  around each Reseau
9
ACTION
Which way to remove Reseaus -
  (BILINEAR or NULL)
"BILINEAR"
RESVALID
Check reseau valid flag -
  (YES or NO)
"NO"
USERNOTE
User comment
" "

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file name.  If the file extension is omitted,
then ".cub" will be assumed.
TO
Output cube file name.  If the file extension is omitted,
then ".cub" will be assumed.  To overwrite the input file,
set this parameter to a single blank, " ".
SDIM
Number of samples to remove around each Reseau location.
The area inside the SDIM x LDIM box will be changed to
remove the Reseau.  If the number entered is not an odd
number, 1 will be added to it to make the dimension an
odd number.
LDIM
Number of lines to remove around each Reseau location.
The area inside the SDIM x LDIM box will be changed to
remove the Reseau.  If the number entered is not an odd
number, 1 will be added to it to make the dimension an
odd number.
ACTION
There are 2 ways the program can remove the Reseaus.
BILINEAR will use bilinear interpolation to create new DN
values for the pixels inside the SDIM x LDIM box.  NULL
will simply replace each DN value inside the SDIM x LDIM
box with the ISIS NULL value.  The NULL option will allow
the user to run another filter program such as "boxfilter"
to replace the NULL values.
RESVALID
If this parameter is YES, 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 NO, the reseau valid flag will not be
checked for nominals and all the reseaus will be removed,
except the invalid nominals.
USERNOTE
Comment from the user.  This will be recorded in the ISIS
session log file and also in the History entry that is put
into the History object of the output file.

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page