Search found 5 matches

by chrrossmanith
Tue, 2009-05-12, 08:00
Forum: DCMTK - General
Topic: Read FileSetID information from DICOMDIR
Replies: 20
Views: 21014

It took me some time to anonymize the dicomdir file (usign gdcm). I've mailed the anonymized file just a moment ago. Thank you for offering to check the file!

Christina Rossmanith
by chrrossmanith
Tue, 2009-04-28, 09:29
Forum: DCMTK - General
Topic: Read FileSetID information from DICOMDIR
Replies: 20
Views: 21014

I've checked the dicomdir file using dvtk (dicom.dvtk.org) and it gave me no errors or warnings. It was created by dcm4chee.

A corrupt file would be the only explanation for the messages I get during reading the file?
by chrrossmanith
Fri, 2009-04-24, 14:49
Forum: DCMTK - General
Topic: Read FileSetID information from DICOMDIR
Replies: 20
Views: 21014

If I access DICOMDIR with DcmFileFormat.loadFile() I get a lot of error or warning messages: DcmItem: Element (0000,0000) found twice in one dataset/item, ignoring second entry < repeated 17 times> DcmItem: Dataset not in ascending tag order, at element (0004,00ae) DcmItem: Length of attribute (2d5c...
by chrrossmanith
Fri, 2009-04-24, 12:00
Forum: DCMTK - General
Topic: Read FileSetID information from DICOMDIR
Replies: 20
Views: 21014

That means I would read DICOMDIR twice:

1) Using DcmDirectoryRecord to get the tree structure
2) Using DcmDataset to get additional information from the FileSetID Module

I'm quite new to dcmtk. My first attempt was to use search() and getOFString(), now I'm starting to optimize :-)

Thank you!
by chrrossmanith
Fri, 2009-04-24, 07:24
Forum: DCMTK - General
Topic: Read FileSetID information from DICOMDIR
Replies: 20
Views: 21014

Read FileSetID information from DICOMDIR

Hi, so far I've successfully read the tree structure of a DICOMDIR file (patients, studies, series, images) using DcmDicomDir and DcmDirectoryRecord. Now I'd like to read the FileSetID information from a DICOMDIR file. If I use search(DCM_FileSetID, dcm_stack) on the root record it returns with an e...