Transferring Data from the Scanner and Converting it to Analyze Format
The short version:
- DICOM data collected before Tuesday, April 1, 2008 is stored on dns0.bmap.ucla.edu in subdirectories of /Volumes/BMC1/dicom/
- DICOM data collected on or after Tuesday, April 1, 2008 is stored on dns0.bmap.ucla.edu in subdirectories of /Volumes/BMC5/dicom2/
- DICOM data collected on or after Thursday, April 1, 2010 is stored on dns0.bmap.ucla.edu in subdirectories of /Volumes/BMC8/dicom3/
- DICOM data collected on or after Sunday, January 1, 2012 is stored on dns0.bmap.ucla.edu in subdirectories of /Volumes/BMC9/dicom4/
The full version:
To transfer data from the scanner to the ALBMC server electronically, you need to have an assigned group name. All group names must consist of at least 8 uppercase letters and the first 8 letters must be unique. This format allows DICOM processing software, which expects this convention to be followed, to be used without modification. For illustrative purposes, the name SOMEDICOMGROUP will be used here, but should be substituted by a group name assigned to your project.
To transfer data:
- When you register the subject for scanning, enter your group
identifier (e.g., SOMEDICOMGROUP) into the Referring Physician field
on the scanner patient registration page
- You do not need to do anything to transfer the data from the
scanner to dns0; this transfer will happen automatically.
- After transfer, to access the data from a generic networked computer, connect the the ALBMC server
(dns0.bmap.ucla.edu) using ssh. For data collected before
April 1, 2008, it will be located in a subdirectory of /Volumes/BMC1/dicom/. For data collected
on or after April 1, 2008, it will be located in a subdirectory of /Volumes/BMC5/dicom2/.
The subdirectory will match the group name that you provided in
the Referring Physician field (e.g., the subdirectory 'SOMEDICOMGROUP' for
the group 'SOMEDICOMGROUP'). Only members of the specified group (as
defined on the server) will be able to access data within a
particular group directory.
- If you are working on a Macintosh computer in the ALBMC,
detailed instructions for navigating to your data without using ssh are provided.
- The files will have been pre-sorted into folders based on acquisition date, then subject name, then Study ID, then Series Number.
NOTE: The directories to which the DICOM files are transferred are read-only. You cannot create new files within these directories.
To convert DICOM data into Analyze format data using the command line version of LONI Debabeler:
- Make sure you have Java 1.4 or later installed on your machine (on Mac OS X, type 'java', on other UNIX machines, type '/usr/java/bin/java' to see the current version number)
- Open a command line terminal and set the working directory (e.g
by using the 'cd' command) to the directory in which you want the
converted images to be placed (you must have write permission in
this directory)
- Identify a pathname to the converter SiemensToAnalyze.jar. For
example, if you keep the converter on your Mac OS X Desktop, you
could use ~/Desktop/SiemensToAnalyze.jar
- Identify pathnames to all the files you want to convert. For
example, to convert all the files collected on October 07, 2007, you
might use /Volumes/BMC1/dicom/SOMEDICOMGROUP/20071007/*/*/*/*
- Identify the pathname to java on your computer (on Mac OS X,
this is simply 'java', on most other UNIX machines, it is
'/usr/java/bin/java')
- Execute the command: {PATHNAME_TO_JAVA} -Xmx200000000 -jar
{PATHNAME_TO_SIEMENS_TO_ANALYZE_DOT_JAR} -target analyze_source
-input {PATHNAME_TO_INPUT_DICOM_FILES}
- On Mac OS X, this command might look like 'java -Xmx200000000
-jar ~/Desktop/SiemensToAnalyze.jar -target analyze_source -input
/Volumes/BMC1/dicom/SOMEDICOMGROUP/20071007/*/*/*/*
- On the datalab computers, an abbreviated command can be used:
SiemensToAnalyze {PATHNAME_TO_INPUT_DICOM_FILES}
- This abbreviated command would look like 'SiemensToAnalyze
/Network/Servers/BMC1/dicom/SOMEDICOMGROUP/20071007/*/*/*/*
- After conversion, the converted output files will be sorted into
subdirectories inthe directory from which the conversion command was
invoked. The data will be sorted first by subject name, then by
Study Description (with date and time appended), then by Series
Description (with date and time appended)
The converter should do all of the following by design:
- automatically detect and handle Siemens mosaic format images
- convert all images (even single slice sagittals) to transverse format in the SPM (i.e., not-truly-Analyze compliant) neurological orientation
- set the header maximum field correctly
- correctly set the image dimensions and voxel sizes
- create 3D Analyze format output files with time series files numbered sequentially starting with 1 and left padded
If you want to copy the SiemensToAnalyze.jar file from the server to your local machine, it is stored in /Volumes/BMC0/BMCUsers/imaging_tools/Debabeler/. On the datalab machines, you can find it in /Network/Applications/Debabeler.
Updated December 13, 2013