ISIS Application Documentation
    Removes Reseaus from an Apollo image
  
            Description
              Categories
              Groups
              History
          Description
        
    This program will remove Reseaus from Apollo images.  
    The Reseaus are removed using either PATCH 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. 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 "apollofindrx" program, which writes the Reseau
    locations, Reseau type, and a valid flag to the cube file label, must be
    run before "apolloremrx".
  
          Categories
        
Applications
                Parameter Groups
            
Files
| 
                    Name
                     | 
                    Description
                     | 
| FROM | 
          Input file
         | 
| TO | 
          Output cube
         | 
Options
| 
                    Name
                     | 
                    Description
                     | 
| WIDTH | 
                Reseau width
             | 
| ACTION | 
                The way the reseaus will be removed
             | 
| RESVALID | 
                Check Reseau Valid Flag?
             | 
Files:
                        FROM
                         Description
                       
          The cube the reseaus will be removed from.
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | input | 
| 
                               Filter
                              | 
          *.cub
         | 
 
Files:
                        TO
                         Description
                       
          The resultant cube containing the data with reseaus removed. (Leave blank to overwrite original)
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
| 
                               Filter
                              | 
          *.cub
         | 
 
Options:
                        WIDTH
                         Description
                       
                The width of the Apollo reseau.
            
 
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 
                PATCH interpolation. Defaults to PATCH.
            
| 
                             Type
                            | string | 
| 
                               Default
                              | PATCH | 
| 
                               Option List:
                              | 
| 
                                   Option | 
                                   Brief | 
                                   Description | 
 
| PATCH | 
                       Replace values with PATCH interpolation
                     | 
                        This option uses PATCH 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.
                     | 
 
 
 | 
 
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 | 
 
              History
          
| Jacob Danton | 2007-01-18 | 
      Original version
     |