View Issue Details

IDProjectCategoryView StatusLast Update
0000903Slicer3Base Codepublic2020-03-12 10:54
ReporterSaurabh Assigned Tolorensen  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Summary0000903: DICOM files not loading through Add Volume
Description

When I try to load the DICOM files, I get the following error message :-
ERROR: In ......\Slicer3\Libs\MRML\vtkMRMLVolumeArchetypeStorageNode.cxx, line 330
vtkMRMLVolumeArchetypeStorageNode (18A38EE8): ReadData: Cannot read file, fullName = D:/DICOM/subj006reg001/001.DCM, number of files listed in the node = 0, the ITK reader says it was able to read 0 files, the reader used the archetype file name of D:/DICOM/subj006reg001/001.DCM

I have checked that the dataset is right. It works on MicroDicom and lists tags as well. Other users also said it's working on ImageJ and ITK-SNAP as well. However, its giving this error message on Slicer 3.6. Also, it is also not showing any description of the file when selected in the Add Volume selection box that opens up.

Additional Information

Another user reported :-

These files will convert using the module Converters -> DICOM to NRRD Converter. Then open the resulting nrrd file.

Note that the conversion appears to work fine, but there is an informational error returned:

"""
ERROR: In
/home/hayes/Slicer-3-6/Slicer3/Modules/CommandLineModule/vtkCommandLineModuleLogic.cxx,
line 1622
vtkCommandLineModuleLogic (0xd49b9a8): Dicom to Nrrd Converter standard
error:

Unrecognized vendor.
"""


Another user reported :-

When I open up the tk console (control-t), I see another error message:
Can't read file /spl/tmp/nicole/dicomtest/001.DCM Uncaught exception:
/projects/birn/nicole/Slicer3.6/Slicer3/Libs/vtkITK/vtkITKArchetypeImageSeriesReader.cxx:610:
itk::ERROR: vtkITKArchetypeImageSeriesReader::ExecuteInformation: Cannot open /spl/tmp/nicole/dicomtest/001.DCM.

Looking at the source code, it's a generic catch all exceptions message.
The error could be coming from the itk::ImageSeriesReader, or from getting the IJK to RAS direction vector.
Clicking on ignore image orientation and single file don't make a difference, and I get the same error on windows32 and linux64 machines.
Running the Dicom To Nrrd Converter module on it, I get something more
useful:
Dicom to Nrrd Converter standard output:

C:/cygwin/home/nicole/Data/dicomTest.nrrd
ORIGINAL\PRIMARY\AXIAL\CT
=================== numberOfSlicesPerVolume:59 Dicom images are ordered in a volume interleaving way.
ImageOrientationPatient (0020:0037): LPS Orientation Matrix
1 -0 0
0 1 0
-0 0 1

SpacingMatrix
0.84 0 0
0 0.84 0
0 0 3

NRRDSpaceDirection
0.84 0 0
0 0.84 0
0 0 3

Warning: vendor type not valid

TagsNo tags attached.

Relationships

duplicate of 0000858 closedpieper Dicom load failure when no meta-header 

Activities

2010-07-07 07:03

 

subj006reg001.rar (3,878,063 bytes)
fedorov

fedorov

2010-07-07 10:41

developer   ~0001833

see the discussion on slicer-users here: http://massmail.spl.harvard.edu/public-archives/slicer-users/2010/003087.html

lorensen

lorensen

2010-07-08 09:24

developer   ~0001835

These files do not have a DICOM preamble. The itkGDCMImageIO that reads these files currently rejects files without a preamble.

We will change itkGDCMImageIO so that it will accept these bad DICOM files, but provide a warning.

As a temporary workaround, the lines in itkGDCMImageIO.cxx that read:
bool preamble;
if( gdcm::Document::CanReadFile(file, preamble) )
{
// By default only support DICOM with preamble (DICM magic number):
return preamble;
}
can be changed to:
bool preamble;
if( gdcm::Document::CanReadFile(file, preamble) )
{
itkWarningMacro(<< "The DICOM file: "
<< filename
<< " does not have a preamble.");
return true;
}

jcfr

jcfr

2020-03-12 10:54

administrator   ~0016739

Closing. Slicer3 is not being developed anymore.

Issue History

Date Modified Username Field Change
2010-07-07 07:03 Saurabh New Issue
2010-07-07 07:03 Saurabh File Added: subj006reg001.rar
2010-07-07 07:05 Saurabh Tag Attached: DICOM
2010-07-07 07:05 Saurabh Tag Attached: not loaded
2010-07-07 07:05 Saurabh Tag Attached: Slicer 3.6
2010-07-07 07:05 Saurabh Tag Attached: Volume
2010-07-07 10:41 fedorov Note Added: 0001833
2010-07-08 09:24 lorensen Note Added: 0001835
2010-07-12 10:23 pieper Relationship added duplicate of 0000858
2010-07-15 06:22 nicole Tag Detached: DICOM
2010-07-15 06:22 nicole Tag Detached: not loaded
2010-07-15 06:22 nicole Tag Detached: Volume
2010-07-15 06:22 nicole Tag Detached: Slicer 3.6
2010-07-15 06:23 nicole Assigned To => lorensen
2010-07-15 06:23 nicole Status new => assigned
2020-03-12 10:54 jcfr Status assigned => closed
2020-03-12 10:54 jcfr Note Added: 0016739