DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired username to the OFFIS DICOM team
It is currently Sat, 2013-05-18, 23:01

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Problem with reading file
PostPosted: Wed, 2009-07-29, 07:47 
Offline

Joined: Tue, 2009-07-28, 08:43
Posts: 5
Hi,

I use DCMTK open dicom file in windows .It can't find lot's of TAG .And i save the file,the size of new file larger than original file, 518KB -> 1601KB;The file is SIEMENS CT image,Manufacturer's Model Name is SOMATOM PLUS 4.I use other tools can open it and get correct tag value.


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2009-07-29, 10:32 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2220
Location: Oldenburg, Germany
Is the dump (using dcmdump) of the DICOM file ok? What tags are missing? How do you load and save the file ...


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2009-07-30, 02:26 
Offline

Joined: Tue, 2009-07-28, 08:43
Posts: 5
THX,i test that file with dcmcjpeg.exe ,errors as follows:


DcmItem: Non-standard VR 'RT' encountered while parsing attribute (0008,0040), assuming 4 byte length field
DcmItem: Non-standard VR 'g' encountered while parsing attribute (0066,0066), assuming 2 byte length field
DcmItem: Non-standard VR 'f' encountered while parsing attribute (0067,0067), assuming 2 byte length field
DcmItem: Non-standard VR 'c' encountered while parsing attribute (005f,0064), assuming 2 byte length field
DcmItem: Dataset not in ascending tag order, at element (005f,0064)
DcmItem: Non-standard VR 'b' encountered while parsing attribute (0063,0067), assuming 2 byte length field
DcmItem: Dataset not in ascending tag order, at element (0063,0067)
DcmItem: Non-standard VR 'l' encountered while parsing attribute (0069,0066), assuming 2 byte length field
DcmItem: Non-standard VR 'd' encountered while parsing attribute (0062,0063), assuming 2 byte length field
DcmItem: Dataset not in ascending tag order, at element (0062,0063)
DcmItem: Non-standard VR '' encountered while parsing attribute (018d,01fe), assuming 2 byte length field
DcmItem: Non-standard VR 'k' encountered while parsing attribute (0064,0069), assuming 2 byte length field
DcmItem: Dataset not in ascending tag order, at element (0064,0069)
DcmItem: Non-standard VR 'f' encountered while parsing attribute (006a,006b), assuming 2 byte length field
DcmItem: Length of attribute (006a,006b) is odd
DcmItem: Dataset not in ascending tag order, at element (006a,006b)
DcmItem: Non-standard VR '' encountered while parsing attribute (1701,f201), assuming 2 byte length field
DcmElement: Unknown Tag & Data(1701,f201) larger (56320) that remaining bytes in file


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2009-07-30, 08:13 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2220
Location: Oldenburg, Germany
Could you please send send the file to us (email: dicom/at/offis/dot/de), so we can analyse it. I guess that there as some severe encoding errors ...


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2009-07-30, 09:12 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1161
Location: Oldenburg, Germany
The file is not a valid DICOM file. The problem is that in various places a Value Representation named "RT" is used - this does not exist in DICOM. When DCMTK reads an unknown VR in a DICOM file, it assumes a 4-byte length field (because there is a rule in DICOM that all "future" new VRs will use 4-byte length fields), but the "RT" attributes in the file use 2-byte length fields. While it would be possible to extend the DCMTK parser to handle this as a special case, the file is severely damaged and the problem should rather be fixed on the sender's side, since hardly any DICOM toolkit will correctly read this file.


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2009-07-30, 09:41 
Offline

Joined: Tue, 2009-07-28, 08:43
Posts: 5
I test this file with a dicom soft base on CTN,that soft can get some master tag and insert to the DB.If have any method that can only read standard tag and ignore unknown tag while open the file?


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2009-07-30, 10:03 
Offline

Joined: Tue, 2009-07-28, 08:43
Posts: 5
I have tryed it again with Leadtools,the file can open right.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2009-07-31, 03:59 
Offline

Joined: Tue, 2009-07-28, 08:43
Posts: 5
I build a test program reference DCMTK dcmcjpeg code and run it on Linux, it can compress that file.So I think some thing of linux dicomtk lib or entironment differ from window.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group