filenames and DICOMDIR

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Zbigniew
Posts: 2
Joined: Tue, 2005-02-15, 09:58
Location: Bonn

filenames and DICOMDIR

#1 Post by Zbigniew »

Hallo,

We are using DCMTK as library for dicom import and export in our application. The idea we have is to create DICOMDIR when importing data to obtain a patient sorted structure. We are testing our importer with quite large set of data comming from various vendors. Some of the datasets have filenames longer than 8 characters and / or have filename extension. We cannot put these files in DICOMDIR and we get "invalid stream" as error. Now to the questions: What is the official way to include such files in DICOMDIR ? How can we do this using DCMTK ?

Thanks

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

According to the DICOM standard files referenced from a DICOMDIR must not have file extensions or filenames longer than 8 characters, i.e. you need to rename these files before you can add them to the DICOMDIR. Furthermore, only upcase characters (A-Z), numbers (0-9) and the underscore (_) are allowed. See the standard text for details.

jim
Posts: 8
Joined: Wed, 2005-01-19, 10:15
Location: FRANCE

#3 Post by jim »

Hi Zbigniew,

Your pb come from this: "// an ISO 9660 format only allows 8 characters in file name"

See: data\libsrc\dcddirif.cxx

Post Reply

Who is online

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