Search found 2304 matches

by J. Riesmeier
Thu, 2021-07-29, 07:11
Forum: DCMTK - General
Topic: DcmDicomdir from an input stream
Replies: 4
Views: 2487

Re: DcmDicomdir from an input stream

As far as I can see, the class DcmDicomDir has not been enhanced in this regard. The reason is that no one from our team apparently needed this feature for his own work and also no DCMTK user contributed it or sponsored development of it.

By the way, what is your use case?
by J. Riesmeier
Thu, 2021-07-29, 06:54
Forum: DCMTK - Installation
Topic: Endianess problem with dcmseg_roundtrip test
Replies: 3
Views: 46

Re: Endianess problem with dcmseg_roundtrip test

Could you please test the latest development version (from the public git repository)? I guess this issue has already been fixed with this commit: http://git.dcmtk.org/?p=dcmtk.git;a=com ... c5b1b32175
by J. Riesmeier
Wed, 2021-07-28, 16:41
Forum: Other DICOM Tools
Topic: mpps scu message length issue
Replies: 5
Views: 67

Re: mpps scu message length issue

Follow-up: now I understand what you've meant with "such input file". The optional parameter "dcmfile-in" can be used to load the request dataset from a DICOM file. The manpage says: The request message is either read from file, or assembled from attributes given with the –key option. It is also pos...
by J. Riesmeier
Wed, 2021-07-28, 11:58
Forum: Other DICOM Tools
Topic: mpps scu message length issue
Replies: 5
Views: 67

Re: mpps scu message length issue

Hi Marco, thank you! My first name is "Jörg" but this does not really matter :wink: I'm looking for a method to compose a shorter command line: I see that there are the "+f..." options: Right, for most options there is also a short version, like +f for --read-file. This is also explained in the man...
by J. Riesmeier
Tue, 2021-07-27, 18:59
Forum: Other DICOM Tools
Topic: mpps scu message length issue
Replies: 5
Views: 67

Re: mpps scu message length issue

This leads to an error as the command length exceedes the maximum of 8191 characters.
What do you mean by "command length"? The length of the command line?
In general, where is mppssu arguments syntax documented?
You mean something that is not explained in the manpage?
by J. Riesmeier
Wed, 2021-07-07, 08:13
Forum: DCMTK - FAQ
Topic: FAQ #40: How do I use the DCMTK libraries in my own application? [MSVC]
Replies: 1
Views: 33114

Re: FAQ #40: How do I use the DCMTK libraries in my own application? [MSVC]

To readers of this FAQ entry: The above described approach refers to a rather old DCMTK version. For more recent versions of this toolkit, CMake's find_package() mechanism should be used. Compiler flags should no longer be set directly. Please also note that the name of some tag constants changed b...
by J. Riesmeier
Fri, 2021-06-25, 06:33
Forum: DCMTK - General
Topic: Adding new Tags
Replies: 3
Views: 101

Re: Adding new Tags

It seems that you've already found the HOWTO on "Add private data elements to a DICOM dataset": https://support.dcmtk.org/redmine/projects/dcmtk/wiki/Howto_AddPrivateData If you want to enable DCMTK tools like dcmdump or dcm2xml to support your private tags (i.e. by showing their associated names fo...
by J. Riesmeier
Tue, 2021-06-22, 16:56
Forum: DCMTK - General
Topic: Check the consistency of data before send it to the server
Replies: 6
Views: 166

Re: Check the consistency of data before send it to the server

In our application, I check the StudyID to see if it is empty. If yes, I create a new ID with the function dcmGenerateUniqueIdentifier(uid, SITE_STUDY_UID_ROOT). According to the DICOM standard, the StudyID can be empty. I.e. I don't have to generate a new one. Is this correct? Study ID is not a un...
by J. Riesmeier
Fri, 2021-06-18, 08:24
Forum: DCMTK - General
Topic: Check the consistency of data before send it to the server
Replies: 6
Views: 166

Re: Check the consistency of data before send it to the server

I'm not 100% sure about item 4 but, in general, dciodvfy should do what you want. In addition, you could use dcentvfy (also from dicom3tools) to make sure that the data on patient, study and series level is consistent over multiple DICOM instances of a patient, study, series...
by J. Riesmeier
Thu, 2021-06-17, 12:00
Forum: DCMTK - General
Topic: Check the consistency of data before send it to the server
Replies: 6
Views: 166

Re: Check the consistency of data before send it to the server

You could e.g. use dciodvfy for this purpose... depending on what you mean by "check the data for correctness and consistency".
by J. Riesmeier
Thu, 2021-06-17, 11:58
Forum: DCMTK - General
Topic: Location of bthe logfiles created by the command tools on debian
Replies: 2
Views: 74

Re: Location of bthe logfiles created by the command tools on debian

A log file is only created if enabled by a corresponding logger configuration file. This configuration file also specifies the filename (and possibly directory) of the log file. If no directory is specified, the log file should be stored in the current working directory.
by J. Riesmeier
Mon, 2021-06-07, 13:02
Forum: DCMTK - General
Topic: Handling PixelData after change in 3.6.5
Replies: 1
Views: 138

Re: Handling PixelData after change in 3.6.5

Thank you for the detailed report. The backwards incompatibility is not addressed in the release notes, was it intentional and what's the reasoning? It was not intentional. On the other hand, using findAndGetUint8Array() for OW data elements was also not intended as the API documentation says: "Appl...
by J. Riesmeier
Tue, 2021-05-25, 19:40
Forum: DCMTK - Installation
Topic: windows: building dcmtk with libiconv
Replies: 1
Views: 124

Re: windows: building dcmtk with libiconv

You should definitely read and follow the instructions in the INSTALL file. For example, when using the "MD" version of the support libraries, you should, of course, also compile the DCMTK with multi-threaded dynamically linked code generation settings. If not, you should use the "MT" version instead.
by J. Riesmeier
Fri, 2021-05-07, 10:11
Forum: DCMRT
Topic: Second generation Dicom RT
Replies: 2
Views: 274

Re: Second generation Dicom RT

Are second generation dicom rt objects supported by dcmrt? e.g. RTPhysicianIntent, RTSegmentAnnotation etc.? I saw that they were in the release information with the following line "Added support for the new 2nd generation RT Storage SOP Classes that have been introduced with Supplement 175, 176 an...