ISIS Application Documentation
    Find and refine reseau points in a cube
  
            Description
              Categories
              Groups
              History
          Description
        
    This program will read in a cube and refine the positions of the Reseau points. 
    It will also modify the cube's label so the Reseaus are matched with sub-pixel accuracy.
    The new reseau coordinate set is then set to "Refined", and the validity of the pixels that
    have nothing wrong will be set to 1. 
    NOTE: Please be aware that refining the reseaux locations will modify the image distortion 
    once applications that utilize the camera model (campt, qview, etc) are used. Thus findrx has 
    the practical effect of changing the geometry of the image.
  
          Categories
        
                Parameter Groups
            
Files
| 
                    Name
                     | 
                    Description
                     | 
| FROM | 
          Input file to be read
         | 
| REGDEF | 
          The Auto Registration template
         | 
Marking Options
| 
                    Name
                     | 
                    Description
                     | 
| MARK | 
                Mark the reseaus with a centered white pixel?
             | 
Files:
                        FROM
                         Description
                       
          The cube to be used to extract Reseau points from.
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | input | 
| 
                               Filter
                              | 
          *.cub
         | 
 
Files:
                        REGDEF
                         Description
                       
          The template to use with the AutoReg class. Default will be maximum correlation function
          with a tolerance of 0.7, a search cube of 21x21 pixels, and a pattern cube of 9x9 pixels.
        
| 
                             Type
                            | filename | 
| 
                               File Mode
                              | input | 
| 
                               Internal Default
                              | $ISISROOT/appdata/templates/autoreg/findrx.def | 
| 
                               Filter
                              | 
          *.def
         | 
 
Marking Options:
                        MARK
                         Description
                       
                This option will enable marking onto the cube file, writing a tiny white pixel in the center
                of the refined reseau. This is mostly used for testing purposes, but it can also be
                used for verification.
            
| 
                             Type
                            | boolean | 
| 
                               Default
                              | false | 
 
              History
          
| Leah Dahmer | 2005-05-06 | 
      Original version
     | 
| Elizabeth Miller | 2005-10-05 | 
        Moved from utilities into mission categories
     | 
| Jacob Danton | 2006-05-24 | 
        Modified the registration algorithm on edge and corner reseaus.
     | 
| Tracie Sucharski | 2006-08-07 | 
        Changed call to Chip::Load because a scale factor was added to the 
        method.
     | 
| Brendan George | 2006-09-28 | 
        Documentation fixes
     | 
| Steven Lambright | 2008-06-23 | 
        Updated to properly check AutoReg::Register()'s return status
     | 
| Jeannie Walldren | 2010-08-02 | 
        Updated to use new SearchChip SubchipValidPercent value from the template.
     | 
| Kaitlyn Lee | 2019-03-25 | 
        Added method writeHistory() to add an entry to the history blob of the input cube.
        Updated code up to coding standards.
     |