Error creating DicomDir

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Daanen
Posts: 27
Joined: Mon, 2008-03-17, 17:41

Error creating DicomDir

#1 Post by Daanen »

Hi,

I'm trying to create a dicomdir file from several Dicom image files.
With one dataset, it's ok but with another one, it fails with the following error:
Storage Media Application Profile Violated.

I searched the forum and find a post about that so I plug a Console and get this message: "Error: LittleEndianExplicit expected: IMAGES\IM_0001"

What should I do/look at to solve this ?

Any help is welcome

Thx

Vince

Daanen
Posts: 27
Joined: Mon, 2008-03-17, 17:41

#2 Post by Daanen »

Well,

i'm a bit confused :oops: . I posted before trying all the profiles ..... sorry

So the 2 datasets are ok (dicomdir file creation) with

Code: Select all

OFCondition status = dicomdir.createNewDicomDir(DicomDirInterface::AP_GeneralPurposeMIME);
Anyway, could someone explain me why ...
and also , is there a risk that this profile will not be the good one for MR, CT and US images ?

Thanks

Michael Onken
DCMTK Developer
Posts: 2055
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#3 Post by Michael Onken »

Hi,

each Application Profile only permits special combinations of SOP classes (CT, MR, etc) and Transfer Syntaxes (Little Endian Explicit, JPEG Lossless, etc).

The best idea is maybe using the STD-GEN-CD profile (default in DICOM interface) which permits all SOP classes but requires the files to be in Little Endian Explicit. STD-GEN-CD is pretty common for radiology.

For angio x-rays there are other profiles common, as well as for Ultrasound e. g. Just look into the standard part 10-12 for what is permitted.

Regards,
Michael

dcmtk_Beginners
Posts: 3
Joined: Mon, 2009-06-29, 09:01
Contact:

Re: Error creating DicomDir

#4 Post by dcmtk_Beginners »

the data elements of DICOMDIR must use Explicit VR little Endian Transfer Syntax

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest