Search found 2501 matches

by J. Riesmeier
Wed, 2023-03-01, 19:32
Forum: DCMTK - General
Topic: Forgot to implement putAndInsertSint32Array?
Replies: 4
Views: 3238

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: 5458

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: 1156

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: 4091

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: 4091

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: 6624

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: 6624

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: 1644

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: 6624

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: 1644

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...
by J. Riesmeier
Thu, 2023-02-09, 10:16
Forum: DCMTK - General
Topic: Private tag support
Replies: 6
Views: 1644

Re: Private tag support

Apparently, the VR is missing for your private tags. By the way, there is a "Howto" on adding private data elements to a DICOM dataset: https://support.dcmtk.org/redmine/proje ... rivateData
by J. Riesmeier
Wed, 2023-02-08, 17:57
Forum: DCMTK - General
Topic: Maximum entries in the worklist
Replies: 3
Views: 1186

Re: Maximum entries in the worklist

Is the end of the word list marked when it is received ? What happens if this does not come? Yes, there is a final C-FIND response message (without a dataset attached to it). This is the marker for the end of the matches. I've never heard that this final C-FIND response message is not sent, which w...
by J. Riesmeier
Tue, 2023-02-07, 19:10
Forum: DCMTK - General
Topic: Maximum entries in the worklist
Replies: 3
Views: 1186

Re: Maximum entries in the worklist

The DICOM standard does not specify any upper limit for the number of C-FIND responses (aka worklist items), but a particular implementation of the standard may have such an upper limit, which is hopefully specified in the corresponding DICOM Conformance Statement.
by J. Riesmeier
Tue, 2023-02-07, 14:00
Forum: DCMTK - General
Topic: dcm(j)2pnm not detecting overlay
Replies: 5
Views: 1861

Re: dcm(j)2pnm not detecting overlay

The link to issue #197 would be this one: https://support.dcmtk.org/redmine/issues/197 However, it is only visible to users that are logged in, because it is a rather old entry that is written in German and it also contains confidential information (e.g. name and email address of the person who subm...
by J. Riesmeier
Tue, 2023-02-07, 09:52
Forum: DCMTK - General
Topic: 0xa900: Error: Refused - Data Set does not match SOP Class
Replies: 11
Views: 7338

Re: 0xa900: Error: Refused - Data Set does not match SOP Class

Actually, some DCMTK tools do print this information, e.g. dcmsend and dcmrecv, so the underlying dcmnet functions already support it. This feature just has to be enabled in other DCMTK networking tools. D: ===================== INCOMING DIMSE MESSAGE ==================== D: Message Type : C-STORE R...