GETTING_STARTED with the MedOptics Correction Utility medcorrect.c: Platforms: The program is written in C, and has been compiled on RedHat Linux 7.3 and on a TRUE UNIX 64 ALPHA. Gcc (linux) is prefered only insofar as the full help and usage strings are used. (gcc allows mult-line string constants). Also, The binary on the download page was compiled as a standalone binary so it may run as is on lots other linux systems. DOWNLOAD: Option 1) Go to http://staff.chess.cornell.edu/~woll > From the directory Medcorrect_v1, download either the tarball medcorrect.tgz or each individual file. > If you don't alread have them, get the three correction files (medxbin1.tif, medybin1.tif, and medi12b1.tif) from the directory Medoptics_correction_files Next, if you downloaded the program as an archive, use tar -xzvf medcorrect.tgz to unzip the distribution (it automatically creates a directory Medcorrect_v1 into which the files go). Within that directory, "./medcorrect --help" results in the help string being printed out. If it fails, you will probably have to recompile. To do so just delete or rename the existing binary file medcorrect and type "make medcorrect". TO USE: 1) make sure the medcorrect binary is in your path -- or just move it to a data directory to test 2) Either a) put the correction files (medxbin1...) in a sensible place, away from your data & edit the file medcorrect.cfg (which should be in your data directory) to reflect the location of the correction files. or b) call medcorrect with the "id" options and the -t and -x options to specify the location of the intensity and distortion correction files. (See USAGE for details). These locations will be written to the file medcorrect.cfg and used the next time medcorrect is run _without_ the -t and -x options. 3) Try it: > medcorrect id -s my_data.tif You should see the TV6-style line numbers scroll across as intensity and distortion correction are preformed, and that the program is outputting the corrected data to "to my_data_c.tif" 4) See USAGE (or type medcorrect --help) to see other usage examples.