Hi,
Is there any API in dcmtk that helps us to combine two data sets (DcmDataset) directly?
Thanks in advance.
Regards,
Amal
Combine two data sets
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Combine two data sets
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
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
-
- Posts: 36
- Joined: Tue, 2017-12-19, 11:49
Re: Combine two data sets
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
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
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest