Proper way to add private sop class uid

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
kattabomane
Posts: 43
Joined: Tue, 2005-02-01, 22:53

Proper way to add private sop class uid

#1 Post by kattabomane »

Hello,
I am using dcmtk for underlaying dicom operations in my product.
What is the proper way to add a private sop class uid ?
This in order to support a private PR object.
Is this a proper way to add it into dcuid.h ?
Is there any other mechanism (like inheritance, interface) to do this ?
Thanks for your help.
Regards,
K.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: Proper way to add private sop class uid

#2 Post by Marco Eichelberg »

That depends on what you want to do. If you only want to send and receive such objects, you could even use a configuration file (see --config-file option in storescu and storescp), class DcmAssociationConfigurationFile, without the need to change anything in DCMTK. The code for creating or parsing such objects should also not require any change in DCMTK.

kattabomane
Posts: 43
Joined: Tue, 2005-02-01, 22:53

Re: Proper way to add private sop class uid

#3 Post by kattabomane »

Hello,
Thanks for your reply.
K.

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

Re: Proper way to add private sop class uid

#4 Post by Michael Onken »

For completeness: If you plan to patch DCMTK with a private SOP Class (though I doubt you need it that deep in DCMTK), we have a wiki page that describes the most important code files. As Marco said, for most networking tools there are either configuration options or a configuration file.

Michael

Post Reply

Who is online

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