Search found 2506 matches

by J. Riesmeier
Tue, 2023-03-14, 17:32
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6286

Re: Problem with two SCPs in a single process

My first idea was: Could you print the value of SOPClassUID stored in "dataset" or the entire "dataset" before and after calling "sr->read()"? But then, the following came to my mind: Could you check what the value of dcmEnableAutomaticInputDataCorrection.get() is? Mayb...
by J. Riesmeier
Tue, 2023-03-14, 10:06
Forum: DCMTK - General
Topic: Forcefully closing an SCU TCP connect attempt
Replies: 12
Views: 12131

Re: Forcefully closing an SCU TCP connect attempt

According to a statement of Mr. Riesmeier the timeout for the network is set to 60s. I also get a corresponding message in my log files. 2023-03-03 10:22:37.553 DEBUG: setting network send timeout to 60 seconds 2023-03-03 10:22:37.553 DEBUG: setting network receive timeout to 60 seconds Which of th...
by J. Riesmeier
Wed, 2023-03-08, 18:58
Forum: DCMTK - General
Topic: modality worklist and wlmscpfs issues
Replies: 3
Views: 6786

Re: modality worklist and wlmscpfs issues

From the log, it looks like the SCU is aborting the Association after the SCP (wlmscpfs) accepted the Association. The proposed Verification SOP Class is accepted with Explicit VR Little Endian Transfer Systax. Apart from the A-ABORT message that is sent from the SCU, I only find the following a bit...
by J. Riesmeier
Thu, 2023-03-02, 17:38
Forum: DCMTK - General
Topic: Forgot to implement putAndInsertSint32Array?
Replies: 4
Views: 3574

Re: Forgot to implement putAndInsertSint32Array?

The new helper function should be available in DCMTK's public git repository in a few days. A new DCMTK release is expected in spring/summer this year.
by J. Riesmeier
Wed, 2023-03-01, 19:32
Forum: DCMTK - General
Topic: Forgot to implement putAndInsertSint32Array?
Replies: 4
Views: 3574

Re: Forgot to implement putAndInsertSint32Array?

Thank you for your report. I don't think that this was on purpose. I'll add this helper function to the DcmItem class.
by J. Riesmeier
Wed, 2023-02-22, 13:56
Forum: DCMTK - General
Topic: modality worklist and wlmscpfs issues
Replies: 3
Views: 6786

Re: modality worklist and wlmscpfs issues

Could you please provide the log output with debug messages enabled, i.e. when starting wlmscpfs with option --debug (or -d).
by J. Riesmeier
Fri, 2023-02-17, 22:06
Forum: DCMTK - General
Topic: Cannot SetReadLock from WlmDataSourceFileSystem
Replies: 2
Views: 1296

Re: Cannot SetReadLock from WlmDataSourceFileSystem

Did you create a "lockfile" in the data directory? See documentation for details.

See also DCMTK Feature #1041: https://support.dcmtk.org/redmine/issues/1041
by J. Riesmeier
Thu, 2023-02-16, 09:42
Forum: DCMRT
Topic: Unable to read DRTImage
Replies: 3
Views: 5164

Re: Unable to read DRTImage

Thank you for the feedback. I've just committed the required changes to the internal "testing" branch of the DCMTK. The changes should be visible in the public git repository soon.
by J. Riesmeier
Wed, 2023-02-15, 16:59
Forum: DCMRT
Topic: Unable to read DRTImage
Replies: 3
Views: 5164

Re: Unable to read DRTImage

Thank you for your report and detailed analysis. It seems that no one ever used this method before - including the author of this class :? The version I would propose is the following: OFCondition DRTImage::read(DcmItem *dataset) { /* get rid of the old image before we mess with its dataset */ reset...
by J. Riesmeier
Wed, 2023-02-15, 12:33
Forum: DCMRT
Topic: Invalid item in loop over sequences
Replies: 7
Views: 8332

Re: Invalid item in loop over sequences

Thank you for your feedback. By the way, I also plan to update the automatically generated dcmrt classes to the latest edition of the DICOM standard, i.e. DICOM 2023a. I already started with this work, but, as always, there are still some issues: the DICOM RT people like to use the same Sequence Att...
by J. Riesmeier
Mon, 2023-02-13, 18:03
Forum: DCMRT
Topic: Invalid item in loop over sequences
Replies: 7
Views: 8332

Re: Invalid item in loop over sequences

Thank you for the suggestion. With this code everything works as expected! It also matches the implementation in other parts of DCMTK, e.g. DSRCodingSchemeIdentificationList::gotoNextItem() or DSRReferencedInstanceList::gotoNextItem(), so it is hopefully well tested. Thank you for your feedback. Th...
by J. Riesmeier
Sat, 2023-02-11, 11:47
Forum: DCMTK - General
Topic: Private tag support
Replies: 6
Views: 1770

Re: Private tag support

Sorry, I wanted to refer to DcmTag (not DcmTagKey), which has two constructors that allow for specifying the Private Creator identifier as an optional parameter (see documentation).
by J. Riesmeier
Fri, 2023-02-10, 17:26
Forum: DCMRT
Topic: Invalid item in loop over sequences
Replies: 7
Views: 8332

Re: Invalid item in loop over sequences

Could you please check whether the following solves the problem? OFCondition DRTROIContourSequence::gotoNextItem() { OFCondition result = EC_IllegalCall; if (++CurrentItem != SequenceOfItems.end()) { if (*CurrentItem != NULL) result = EC_Normal; else result = EC_CorruptedData; } return result; }
by J. Riesmeier
Fri, 2023-02-10, 12:03
Forum: DCMTK - General
Topic: Private tag support
Replies: 6
Views: 1770

Re: Private tag support

My understanding is that private tag support can also be achieved by extending the dicom.dic as described in https://support.dcmtk.org/docs/file_datadict.html so that private tags will be able to be used in the same way as public tags. That's correct. generate private.h using myprivate-mkdeftag.h T...