Search found 9 matches

by pgimeno
Fri, 2023-05-05, 07:14
Forum: DCMTK - General
Topic: "Private" UIDs
Replies: 7
Views: 5363

Re: "Private" UIDs

After checking the sources, I think there is a more serious problem. The library makes use of SITE_*_UID_ROOT in a number of places. This means that those who are using a precompiled version of the library, but redefining SITE_UID_ROOT, like we are doing, can potentially end up with a mix of their o...
by pgimeno
Thu, 2023-05-04, 08:10
Forum: DCMTK - General
Topic: "Private" UIDs
Replies: 7
Views: 5363

Re: "Private" UIDs

Thanks. The application is still in development so we will change it to .9 per your suggestion.
by pgimeno
Wed, 2023-05-03, 16:41
Forum: DCMTK - General
Topic: "Private" UIDs
Replies: 7
Views: 5363

Re: "Private" UIDs

As far as the DCMTK-specific UID prefixes are concerned, there is a Feature Request in our issue tracker that refers to this topic: https://support.dcmtk.org/redmine/issues/656 - However, there was no decision yet on how to actually implement it. Thanks for pointing me to that issue. Since you were...
by pgimeno
Wed, 2023-05-03, 08:50
Forum: DCMTK - General
Topic: "Private" UIDs
Replies: 7
Views: 5363

"Private" UIDs

I need to generate a UID for a use that, as of this writing, is not contemplated by DCMTK (in particular, an Irradiation Event UID for an X-Ray Radiation Dose SR). The version I have of DCMTK contemplates the following UID prefixes based on the site's UID root: /// UID root for study instance UIDs #...
by pgimeno
Wed, 2023-03-15, 12:11
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6290

Re: [SOLVED] Problem with two SCPs in a single process

I mixed DSRDocument and DcmDataset, sorry. Browsing the result with less exposed the NULL as an inverse-colour ^@ which was enough. One question, what do you mean by "is already the thread-safe variant of a global variable"? It's definitely not thread-local, at least not in version 3.6.5, ...
by pgimeno
Wed, 2023-03-15, 09:12
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6290

Re: Problem with two SCPs in a single process

But then, the following came to my mind: Could you check what the value of dcmEnableAutomaticInputDataCorrection.get() is? Maybe, your problem is related to an issue with 0-byte padded UID values. See this commit: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=643f380d838 Spot-on! Indeed it was true...
by pgimeno
Tue, 2023-03-14, 16:44
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6290

[SOLVED] Problem with two SCPs in a single process

In my application I have implemented a thread with a C-MOVE SCU + C-STORE SCP based on the code from dcmnet/apps/movescu.cc, which is pretty much what I needed for my application. I can process the input files (which are structured reports, therefore I'm using a DSRDocument to process them) as they ...
by pgimeno
Tue, 2023-02-07, 15:57
Forum: DCMTK - General
Topic: Handling C-MOVE with a single process
Replies: 3
Views: 1341

Re: Handling C-MOVE with a single process

Thanks Michael. You say: using DcmSCU/DcmSCP it is not possible to implement the desired scenario in a single process. Instead, you have to use two threads or two separate processes. I need to start the SCP right before sending the C-MOVE request and stop it either right after the transmission is co...
by pgimeno
Tue, 2023-02-07, 13:26
Forum: DCMTK - General
Topic: Handling C-MOVE with a single process
Replies: 3
Views: 1341

Handling C-MOVE with a single process

Hello, new user here. In my application I need to process images by retrieving them from a PACS server, and for that purpose I need to use a C-FIND to find the images, and then a C-MOVE to the same machine to retrieve them. For performing the C-MOVE request I'm using a DcmSCU object, similar to the ...