[Insight-users] Using ITK with DICOM - extracting non-image information.

Simon Harris s.j.harris at imperial.ac.uk
Fri Aug 20 10:16:28 EDT 2004


Hi Luis,

I could provide a slice - Although I don't want to post huge binaries  
without
the group's permission :)

I have tried scans from two different machines I use data from (Siemens  
and GE)
and downloaded a test slice from a Picker machine too. The latter slice I  
tried
was the CT-MONO2-16-BRAIN image from  
http://www.barre.nom.fr/medical/samples/

All three slices exhibited the same behaviour.

Running the program in the debugger I get an unhandled exception error
and the debug output window shows and access violation exception writing  
location 0x00f91000
followed by a lot of first chance exceptions at 0xcdcdcdcd ... reading  
location 0xcdcdcdcd
(the address changes with each run).

I could make available my version of the source code (I simply added a few  
trace messages)
and the executable if it helps. What is the best way of doing this?

Many thanks,
Simon.


On Thu, 19 Aug 2004 16:53:17 -0400, Luis Ibanez <luis.ibanez at kitware.com>  
wrote:

>
> Hi Simon,
>
> Thanks for your report.
> Unfortunately, from the limited information that
> you provide there is no much that we can do.
>
>
> Possible options at this point are:
>
>
> 1) Can you make one slice of that DICOM
>     file available to us so we can debug this ?
>
> 2) Can you try the same code with another dataset ?
>     and let us know what you find.
>
> 3) You could also use GDCM. ITK has an daptor class
>     for GDCM, and takes advantage of a larger support
>     for variations of DICOM.
>
>
>     Documentation for GDCM is available at:
> http://www.creatis.insa-lyon.fr/Public/Gdcm/html.developper/index.html
>
>
>
>
>    Regards,
>
>
>
>      Luis
>
>
>
> ---------------------
> Simon Harris wrote:
>
>> Thanks for that - finally I managed to get ITK
>> built on my system and compiled the example code
>> ok...
>>  I've only tried it on one dataset so far, but it
>> appears to stall for a while at the:
>>    dicomIO->GetPatientName(  patientName  );
>>  and then bails out without printing anything. I don't
>> know if the files I have are bad DICOM - they come
>> from a Siemens scanner & my own DICOM reading software
>> and other software I have can extract the data ok.
>>  Simon.
>>   On Tue, 17 Aug 2004 11:09:49 -0400, Luis Ibanez  
>> <luis.ibanez at kitware.com>  wrote:
>>
>>>
>>> Hi Simon,
>>>
>>> Please look at the examples in
>>>
>>>    Insight/Examples/IO/
>>>      DicomPrintPatientImformation.cxx
>>>
>>> It illustrates how to get access to
>>> some of the DICOM tags in the input
>>> image.
>>>
>>> Please let us know if you have further
>>> questions.
>>>    Thanks
>>>      Luis
>>   _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


More information about the Insight-users mailing list