reconcile_air
Purpose:
This program will attempt to reconcile discrepancies in a series
of .air files that represent all pairwise registrations
of a group of image files. Each pair of images only needs to be
represented by a single .air file. A new, more internally consistent,
set of .air files will be created.
This program assumes that .air files are named in a very
consistent and orderly fashion. Specifically, the names must take the
form *A*B* where the first asterisk represents
the same character string in all of the files being reconciled, the
second asterisk represents the same character string in all of the
files being reconciled, the third asterisk represents the same
character string in all of the files being reconciled, A is a
character string that represents the reslice file, and B is a
character string that represents the standard file.
Usage:
reconcile_air iterations
prefix
intron
suffix
output-prefix
output-suffix
overwrite?(y/n)
id1
[...idN]
- where the following definitions apply:
- iterations
- the number of reconciliating iterations to perform
- prefix
- a prefix that will be common to all of the input .air file
names--use "null" if you don't want a prefix
- intron
- an internal separator that will be common to all of the
input .air file names--use "null" if you don't want an internal
separator
- suffix
- a suffix that will be common to all of the input .air file
names--use "null" if you don't want a suffix
- output-prefix
- a prefix that will be common to all of the output .air file
names--use "null" if you don't want an output prefix
- output-suffix
- a suffix that will be common to all of the output .air file
names--use "null" if you don't want an output suffix
- overwrite?(y/n)
- 'y' if you want preexisting output files with the same
names as the current output files to be overwritten
- id1
- unique identifier that appears in between the intron and
prefix or suffix
- ...idN
- additional unique identifiers
Examples:
reconcile_air 10 subj .airsubj null subj new y 1 2 3 4
- This command will cause the program to load the following
files:
- subj1.airsubj2 (and/or subj2.airsubj1)
- subj1.airsubj3 (and/or subj3.airsubj1)
- subj1.airsubj4 (and/or subj4.airsubj1)
- subj2.airsubj3 (and/or subj3.airsubj2)
- subj2.airsubj4 (and/or subj4.airsubj2)
- subj3.airsubj4 (and/or subj4.airsubj3)
- If any of the pairs listed is not represented, the program
will stop and complain. Ten reconciliation iterations will be run
before creating output files with "new" appended at the end of
each file name.
Comments:
- It is absolutely essential that the reslice file be
represented before the standard file in the .air file names.
Error messages: (alphabetical by
case)
See also: Generic error messages
- Attempt to open file ____________________ also
failed
- The program has failed to find any file representing the
pairwise registration in question. Double check your naming
conventions and list your files to determine what is missing.
See also:
Modified: December 11, 1996
© 1995-6 Roger P. Woods,
M.D.(rwoods@ucla.edu)