Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XMRI db

The canonical db currently lives in `xmri-db.lsp' and the information for one dataset looks like:

;;; Insert the datasets:
(xmri-add-dataset
  :prefix  "/usr/local/si/brainproject"
  :suffix  ".MR"
  :subject "PT9451"
  :exam  "E3583"  :sequence "S1" :first  1 :last  13
)
(xmri-add-dataset :sequence "S2" :first  1 :last 124)
(xmri-add-dataset :sequence "S3" :first  1 :last   1)
(xmri-add-dataset :sequence "S4" :first  1 :last  28)
(xmri-add-dataset :sequence "S6" :first 21 :last  80)
(xmri-add-dataset :sequence "S7" :first 21 :last 120)

Each line above records one MRI volume dataset, which is presumed to be in the usual form of a consecutive sequence of uncompressed GE MRI files in a single directory. Missing keywords parameters to xmri-add-dataset default to their most recent value, which is why :suffix and so forth are specified only in the first call.

The parameters mean:

`:prefix'
A prefix to be added to every filename generated.
`:suffix'
A suffix to be added to every filename generated.
`:subject'
Name of subject directory to access.
`:exam'
Name of exam directory to access.
`:sequence'
Name of sequence directory to access. To accomodate the GHH dataset, these strings are case-sensitive but forced to upper case when constructing the file name proper (as opposed to the path).
`:first'
First frame number to use in the dataset. This will often be the lowest frame number present, but some datasets contain unwanted images at the start: In these case, :first should be set to the first frame number actually desired.
`:last'
Last frame number to use in the dataset.

Go to the first, previous, next, last section, table of contents.