Registration: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
#Run <code>batchGen.pl</code> to create the master batch files.
#Run <code>batchGen.pl</code> to create the master batch files.
#* Run it from the top level of the subject directory.
#* Run it from the top level of the subject directory.
#* The first time you run it, run with the <code>--crop</code> option, so it imports the data from the crop_values.txt file.
#* The first time you run it, run with the <code>--crop</code> option, so it imports the data from the <code>crop_values.txt</code> file.
#* <code>batchGen.pl</code> should create three files: <code>regbatch</code>, <code>subsetbatch</code>, and <code>unixbatch</code>. <code>unixbatch</code> is the master file that calls the other three
#* <code>batchGen.pl</code> should create three files: <code>regbatch</code>, <code>subsetbatch</code>, and <code>unixbatch</code>. <code>unixbatch</code> is the master file that calls the other two. <pre>E06001_scan>  $G/install_linux/bin/wrist/batchGen.pl  --crop</pre>
  <pre>E06001_scan>  $G/install_linux/bin/wrist/batchGen.pl  --crop</pre>
#Run <code>unixbatch</code> from the top level of the subject directory.  
#Run <code>unixbatch</code> from the top level of the subject directory.  
#*  This should go through and run all the major steps.
#*  This should go through and run all the major steps.

Revision as of 18:11, 20 May 2009

the CS Carpal Pipeline

  1. Create the subject directory. It must have the format: E#####_scan; where # is substituted with a digit. Import files/folders from Bioengineering:
    • original_scans/ CT_Scans [scans of all wrist positions]
    • original_stacks/ [segmented neutral position of wrist]
    • crop_values.txt
  2. Run batchGen.pl to create the master batch files.
    • Run it from the top level of the subject directory.
    • The first time you run it, run with the --crop option, so it imports the data from the crop_values.txt file.
    • batchGen.pl should create three files: regbatch, subsetbatch, and unixbatch. unixbatch is the master file that calls the other two.
      E06001_scan>  $G/install_linux/bin/wrist/batchGen.pl  --crop
  3. Run unixbatch from the top level of the subject directory.
    • This should go through and run all the major steps.
    • ./unixbatch
  4. After unixbatch finishes, you need to validate the output of the registration steps
    • Use WristVis to check the registration
    • If there are errors, re-run batchGen.pl, without the --crop option, and choose NOT to re-run all parts. Then let it hopefully help you through the process.
  5. Folders collected_results and auto_registr_resuls contain the same registration results in different formats, whereas classified_scans contains the tissue classification results