Search found 1513 matches

by Marco Eichelberg
Fri, 2025-01-31, 12:28
Forum: DCMTK - General
Topic: Issue with Extracting Multi-Frame DICOM to Single-Frame DICOMs for visualize MPR in RadiAnt DICOM Viewer
Replies: 3
Views: 9028

Re: Issue with Extracting Multi-Frame DICOM to Single-Frame DICOMs for visualize MPR in RadiAnt DICOM Viewer

Since the description of your approach does not mention the position information, I would suspect that this is the root cause. For MPR, each DICOM image needs contain information that exactly describes its position and orientation in 3D space, e.g. Image Position (Patient) and Image Orientation (Pat...
by Marco Eichelberg
Mon, 2025-01-20, 08:38
Forum: DCMTK - General
Topic: Issue with CT instance and
Replies: 6
Views: 1232

Re: Issue with CT instance and

In DICOM, the expected behavior of a storage SCU is to first check if an image can be transmitted in compressed form, and if this is not the case, then to silently decompress the image and transmit in uncompressed form. Apparently the SCU does not have a decoder for JPEG lossless, so this fails (and...
by Marco Eichelberg
Fri, 2025-01-17, 15:28
Forum: DCMTK - Installation
Topic: During log renaming process, some log files are getting missed
Replies: 1
Views: 9105

Re: During log renaming process, some log files are getting missed

I apologize for the late response - somehow we have apparently missed this thread. I have created an issue in our bug tracker, see https://support.dcmtk.org/redmine/issues/1145. If you have meanwhile found further information whether this is related to a specific bug in oflog, a timing issue, networ...
by Marco Eichelberg
Wed, 2025-01-15, 16:06
Forum: DCMTK - General
Topic: Issue with CT instance and
Replies: 6
Views: 1232

Re: Issue with CT instance and

Transmission of a DICOM image in JPEG lossless will only work if during association negotiation a presentation context is proposed and accepted where SOP Class is CT Image Storage and Transfer Syntax is JPEG Lossless, Non-Hierarchical, First-Order Prediction (Selection Value 1). This has nothing to ...
by Marco Eichelberg
Wed, 2025-01-15, 16:03
Forum: DCMTK - Installation
Topic: Upgrading from dcmtk354
Replies: 5
Views: 1497

Re: Upgrading from dcmtk354

Thanks for letting us know. I will put it on the to-do-list to remove the __BORLANDC__ #ifdefs, which were intended for a rather ancient version of Borland C++.
by Marco Eichelberg
Wed, 2025-01-15, 15:59
Forum: DCMTK - General
Topic: DcmSCP usage
Replies: 4
Views: 1194

Re: DcmSCP usage

Sorry, I will not be able to debug your code for you. What I can say is that apparently you are sending invalid data over the socket. DCMTK should not even be able to generate or send an attribute (0008,0052) with odd length.
by Marco Eichelberg
Tue, 2025-01-14, 12:47
Forum: DCMTK - General
Topic: DcmSCP usage
Replies: 4
Views: 1194

Re: DcmSCP usage

You cannot use DIMSE_sendEchoResponse() in a class derived from DcmSCP. You should instead prepare the response message in a T_DIMSE_Message structure and send that using DcmSCP::sendDIMSEMessage(), which is protected (i.e. accessible in a derived class).
by Marco Eichelberg
Sun, 2025-01-12, 12:29
Forum: DCMTK - Installation
Topic: Upgrading from dcmtk354
Replies: 5
Views: 1497

Re: Upgrading from dcmtk354

First of all, there is no documentation that describes all of the API changes from version to version. Some changes are typically necessary from release to release, but in many cases these are relatively small. Now, DCMTK 3.5.4 is almost 20 years old (it was published in 2005), therefore, it is hard...
by Marco Eichelberg
Wed, 2025-01-08, 15:02
Forum: DCMTK - General
Topic: DcmMetaInfo value retrieval
Replies: 2
Views: 1110

Re: DcmMetaInfo value retrieval

I cannot say that I really understand what your code is doing. I suspect, though, that your function findContainerOfNode() returns a pointer to the wrong DcmItem instance. Note that a DICOM file (class DcmFileFormat) contains two different DcmItem instances, one for the meta-header (i.e. all attribu...
by Marco Eichelberg
Wed, 2025-01-08, 14:55
Forum: DCMTK - General
Topic: openjpeg 2.5.2 Segmentation Fault error on linux
Replies: 2
Views: 904

Re: openjpeg 2.5.2 Segmentation Fault error on linux

There is no easy way of replacing the JPEG library that is built into DCMTK (based on the IJG JPEG library version 6) with libjpeg-turbo. While both libraries share a common ancestor, the differences are big enough that replacing one by the other is not trivial. You will find in the DCMTK issue trac...
by Marco Eichelberg
Tue, 2024-12-31, 09:13
Forum: DCMTK - General
Topic: [Dicom] TLS reports "unknown CA" error when testing storescu and storescp with self-signed CA certificate
Replies: 1
Views: 922

Re: [Dicom] TLS reports "unknown CA" error when testing storescu and storescp with self-signed CA certificate

The steps all seem to be correct. My guess is that your self-signed CA certificate is lacking the X.509 extension that marks it as a CA certificate. When printing the content of the certificate with openssl x509 -in <filename.pem> -nooout -text , you should see the following X.509 extensions: X509v3...
by Marco Eichelberg
Tue, 2024-12-31, 08:50
Forum: DCMTK - General
Topic: Data corruption in convertToUTF8() with oficonv
Replies: 2
Views: 1678

Re: Data corruption in convertToUTF8() with oficonv

For your information, I have fixed this issue today and committed the fix as commit #ae6352657. This will now run though our nightly builds and should become visible in the public git if no follow-up issues occur. The fix turned out to be fairly simple: diff --git a/oficonv/libsrc/citrus_iconv_none....
by Marco Eichelberg
Mon, 2024-12-30, 16:03
Forum: DCMTK - Installation
Topic: DCMTK Configuration & Generation on Android
Replies: 5
Views: 1706

Re: DCMTK Configuration & Generation on Android

Sorry, at this point I will be unable to help you. The CMake output looks good, and I cannot say why the Android emulator does not become ready. Unfortunately, the developer of the Android port is not active in this project anymore. Other than this, I can only point you to the following document des...
by Marco Eichelberg
Mon, 2024-12-30, 15:57
Forum: DCMTK - Installation
Topic: DCMTK static library compilation (+zlib +openssl)
Replies: 4
Views: 1500

Re: DCMTK static library compilation (+zlib +openssl)

You fail to mention the operating system on which you are developing. For now I will assume that you intend to compile on Windows. Note that we provide pre-compiled versions of all external libraries for various Visual Studio compilers and compiler settings. Most of these are static libraries, with ...
by Marco Eichelberg
Fri, 2024-12-20, 09:32
Forum: DCMTK - Installation
Topic: DCMTK Configuration & Generation on Android
Replies: 5
Views: 1706

Re: DCMTK Configuration & Generation on Android

This looks like an incompatibility between an outdated CMake build script and a relatively new version of CMake. The error is caused by a cmake_minimum_required() statement in one of the CMake scripts, I guess somewhere in /Users/xxx/Library/Android/sdk/ndk/27.2.12479018/build/cmake. The statement p...