dicom sr file comparison

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
pkotre
Posts: 11
Joined: Tue, 2011-04-19, 14:09

dicom sr file comparison

#1 Post by pkotre »

Hello,

I need to compare 2 dicom sr files of same template id (Lets say , TID10001 for XRay) using dcmtk programmatically.

lets call files as A.SR.dcm & B.SR.dcm.

I need to find if
1) A==B
2) A-B ( if any).
3) B-A ( if any).

how can I find out ? Any idea or suggestions welcome.

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: dicom sr file comparison

#2 Post by J. Riesmeier »

Could you please be more specific, e.g. what do you mean by 2) and 3)?
For 1), there is a compare() method that works on DICOM dataset-level, but it's also not clear to me what you actually mean by "==": semantically equal (SR-level) or equal on DICOM element level or...

Post Reply

Who is online

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