Combine two data sets

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
amal.jesudas
Posts: 36
Joined: Tue, 2017-12-19, 11:49

Combine two data sets

#1 Post by amal.jesudas »

Hi,

Is there any API in dcmtk that helps us to combine two data sets (DcmDataset) directly?
Thanks in advance.

Regards,
Amal

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

Re: Combine two data sets

#2 Post by Michael Onken »

Hi Amal,

there is no specific support for that.

There are some methods in DcmIODCommon (dcmtk/dcmiod/iodcmmn.h) to import basic patient/study/series data from other projects, if this is what you are looking for.

Otherwise you would have to copy DICOM elements manually between datasets.

Best regards,
Michael

amal.jesudas
Posts: 36
Joined: Tue, 2017-12-19, 11:49

Re: Combine two data sets

#3 Post by amal.jesudas »

Thanks Michael.
The importHierarchy() methods of DcmIODCommon does not seem to fit my need.
As you mentioned, I guess I will have to loop through all elements and copy them.

Regards,
Amal

Post Reply

Who is online

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