single dataset each frame different metadata

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
srabino5
Posts: 3
Joined: Thu, 2015-08-13, 16:13

single dataset each frame different metadata

#1 Post by srabino5 »

Hello all,

I'm using the dcmtk package to create dicom files.
I have a dataset with multiple frames (like I want). Is there are a way to set different metadata for each individual frame?

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

Re: single dataset each frame different metadata

#2 Post by Michael Onken »

Hi,

what kind of SOP Class you create?

Which meta data you refer to?

Best,
Michael

srabino5
Posts: 3
Joined: Thu, 2015-08-13, 16:13

Re: single dataset each frame different metadata

#3 Post by srabino5 »

Michael Onken wrote:Hi,

what kind of SOP Class you create?

Which meta data you refer to?

Best,
Michael
My SOP class is MRImageStorage

Meta data, ImagePositionPatient (0020,0032) and InstanceNumber (0020,0013).

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

Re: single dataset each frame different metadata

#4 Post by Michael Onken »

MR Image Storage is single frame.

So no need for more meta data ;) If you want multi-frame, use Enhanced MR Image Storage.

Best,
Michael

srabino5
Posts: 3
Joined: Thu, 2015-08-13, 16:13

Re: single dataset each frame different metadata

#5 Post by srabino5 »

Michael Onken wrote:MR Image Storage is single frame.

So no need for more meta data ;) If you want multi-frame, use Enhanced MR Image Storage.
I'm using Enhanced MR Image storage now, but I still do not know how to change the ImagePositionPatient and InstanceNumber per a frame.

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

Re: single dataset each frame different metadata

#6 Post by Michael Onken »

Hi,

look into the standard part 3, look into the Multi-frame Functional Groups Module referenced by the Enhanced MR IOD.

You can insert the related functional group sequences and their respective items yourself using the existing dcmdata API.

Within the next days we will also add a dedicated API for that, based on a module called "dcmfg".

Best regards,
Michael

Post Reply

Who is online

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