User Tools

Site Tools


jvs:fscan:manual:chapter2:invivo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
jvs:fscan:manual:chapter2:invivo [2013/08/22 15:44] voyvodicjvs:fscan:manual:chapter2:invivo [2014/03/24 16:59] voyvodic
Line 3: Line 3:
 ===== Table InVivo -- Special case InVivo data tables ===== ===== Table InVivo -- Special case InVivo data tables =====
 **usage:** **usage:**
- * **-table invivo TBLNAME NAME**\\ +  * -table invivo studytable studiesdir tbldir serage examage sernum 
- * **-table invivo TBLNAME NAME**\\ +  * -table invivo studytable studiesdir tbldir outdir flag [wdf] [ndays] [minseries] 
- * **-table invivo TBLNAME NAME**\\ +  * -table invivo studytable studiesdir tbldir outdir flag [wdf] [ndays] [minseries]
- * **-table invivo TBLNAME 4 NAME**\\ +
- * **-table invivo TBLNAME 5 NAME**\\ +
- * **-table invivo TBLNAME 6 NAME**\\ +
- * **-table invivo TBLNAME 7 NAME**\\ +
- * **-table invivo TBLNAME 8 NAME**\\+
  
 +The TABLE INVIVO command performs customized manipulations on data tables describing MRI exam and scan data sets processed on InVivo's DynaSuite workstations. This command expects an existing table for its STUDYTABLE argument with a predefined structure (described below). For each separate study (row) in STUDYTABLE it will automatically create/read/modify an image series table (described below) unique to that study.
  
 +STUDYTABLE is the name of the data table being manipulated. In general this table should already exist (i.e., created by a previous [[jvs:fscan:manual:chapter2:table|Table]] command).
  
-The TABLE INVIVO command is used for manipulating tables associated with data files on an InVivo DynaSuite image processing system. This is a special case addition to fScan'standard [[jvs:fscan:manual:chapter2:table|Table]] command. +==== Study table: 1 row per scan session==== 
 +Column description:\\ 
 +FLAG: 
 +  * 0 - study found, no series table yet 
 +  * 1 - study has been modified 
 +  * 2 - series table updated 
 +  * 3 - Local BXH file for each DICOM series 
 +  * 4 - Local WDF updated 
 +  * 8 - Images transferred to remote disk 4D BXH's 
 +  * 16 - Functional maps generated 
 +  * 32 - DTI tracking done 
 +  * 1024 - study in table but server data directory missing 
 +  * 2048 - study in table but scan name/date/time info missing
  
-TBLNAME is the name of the data table being manipulated. In general this table should already exist (i.e., created by a previous [[jvs:fscan:manual:chapter2:table|Table]] command).+==== Series tables -- Created automatically for each study in Study Table ====
  
-FLAG +==== Mode 1 - find recently modified studies and update series tables ==== 
-  * 1 - make study table. Look for subdirs names Study#{...} in dir NAME +Look through STUDIESDIR to find series with DICOM files. 
-  2 - make series table. NAME is DCM dirlook for subdirs named Series{...} +Consider only studies with StudyDir or StudyDir/DCM-Input modified within last NDAYS
-  3 - make dicom table. Col 1 of TABLENAME contains DCM filenames in dir NAME; get zpostpos from each +Find first DICOM file for each series to get patname, ID, date, time, etc fields 
-  * 4 - make imagedata table. Look for ImageData subdirs within dir NAM. Look for .data and .gvr files in each subdir + 
-  * create bxh file NAME from dicom table +==== Mode 2 - create local BXH header files for each series in qualifying studyies ==== 
-  * create bxh file's named NAME_num.bxh from imagedata table, where num is row num +For each series, created DICOM file table, sort by imgnum, then create BXH file
-  * create wdf file NAME from series table + 
-  * - create/add wdf file NAME from imagedata table+==== Mode 3 - copy local data to OUTDIR for qualifying studies ==== 
 +For each qualifying study, copy BXH files to 4D format in new study dir 
 + 
 +FLAG:\\ 
 +  * 1 - create WDF file (assumed if WDF specified) 
 +  * 2 - deidentify name,patid 
 +  * 4 - remove dates 
 +  * don't include NQ axial (series 53) 
 +  * 16 don't include DTI orig images 
 +  * 32 include Result series 500-799 
 +  * 64 include float 800 series 
 +  * 128 - include integer 900 series 
 +  * 256 - include all NQ series 
 +  * 512 - testing -- don'create/copy files
  
 **See Also:**\\ **See Also:**\\
jvs/fscan/manual/chapter2/invivo.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1