Isis 2 Documentation
affinefit Documentation
affinefit - Produce a reg file defining an affine transformation fit
This program solves for the best fit of the control points to an
affine transformation. The six coefficients are output to a "reg"
file that can be used in programs that project from level1 space to
level 2 space, such as last2prj.
The fit equations are
newline = line_translation + line_coef1*line + line_coef2*sample
newsample = sample_translation + samp_coef1*line + samp_coef2*sample
PROGRAMMER: Debbie A. Cook, U.S.G.S. Flagstaff, AZ
| Parm | Description | Default |
|---|---|---|
| FROM | Input cube file name (Default extension is .cub) | NONE |
| FROMT | Input truth cube file name (Default extension is .cub) | NONE |
| CFILE | Control point file (No default extension) | NONE |
| REGFILE | Output registration file | NONE |
| OPTION | Fit option:
FULL (default)
or TRANONLY (translation only)
|
ADDITIONAL NOTES:
| Parm | Description |
|---|---|
| FROM | Input cube file name. If the file extension is omitted, then ".cub" will be assumed. |
| FROMT | Input truth cube file name. If the file extension is omitted, then ".cub" will be assumed. |
| CFILE | CFILE is the ascii control point file which was created by COREGPR2, or some other program, or by the user by manually editing a file. There must be at least 6 control points in this file. This file must be in the following format (I5,4F10.0): point number, input line, input samp, truth line, truth samp EX: 1,10,1,15,30 |
| OPTION | The affine transformation that is fit to the data can be a FULL affine (default), or TRANONLY (translation only). |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov