This program creates a control point file used to register one image (referred to as the slave image) to another image(referred to as the master image). The control point file created by this program will contain control points based on a user supplied control point file and an optional control point file created by the program MASTERCTL. The user supplied control point file is used to pre-geom the slave image to the master image attempting to improve the quality of control point selection. The optional master control point file is used to further enhance the control point selection. By using these pre-defined control point files, TUNECTL automatically attempts to fine tune the selection of possible valid control points between the slave and master images. Once created, this control point file can be used as input into the program TFGEN.
Files
This program requires as input three to four input files. The first two images files need to be unsigned 8-bit image files while the third and fourth(optional) are control point files. The first two input image files are the master and slave images while the third is a control point file. The fourth input image file is optional where it can be used to enter the master control point file created by the program MASTERCTL.
Parameters
MSIZE and SSSIZE
These parameters are used to select the size of the windows used in selecting a control point between the slave and master images. Msize selects the size of a window used on the master image while Ssize selects the size of a window in the slave image. Selecting an Msize of 25 results in using a window 25 lines by 25 samples to be used in the master image. These windows are the sizes of areas on both images used in the calculation of control point selection where the master window is moved around in the slave window determining possible control points. The defaults for Msize and Ssize are 117 and 131, note that the master size window must be smaller than the slave window.
PREGEOM
This parameter is used to select wether or not to pregeom the slave image sub-area before attempting to select a control point between it and the same area in the master image. Performing a pregeom to the slave sub-area before searching for a control point between it and its corresponding sub-area on the master image increases the chances of obtaining a more accurate control point. This option can be selected if there are two control point files, otherwise only the required control point file was entered and a pregeom is automatically done. If both control point files are entered and this option is not selected, a pregeom will not be applied to the slave image but calculations will be made according to the control points found in the optional master control point file.
TOLERANCE
This parameter is used to select the tolerance used in selecting control points between the slave and master images. Depending on the image data, selecting a high tolerance may result in mis-registrations therefore selecting a lower tolerance may help in resolving this problem but the "best" tolerance can only be attained through a repetitive process. The default tolerance is 1.0.