Search found 2291 matches

by J. Riesmeier
Fri, 2021-05-07, 10:11
Forum: DCMRT
Topic: Second generation Dicom RT
Replies: 2
Views: 53

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

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

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

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...
by J. Riesmeier
Tue, 2021-04-20, 17:34
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 145

Re: How to write Dcm file for RT Structure Set

How about tags like ImplementationVersionName or ImplementationClassUID or MediaStorageSOPInstanceUID that are specific to the manufacturer? Do we not set these tags in the file meta data? If you use the DCMTK, ImplementationVersionName and ImplementationClassUID should be the ones of the DCMTK, i....
by J. Riesmeier
Tue, 2021-04-20, 08:27
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 145

Re: How to write Dcm file for RT Structure Set

Basically, yes, but there is no need to specify the element values of the file meta information manually (as this is done automatically when calling saveFile()).
by J. Riesmeier
Fri, 2021-04-02, 13:42
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 313

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

last question is -Wall for cxx flags in cmake configuration
I've already forwarded this question to the DCMTK team members who prefer to use CMake (on non-Windows systems).
by J. Riesmeier
Fri, 2021-04-02, 13:23
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 313

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

So, the issue (crash) is caused by an incomplete modification of DCMTK's source code, right? anyway, i think it is good idea to add "default" Yes, one could do this, e.g. you could/should do this as part of your fork, but I am not sure whether this really makes sense for the public DCMTK source code...
by J. Riesmeier
Fri, 2021-04-02, 11:18
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 313

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

it crashed in dcmdata/libsrc/dcpixel.cc:1195 Do you really use "master"? http://git.dcmtk.org/?p=dcmtk.git;a=blob;f=dcmdata/libsrc/dcpixel.cc;h=7d1e61550cb2b85db3d72d58955b65063e2481dc;hb=HEAD#l1195 1195 return (*current)->pixSeq->loadAllDataIntoMemory(); It's line 1168 in "master". Anyway, I teste...
by J. Riesmeier
Fri, 2021-04-02, 10:50
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 313

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

I understand what YBR_RCT​ and YBR_ICT are only allowed for compressed images but it seems not all developers understand it also, so, our equipment sometime receives such dicoms from some "client tele-medical environment" Here's the reference to the relevant section in the DICOM standard: http://di...
by J. Riesmeier
Thu, 2021-04-01, 22:32
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 313

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

Which version of the DCMTK did you use? As far as I can see, there is no such thing as EPI_YBR_RCT or EPI_YBR_ICT (enums) since these photometric interpretations (YBR_RCT​ and YBR_ICT) are only allowed for compressed images, not for uncompressed images. The same is true for YBR_PARTIAL_420. switch (...
by J. Riesmeier
Mon, 2021-03-29, 11:41
Forum: DCMTK - General
Topic: TLS v1.3 support issue
Replies: 5
Views: 279

Re: TLS version support

Does this commit (from May 2019) solve your issue?
by J. Riesmeier
Sat, 2021-03-27, 19:55
Forum: DCMTK - General
Topic: DICOMDIR updating directory does not update extsing record
Replies: 3
Views: 159

Re: DICOMDIR updating directory does not update extsing record

The DICOM standard says with regard to the SOP Instance UID: same value means same DICOM object, different value means different DICOM object. In your case, the filename (Referenced File ID) is not relevant but the value of SOP Instance UID.
by J. Riesmeier
Fri, 2021-03-26, 21:10
Forum: DCMTK - General
Topic: DICOMDIR updating directory does not update extsing record
Replies: 3
Views: 159

Re: DICOMDIR updating directory does not update extsing record

Short question: did you change the SOP Instance UID of the DICOM file before the second addition?
Below is my code Snippet.
Where?