Difference between revisions of "Documentation/Nightly/FAQ/DICOM"

From Slicer Wiki
Jump to: navigation, search
Line 25: Line 25:
 
* If you are still unable to load the data, you may need to find a utility that converts the data into something Slicer can read.  Sometimes tools like [http://surfer.nmr.mgh.harvard.edu/ FreeSurfer], [http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/ FSL] or [http://www.mccauslandcenter.sc.edu/mricro/mricron/dcm2nii.html MRIcron] can understand special formats that Slicer does not handle natively.  These systems typically export [http://nifti.nimh.nih.gov/nifti-1/ NIfTI] files that slicer can read.
 
* If you are still unable to load the data, you may need to find a utility that converts the data into something Slicer can read.  Sometimes tools like [http://surfer.nmr.mgh.harvard.edu/ FreeSurfer], [http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/ FSL] or [http://www.mccauslandcenter.sc.edu/mricro/mricron/dcm2nii.html MRIcron] can understand special formats that Slicer does not handle natively.  These systems typically export [http://nifti.nimh.nih.gov/nifti-1/ NIfTI] files that slicer can read.
 
* If you are sure that the DICOM files do not contain patient confidential information, you may post a sample dataset on a web site and ask for help from [https://discourse.slicer.org Slicer forum].  ''Please be careful not to accidentally reveal private health information''.  If you want to remove identifiers from the DICOM files you may want to look at [http://www.dclunie.com/pixelmed/software/webstart/DicomCleanerUsage.html DicomCleaner] or [http://mircwiki.rsna.org/index.php?title=CTP-The_RSNA_Clinical_Trial_Processor the RSNA Clinical Trial Processor] software.
 
* If you are sure that the DICOM files do not contain patient confidential information, you may post a sample dataset on a web site and ask for help from [https://discourse.slicer.org Slicer forum].  ''Please be careful not to accidentally reveal private health information''.  If you want to remove identifiers from the DICOM files you may want to look at [http://www.dclunie.com/pixelmed/software/webstart/DicomCleanerUsage.html DicomCleaner] or [http://mircwiki.rsna.org/index.php?title=CTP-The_RSNA_Clinical_Trial_Processor the RSNA Clinical Trial Processor] software.
 +
* Try moving the data and the database directory to a path that includes only US English characters (ASCII) to avoid possible parsing errors.
  
 
== Something is displayed, but it is not what I expected ==
 
== Something is displayed, but it is not what I expected ==
  
 
When you load a study from DICOM, it may contain several data sets and by default Slicer may not show the data set that you are most interested in. Go to Data module / Subject hierarchy section and click the "eye" icons to show/hide loaded data sets. You may need to click on the small rectangle icon ("Adjust the slice viewer's field of view...") on the left side of the slice selection slider after you show a volume.
 
When you load a study from DICOM, it may contain several data sets and by default Slicer may not show the data set that you are most interested in. Go to Data module / Subject hierarchy section and click the "eye" icons to show/hide loaded data sets. You may need to click on the small rectangle icon ("Adjust the slice viewer's field of view...") on the left side of the slice selection slider after you show a volume.

Revision as of 13:05, 17 May 2018

Home < Documentation < Nightly < FAQ < DICOM


For the latest Slicer documentation, visit the read-the-docs.


DICOM

When I click on "Load selection to slicer" I get an error message "Could not load ... as a scalar volume"

There's a chance you could be running out of memory when loading the data. Make sure you use a 64-bit version of Slicer. The 32-bit Windows version has constrained memory and often does not work with clinical CT studies.

Another potential cause of loading failure is corruption of the DICOM files by incorrect anonymization. Patient name, patient ID, and series instance UID fields should not be empty or missing (the anonymizer should replace them by other valid strings). Try to load the original, non-anonymized sequence and/or change your anonymization procedure.

If none of the above helps then check the Slicer error logs and report the error on the Slicer forum. If you share the data (e.g., upload it to Dropbox and add the link to the error report) then Slicer developers can reproduce and fix the problem faster.

I try to import a directory of DICOM files, but nothing shows up in the browser

DICOM is a complex way to represent data, and often scanners and other software will generate 'non-standard' files that claim to be DICOM but really aren't compliant with the specification. In addition, the specification itself has many variations and special formats that Slicer is not able to understand. Slicer is used most often with CT and MR DICOM objects, so these will typically work.

If you have trouble importing DICOM data here are some steps to try:

  • Make sure you are following the DICOM module documentation.
  • Try using the latest nightly build of Slicer.
  • Try import using different DICOM readers: in Application settings / DICOM / DICOMScalarVolumePlugin / DICOM reader approach: switch from DCMTK to GDCM (or GDCM to DCMTK), restart Slicer, and attempt to load the data set again.
  • Try the DICOM Patcher module
  • Review the Error Log for information.
  • Try loading the data by selecting one of the files in the Add Data Dialog. Note: be sure to turn on Show Options and then turn off the Single File option in order to load the selected series as a volume
  • If you are still unable to load the data, you may need to find a utility that converts the data into something Slicer can read. Sometimes tools like FreeSurfer, FSL or MRIcron can understand special formats that Slicer does not handle natively. These systems typically export NIfTI files that slicer can read.
  • If you are sure that the DICOM files do not contain patient confidential information, you may post a sample dataset on a web site and ask for help from Slicer forum. Please be careful not to accidentally reveal private health information. If you want to remove identifiers from the DICOM files you may want to look at DicomCleaner or the RSNA Clinical Trial Processor software.
  • Try moving the data and the database directory to a path that includes only US English characters (ASCII) to avoid possible parsing errors.

Something is displayed, but it is not what I expected

When you load a study from DICOM, it may contain several data sets and by default Slicer may not show the data set that you are most interested in. Go to Data module / Subject hierarchy section and click the "eye" icons to show/hide loaded data sets. You may need to click on the small rectangle icon ("Adjust the slice viewer's field of view...") on the left side of the slice selection slider after you show a volume.