Search found 12 matches
- Thu, 2024-04-25, 12:06
- Forum: DCMTK - General
- Topic: Crash on shutdown of DcmQueryRetrieveSCP
- Replies: 3
- Views: 1986
Re: Crash on shutdown of DcmQueryRetrieveSCP
Thanks for the prompt reaction. Your patch fixes the problem for me.
- Wed, 2024-04-24, 13:22
- Forum: DCMTK - General
- Topic: Crash on shutdown of DcmQueryRetrieveSCP
- Replies: 3
- Views: 1986
Crash on shutdown of DcmQueryRetrieveSCP
Hello! I am trying to set up a test environment for my application's DICOM communication. To this end, I start a thread that runs an instance of DcmQueryRetrieveSCP. At the end of all test runs this thread needs be terminated, which I am trying to do with the private shutdown SOP. However, this caus...
- Mon, 2024-04-22, 16:04
- Forum: DCMRT
- Topic: How to write contour sequence to DICOM file
- Replies: 2
- Views: 4982
Re: How to write contour sequence to DICOM file
Thank you for the clarification. I wasn't aware that DRTStructureSetIOD checks the data before writing it. I did try to set all necessary fields, but I wanted to post a minimal example here. Apparently I missed some vital field. And you are right, I should have checked the log for details. Anyway, i...
- Thu, 2024-04-18, 08:42
- Forum: DCMRT
- Topic: How to write contour sequence to DICOM file
- Replies: 2
- Views: 4982
How to write contour sequence to DICOM file
Hello! I am trying to create a DICOM file containing an RT structure set with a contour sequence, unsuccessfully so far. I found some helpful posts in this forum, so I combined the example code from How to add DRTContourSequence::Item to an DRTROIContourSequence::Item and How to write Dcm file for R...
- Thu, 2023-02-16, 09:16
- Forum: DCMRT
- Topic: Unable to read DRTImage
- Replies: 3
- Views: 11795
Re: Unable to read DRTImage
Yes, that looks good to me. Checking for NULL is definitely a good idea. Thank you for your report and detailed analysis. It seems that no one ever used this method before - including the author of this class :? I was also surprised that nobody had found this issue until now. Probably everyone else ...
- Wed, 2023-02-15, 15:01
- Forum: DCMRT
- Topic: Unable to read DRTImage
- Replies: 3
- Views: 11795
Unable to read DRTImage
Hello, I tried to read an RT image using DRTImage::read(DcmItem *dataset). However, this fails even though I am fairly confident that the data is valid. Looking at the code, I noticed that DRTImage::read() appears to call DRTImageIOD::read() with the argument *format_.getDataset() although format_ h...
- Wed, 2023-02-15, 12:40
- Forum: DCMTK - Installation
- Topic: Compiling DCMTK with C++11/14/17 Features with MSVC
- Replies: 3
- Views: 11911
Re: Compiling DCMTK with C++11/14/17 Features with MSVC
I noticed that you have created a ticket for this issue: https://support.dcmtk.org/redmine/issues/1047.
Thanks for your work!
Thanks for your work!
- Wed, 2023-02-15, 12:27
- Forum: DCMRT
- Topic: Invalid item in loop over sequences
- Replies: 7
- Views: 17460
Re: Invalid item in loop over sequences
I understand. Thank you for your efforts, I am looking forward to the next release.
- Mon, 2023-02-13, 16:42
- Forum: DCMRT
- Topic: Invalid item in loop over sequences
- Replies: 7
- Views: 17460
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. You are probably aware of this, ...
- Fri, 2023-01-27, 14:54
- Forum: DCMRT
- Topic: Invalid item in loop over sequences
- Replies: 7
- Views: 17460
Invalid item in loop over sequences
Hello! i've stumbled across some unexpected error messages today, when performing loops over sequences of the following kind: do { DRTROIContourSequence::Item& currentContour = rtROIContourSequence.getCurrentItem(); if (currentContour.isValid()) { // doSomething } else { std::cerr << "Error...
- Tue, 2022-11-08, 14:54
- Forum: DCMTK - Installation
- Topic: Compiling DCMTK with C++11/14/17 Features with MSVC
- Replies: 3
- Views: 11911
Re: Compiling DCMTK with C++11/14/17 Features with MSVC
After some digging I found that the problem occurs in dcmtk\config\tests\cxx11.cc. The code checks for the macro __cplusplus: #elif __cplusplus < 201103L #error "This is not a C++11 compiler" Unfortunately, MSVC doesn't set this macro correctly. From https://learn.microsoft.com/en-us/cpp/b...
- Mon, 2022-11-07, 14:21
- Forum: DCMTK - Installation
- Topic: Compiling DCMTK with C++11/14/17 Features with MSVC
- Replies: 3
- Views: 11911
Compiling DCMTK with C++11/14/17 Features with MSVC
Hello, I managed to compile the toolkit with Visual Studio 2022. However, I noticed that CMake disabled the features of newer C++ versions: Checking whether the compiler supports C++11 Checking whether the compiler supports C++11 -- no Info: C++11 features disabled Info: C++14 features disabled Info...