Dicom images cannot be read

All other questions regarding DCMTK

Moderator: Moderator Team

Message
Author
ionut.vaida
Posts: 24
Joined: Fri, 2016-12-02, 09:51

Re: Dicom images cannot be read

#16 Post by ionut.vaida »

i tried dcmdump +w command and it make me 54 files with .raw extension how to open or change transfer syntax from that?

J. Riesmeier
DCMTK Developer
Posts: 2503
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Dicom images cannot be read

#17 Post by J. Riesmeier »

You should change the Transfer Syntax UID in the file meta information header, i.e. in the text dump (redirect the console output to a text file for this purpose). The RAW files contain the pixel data. They do not need to be changed. They are just referenced from the dump and will be added to the output file when calling dump2dcm.

ionut.vaida
Posts: 24
Joined: Fri, 2016-12-02, 09:51

Re: Dicom images cannot be read

#18 Post by ionut.vaida »

i tried to do that but i have some tags VR = ?? and when i tried to make dcm from dump i got this message:

VR of Tag (2001,1063) is unknown, using 'UN' for this data element
E: dump2dcm: dump.txt: Error in creating Element: Corrupted data (line 102)
W: VR of Tag (2001,10a1) is unknown, using 'UN' for this data element
E: dump2dcm: dump.txt: Error in creating Element: Corrupted data (line 103)
W: VR of Tag (2001,10c1) is unknown, using 'UN' for this data element

ionut.vaida
Posts: 24
Joined: Fri, 2016-12-02, 09:51

Re: Dicom images cannot be read

#19 Post by ionut.vaida »

Thanks for you help
I replaced all ?? with OB and i add transfer syntax jpeg lossless and work.

J. Riesmeier
DCMTK Developer
Posts: 2503
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Dicom images cannot be read

#20 Post by J. Riesmeier »

If you replace " ?? " with " UN " in the dump file, it should work.

J. Riesmeier
DCMTK Developer
Posts: 2503
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Dicom images cannot be read

#21 Post by J. Riesmeier »

Great. I'll enhance "dump2dcm" right now, so that there is no need to replace the "??" :)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest