Search found 1523 matches

by Marco Eichelberg
Wed, 2025-03-12, 17:21
Forum: DCMTK - General
Topic: message: Association Release Failed
Replies: 2
Views: 695

Re: message: Association Release Failed

This is not what should be happening, but I suspect that the problem is on the fo-dicom side. The protocol for closing a DICOM network association requires one side (usually the client, as with findscu or echoscu) to send an A-RELEASE-RQ message to the server, indicating the wish to close the networ...
by Marco Eichelberg
Mon, 2025-03-10, 17:10
Forum: DCMTK - General
Topic: HAVE_STD__NOTHROW defined but exception is still thrown
Replies: 12
Views: 1864

Re: HAVE_STD__NOTHROW defined but exception is still thrown

I think that this behaviour might be related to the use of MFC. As far as I know, the MFC comes with it's own implementation of operator new that calls AfxThrowMemoryException() if a block of memory cannot be allocated. Perhaps this implementation also ignores std::nothrow. Adjusting the link order ...
by Marco Eichelberg
Sun, 2025-03-09, 08:12
Forum: DCMTK - General
Topic: DCMTK IPV6 support
Replies: 9
Views: 9867

Re: DCMTK IPV6 support

IPv6 support is not high on the list of priorities for the development team, the main reason being that our network infrastructure is IPv4 only, which makes it very difficult to develop and debug this. Unless somebody provides a patch / pull request for adding server-side IPv6 support, I do not see ...
by Marco Eichelberg
Sun, 2025-03-02, 22:36
Forum: DCMTK - General
Topic: Receiving Association failed: 0006:0321 Unrecognized PDU type: 47
Replies: 3
Views: 2913

Re: Receiving Association failed: 0006:0321 Unrecognized PDU type: 47

The "unrecognized PDU type" message indicates that something that is not DICOM tries to connect to that port.
The timeout might be caused by an attempt to look up the hostname using a reverse DNS lookup. Try running storescp with the --disable-host-lookup option.
by Marco Eichelberg
Wed, 2025-02-26, 16:00
Forum: DCMTK - General
Topic: file size got reduced
Replies: 7
Views: 8024

Re: file size got reduced

When writing a new DICOM file, the meta-header will be re-created from scratch, unless you use certain options in DcmFileFormat::saveFile(). Specifically, the implementation class UID and version name refer to the "implementation" that has written the file, which is DCMTK for the new file....
by Marco Eichelberg
Sat, 2025-02-22, 18:16
Forum: DCMTK - General
Topic: file size got reduced
Replies: 7
Views: 8024

Re: file size got reduced

If I remember correctly, it should be possible to write a DICOM file in a different transfer syntax without all data getting loaded, as long as both the original transfer syntax and the new one are uncompressed (or Deflate). It should be easy for you to test this. Just don't call loadAllDataIntoMemo...
by Marco Eichelberg
Mon, 2025-02-17, 15:49
Forum: DCMTK - General
Topic: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)
Replies: 8
Views: 4646

Re: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)

However, I have one more question—why was it working in Debug mode before enabling this setting?
Very good question. That should have produced the same error as in your release build.
by Marco Eichelberg
Sun, 2025-02-16, 12:37
Forum: DCMTK - General
Topic: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)
Replies: 8
Views: 4646

Re: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)

Can you explain to us what the issue was and how it was resolved? Maybe others could benefit from your experience...
by Marco Eichelberg
Thu, 2025-02-13, 17:25
Forum: DCMTK - General
Topic: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)
Replies: 8
Views: 4646

Re: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)

Then my guess would be that your code defines a pre-processor macro that changes the definition of DcmItem::findAndGetOFString() such that the function signature that your code expects is not identical anymore to the one that was used during compilation of dcmdata.lib. For example, a #define HAVE_ST...
by Marco Eichelberg
Thu, 2025-02-13, 08:07
Forum: DCMTK - General
Topic: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)
Replies: 8
Views: 4646

Re: Issue with DCMTK(dcmdata.lib) Library - unresolved external symbol(DcmItem::findAndGetOFString)

The missing symbol is definitely part of dcmdata.lib. Perhaps you should try to re-compile the release build of DCMTK to make sure that this library is intact.
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: 14988

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

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

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

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: 7
Views: 7052

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++.