Search found 2301 matches

by J. Riesmeier
Wed, 2021-07-28, 11:58
Forum: Other DICOM Tools
Topic: mpps scu message length issue
Replies: 4
Views: 47

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: 4
Views: 47

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

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

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

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

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

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

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

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

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

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...
by J. Riesmeier
Tue, 2021-04-27, 07:08
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 337

Re: How to write Dcm file for RT Structure Set

What is the output to the debug logger? It might also be useful to enable the trace logger...
by J. Riesmeier
Mon, 2021-04-26, 17:21
Forum: DCMRT
Topic: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item
Replies: 4
Views: 203

Re: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item

Maybe, it was not very obvious that the item is created internally, so I extended the API documentation of addItem() and insertItem() in this respect. This change will be visible in the public DCMTK git repository once I recreate the automatically generated classes of "dcmrt".
by J. Riesmeier
Mon, 2021-04-26, 15:47
Forum: DCMRT
Topic: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item
Replies: 4
Views: 203

Re: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item

You have to create an item in both the ROI Contour Sequence and the Contour Sequence. Also the pointer parameter of the addItem() method is an output parameter, i.e. the pointer to the created item is returned. I just wrote a little test program to be added to the "dcmrt/tests" collection of test ca...