Anyone know of a program to read dicom files?

Paolo Galtieri pgaltieri at gmail.com
Wed Jan 6 22:45:20 UTC 2010


On 01/06/2010 06:12 PM, Bill McGonigle wrote:
> On 01/02/2010 08:12 AM, Paolo Galtieri wrote:
>>
>> I tried both cinepaint and gimp which claim to support dicom files, but
>> cinepaint crashes and gimp says
>>
>> Procedure 'file-dicom-load' returned no return values
>
> Check out this one:
>
> http://dicom.offis.de/dcmtk.php.en
>
> I've been out of the field for a while, but it used to be 
> well-considered. That being said, we had a smart guy on staff whose 
> full-time job it was to figure out how to parse supposedly-standard 
> DICOM files coming out of random scanners from myriad vendors.
>
> -Bill
>
I tried it, but couldn't get the source rpm to build on F12:

c++ -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include 
-I../../config/include -I../../ofstd/include -I../../dcmdata/include 
-I../../dcmnet/include \
-O -I/usr/include/libxml2 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE 
-D_POSIX_C_SOURCE=199506L -Wall tlslayer.cc
tlslayer.cc: In constructor 
‘DcmTLSTransportLayer::DcmTLSTransportLayer(int, const char*)’:
tlslayer.cc:195: error: invalid conversion from ‘const SSL_METHOD*’ to 
‘SSL_METHOD*’
tlslayer.cc:198: error: invalid conversion from ‘const SSL_METHOD*’ to 
‘SSL_METHOD*’
tlslayer.cc:201: error: invalid conversion from ‘const SSL_METHOD*’ to 
‘SSL_METHOD*’
make[2]: *** [tlslayer.o] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/dcmtk-3.5.4/dcmtls/libsrc'
make[1]: *** [libsrc-all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/dcmtk-3.5.4/dcmtls'
make: *** [dcmtls-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1DAivb (%build)

I don't know C++ so I haven't tried to fix it.

I finally resorted to using nconvert to convert the dicom files to tiff. 
The conversion loses all the medical related data, but at least I can 
view the images.

Paolo




More information about the fedora-list mailing list