Search found 2113 matches

by J. Riesmeier
Thu, 2019-10-03, 11:11
Forum: DCMTK - General
Topic: creating a DicomDir with files in another folder
Replies: 3
Views: 44

Re: creating a DicomDir with files in another folder

The first parameter has to be a valid File ID (apart from the "/" as the path separator on non-Windows systems), i.e. "IMAGES/IMG000" would be OK, "/images/IMG000" not. Mapping to upper case is done automatically if enableMapFilenamesMode() has been called before adding the file.
by J. Riesmeier
Tue, 2019-10-01, 20:20
Forum: DCMTK - General
Topic: creating a DicomDir with files in another folder
Replies: 3
Views: 44

Re: creating a DicomDir with files in another folder

If the DICOM files to be referenced from the DICOMDIR are stored in the subdirectory "IMAGES" (i.e. below the directory where the DICOMDIR is stored) and this is also the directory structure to be used for the DICOM File-Set (e.g. on a CD or DVD), you have to specify this subdirectory together with ...
by J. Riesmeier
Mon, 2019-09-23, 18:34
Forum: DCMTK - General
Topic: DCMTK not able to read an DICOM Image
Replies: 3
Views: 40

Re: DCMTK not able to read an DICOM Image

The answer is easy. When reading the DICOM image with debug mode enabled, you get the following output (excerpt): D: transfer syntax of DICOM dataset: JPEG 2000 (Lossless only) (1.2.840.10008.1.2.4.90) E: can't change to unencapsulated representation for pixel data The reason is also easy to underst...
by J. Riesmeier
Thu, 2019-09-05, 11:35
Forum: DCMTK - General
Topic: findscu and radiopharmaceutical tag (0018,0031)
Replies: 3
Views: 62

Re: findscu and radiopharmaceutical tag (0018,0031)

Consulting the DICOM Conformance Statement of the Siemens system would also be helpful in order to check which DICOM attributes (query keys) the SCP supports.
by J. Riesmeier
Thu, 2019-08-15, 19:59
Forum: DCMTK - General
Topic: StoreSCP
Replies: 2
Views: 104

Re: StoreSCP

Since all proposed Storage SOP Classes are accepted by storescp (including RETIRED_UltrasoundMultiframeImageStorage and UltrasoundMultiframeImageStorage), my first guess would be that the SCU also wants to send an instance of the Private SOP Class with UID 1.3.46.670589.2.5.1.1. Seems to be a Philip...
by J. Riesmeier
Tue, 2019-08-06, 16:01
Forum: DCMTK - General
Topic: what dose "((status==0)||((status & 0xf000)==0xb000))" do?
Replies: 6
Views: 184

Re: what dose "((status==0)||((status & 0xf000)==0xb000))" do?

As I suspected, this seems to be a bug in the implementation; Marco confirmed this. So, I added the following issue to DCMTK's bug tracker: https://support.dcmtk.org/redmine/issues/894
by J. Riesmeier
Tue, 2019-08-06, 10:12
Forum: DCMTK - General
Topic: PixelData issue
Replies: 4
Views: 109

Re: PixelData issue

This "DICOM image" has numerous issues, some of them seem to be discussed here: https://groups.google.com/forum/#!topic/comp.protocols.dicom/_vx2IpKa0BM The SOP Class UID refers to an unnamed retired SOP Class that apparently was never really defined in the DICOM standard. The Pixel data of the two ...
by J. Riesmeier
Mon, 2019-08-05, 17:48
Forum: DCMTK - General
Topic: PixelData issue
Replies: 4
Views: 109

Re: PixelData issue

Could you post the entire dump of the DICOM image, at least the data elements from group (0028,xxxx)?
by J. Riesmeier
Sun, 2019-08-04, 11:47
Forum: DCMTK - General
Topic: No SOPInstanceUID for Series?
Replies: 1
Views: 65

Re: No SOPInstanceUID for Series?

When I try to get the SOPInstanceUIDs of that series I get this: The dataset dump shows the request (see caption "Request Identifiers:" in the log output) and not the response, i.e. there is no match for your request. I only mention this to make sure that we are talking about the same aspect of the...
by J. Riesmeier
Fri, 2019-08-02, 17:22
Forum: DCMTK - General
Topic: Best way to update overlay data
Replies: 3
Views: 104

Re: Best way to update overlay data

You could use the DicomImage class e.g. for extracting details on the overlay planes of an existing DICOM image, but since the main purpose of this class is "image display", it is not really suited for storing DICOM images to a file or dataset.
by J. Riesmeier
Wed, 2019-07-31, 17:37
Forum: DCMTK - General
Topic: Best way to update overlay data
Replies: 3
Views: 104

Re: Best way to update overlay data

What is the background of your question: do you want to store the modified DICOM image as a new SOP instance / DICOM file afterwards?
by J. Riesmeier
Mon, 2019-07-22, 10:37
Forum: DCMTK - General
Topic: Logs layout error
Replies: 6
Views: 165

Re: Logs layout error

I was asking for the libraries that you link, not the header files you include. As far as I can see, LNK2028 and LNK2019 are linker errors.

By the way, how do you link the DCMTK to your program: statically or dynamically (i.e. as a DLL)?
by J. Riesmeier
Fri, 2019-07-19, 20:22
Forum: DCMTK - General
Topic: Logs layout error
Replies: 6
Views: 165

Re: Logs layout error

If "logfile" is something like the following it should work:

Code: Select all

dcmtk::log4cplus::SharedAppenderPtr logfile(new dcmtk::log4cplus::FileAppender("example.log"));
Are you sure that you link the correct libraries?
by J. Riesmeier
Fri, 2019-07-19, 13:17
Forum: DCMTK - General
Topic: Logs layout error
Replies: 6
Views: 165

Re: Logs layout error

Which version of the DCMTK do you use?
by J. Riesmeier
Fri, 2019-07-19, 13:14
Forum: DCMTK - General
Topic: Bad override key/path on Linux
Replies: 1
Views: 98

Re: Bad override key/path on Linux

You should enable support for the builtin data dictionary by setting the respective configure option for Autoconf or CMake (see datadict.txt ), recompile the DCMTK and install it. In addition, I would recommend that you check in your program whether the data dictionary is really "loaded" by calling ...