Search found 2008 matches

by J. Riesmeier
Fri, 2018-11-30, 13:30
Forum: DCMTK - General
Topic: Suppressing DCMTK Errors
Replies: 5
Views: 52

Re: Suppressing DCMTK Errors

Okay, so the only way to deal with missing attributes (PixelInterpretation etc) is to fill them manually (with some default value? How?) If there would be a default value for PixelRepresentation, it would be easy for the DicomImage class to use this value if the data element is missing in the DICOM...
by J. Riesmeier
Thu, 2018-11-29, 22:35
Forum: DCMTK - General
Topic: Suppressing DCMTK Errors
Replies: 5
Views: 52

Re: Suppressing DCMTK Errors

Of course there is, but the DicomImage class does not process images where mandatory attribute are missing, at least those that are needed for rendering the pixel data. If you still want to use this class, you would have to add the missing data elements in advance. You should also inform the Mathema...
by J. Riesmeier
Thu, 2018-11-29, 14:23
Forum: DCMTK - General
Topic: Suppressing DCMTK Errors
Replies: 5
Views: 52

Re: Suppressing DCMTK Errors

I guess Slicer does not use the DicomImage class but accesses the Pixel Data element directly.

Apart from that, the DICOM image file seems to be invalid since mandatory information is missing. So, who created the image?
by J. Riesmeier
Sun, 2018-11-25, 21:41
Forum: DCMTK - General
Topic: Problem with DVTk Modality Emulator
Replies: 6
Views: 3117

Re: Problem with DVTk Modality Emulator

Your ScheduledStationAETitle does not match (as far as I can see).

By the way, why did you "hijack" an almost 10 years old posting?
by J. Riesmeier
Fri, 2018-11-16, 16:44
Forum: DCMTK - General
Topic: Dcm2pdf sometimes creates corrupted pdf.
Replies: 1
Views: 73

Re: Dcm2pdf sometimes creates corrupted pdf.

There is a new CP in the pipeline that will probably solve issues like this (in the future): ftp://medical.nema.org/medical/dicom/cp ... oteven.pdf

I will also forward your report to the author of "dcm2pdf".
by J. Riesmeier
Thu, 2018-11-15, 20:56
Forum: DCMTK - General
Topic: Loading DICOM file from memory buffer
Replies: 4
Views: 95

Re: Loading DICOM file from memory buffer

Of course, a DICOM file cannot be read by an instance of the DcmDataset class. This is what DcmFileFormat is for ;-)
by J. Riesmeier
Tue, 2018-11-13, 21:41
Forum: DCMTK - Installation
Topic: Access violation while trying to apply TLS in release mode
Replies: 4
Views: 122

Re: Access violation while trying to apply TLS in release mo

So, do you use the current DCMTK release 3.6.3? And, which SCP did you use for cheking (with echoscu)?
by J. Riesmeier
Tue, 2018-11-13, 21:38
Forum: DCMTK - Installation
Topic: UNDEFINED REFERENCE PROBLEM
Replies: 1
Views: 76

Re: UNDEFINED REFERENCE PROBLEM

Just a wild guess: Did you also specify the "include path" to the installed DCMTK (i.e. to the header files)?
by J. Riesmeier
Tue, 2018-11-13, 21:35
Forum: DCMTK - Installation
Topic: Errors during adding dcmtk libs in project
Replies: 1
Views: 57

Re: Errors during adding dcmtk libs in project

The question is: how did you add the DCMTK to your project?

In other words, without knowing more details, no one will be able to help you.
by J. Riesmeier
Tue, 2018-11-13, 21:34
Forum: DCMTK - General
Topic: Loading DICOM file from memory buffer
Replies: 4
Views: 95

Re: Loading DICOM file from memory buffer

The following code fragment (from "dcmdata/tests/dctmacro.h") shows how this works in principle: /** * Read the dataset from the buffer into a dataset object. * @param dset the dataset to read into * @param buffer the buffer to read from * @param length the length of the buffer * @param ts the trans...
by J. Riesmeier
Tue, 2018-11-13, 15:24
Forum: DCMTK - General
Topic: problem with 'Howto: Add an item to a sequence' example
Replies: 2
Views: 64

Re: problem with 'Howto: Add an item to a sequence' example

What is the return value of your putAndInsertString() calls?
Did you make sure that the data dictionary is actually loaded?
by J. Riesmeier
Mon, 2018-11-12, 10:00
Forum: Other DICOM Tools
Topic: MPPS: How to send multiple SOPID's in a single N-set command
Replies: 7
Views: 469

Re: MPPS: How to send multiple SOPID's in a single N-set com

(0040,0340) SQ (Sequence with undefined length #=1) # u/l, 1 PerformedSeriesSequence (fffe,e000) na (Item with undefined length #=0) # u/l, 1 Item (fffe,e00d) na (ItemDelimitationItem) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem Your sequenc...
by J. Riesmeier
Sun, 2018-11-11, 18:43
Forum: DCMTK - Installation
Topic: Access violation while trying to apply TLS in release mode
Replies: 4
Views: 122

Re: Access violation while trying to apply TLS in release mo

Which version of the DCMTK do you use? Does it work if you try storescu and storescp with TLS options?
by J. Riesmeier
Sun, 2018-11-11, 17:09
Forum: DCMTK - General
Topic: build error on ubuntu
Replies: 3
Views: 71

Re: build error on ubuntu

I guess that your system's libxml2 library has been compiled with LIBXML_ICU_ENABLED defined. The following excerpt is from the listed libxml2 header file "/usr/include/libxml2/libxml/encoding.h": #ifdef LIBXML_ICU_ENABLED #include <unicode/ucnv.h> #endif Does the DCMTK compile if you disable the us...
by J. Riesmeier
Sun, 2018-11-11, 13:17
Forum: Other DICOM Tools
Topic: MPPS: How to send multiple SOPID's in a single N-set command
Replies: 7
Views: 469

Re: MPPS: How to send multiple SOPID's in a single N-set com

If a sequence is of Type 2 and you have no information to provide, leave the sequence empty (i.e. no item at all).