[Insight-users] Create 3D image data by a series of 2D dicom files

Luis Ibanez luis . ibanez at kitware . com
Tue, 30 Sep 2003 12:00:35 -0400


Hi Jiang,

Thanks for sending the DICOM slice that is giving you
trouble.

The good news is that it works just fine when I loaded it
with the ImageViewer application. (from InsightApplications).

I think that the real suspect at this point are other
spurious files that you may have in the same directory.
The DICOMSeriesFileNames is basically assuming that *ALL*
the files in the directory are DICOM slices. Potentially
from different series, but still all of them being valid
DICOM files.


My guess is that the message:

 >>>No DICOM magic number found, but file appears to be DICOM.
 >>>Proceeding without caution.

is produced when the DICOMSeriesFileNames encounter
other non-DICOM files in your directory and attempt to
interpret them.

Could you please do the following simple experiment ?

    move a set of DICOM slices to a new directory and
    make sure that they are all valid slices.  You could
    use MRIConvert (from Jolinda Smith), or VolView from
    Kitware, in order to verify the set of selected slices.




Please let us know what you find.


   Thanks


     Luis



=================================================
>>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: Thimmaiah, Sandhya [mailto:sthimmaiah at neurosurgery . wayne . edu]
>>>Gesendet: Mittwoch, 24. September 2003 22:46
>>>An: 'jiang'
>>>Betreff: RE: [Insight-users] Create 3D image data by a series of 2D
>>>dicom files
>>>
>>>
>>>Hi Jiang,
>>>I saw that you have got same messages as I am getting now....
>>>No DICOM magic number found, but file appears to be DICOM.
>>>Proceeding without caution.
>>>I wanted to know if you were able to fix it. I would really appreciate if
>>>you can reply me. Thank you
>>>
>>>-----Original Message-----
>>>From: jiang [mailto:jiang at TI . Uni-Trier . DE]
>>>Sent: Friday, September 19, 2003 12:19 PM
>>>To: Lorensen, William E (Research)
>>>Cc: ITK
>>>Subject: AW: [Insight-users] Create 3D image data by a series of 2D
>>>dicom files
>>>
>>>
>>>Hi, Bill,
>>>I tried your code to read the data that I sent you. However, it always
>>>doesn't work. The message printed out are:
>>>No DICOM magic number found, but file appears to be DICOM.
>>>Proceeding without caution.
>>>No DICOM magic number found, but file appears to be DICOM.
>>>Proceeding without caution.
>>>No DICOM magic number found, but file appears to be DICOM.
>>>Proceeding without caution.
>>>......
>>>DICOMSeriesFileNames (010B2270)
>>> RTTI typeinfo:   class itk::DICOMSeriesFileNames
>>> Reference Count: 2
>>> Modified Time: 4
>>> Debug: Off
>>> Observers:
>>>   none
>>> Directory: C:\jcy\Qt\TestApp\DICOMSeries\Series
>>> File name sorting order: SortByImagePositionPatient
>>> FileNames[0]:
>>>C:\jcy\Qt\TestApp\DICOMSeries\Series/1.3.12.2.1107.5.2.1.5603.20
>>>030731093845884002024
>>> FileNames[1]:
>>>C:\jcy\Qt\TestApp\DICOMSeries\Series/1.3.12.2.1107.5.2.1.5603.20
>>>030731093845884002023
>>> FileNames[2]:
>>>C:\jcy\Qt\TestApp\DICOMSeries\Series/1.3.12.2.1107.5.2.1.5603.20
>>>030731093845884002022
>>>......
>>>
>>>Do you get the same messages when you run itkDICOMImageSeriesTest.cxx?
>>>
>>>
>>>
>>>Thank you for your help.
>>>
>>>
>>>Chunyan
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk . org
>>>http://www . itk . org/mailman/listinfo/insight-users
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk . org
>>>http://www . itk . org/mailman/listinfo/insight-users
>>>
>>
>>
>>
>>
>>
>>
> 
> 
> 
> 
>