Search found 1280 matches

by Marco Eichelberg
Mon, 2021-02-01, 14:00
Forum: DCMTK - General
Topic: N-Action module - affected sop instance value issue
Replies: 1
Views: 285

Re: N-Action module - affected sop instance value issue

Sorry for the late reply. ".840.10008.1.20.1.1" is not a valid UID, and, presuming that you refer to Storage Commitment, "1.2.840.10008.1.20.1.1" would be the correct SOP Instance UID. I would suggest that you take a network capture with Wireshark and check whether the incorrect UID is sent by the S...
by Marco Eichelberg
Mon, 2021-02-01, 13:47
Forum: DCMTK - General
Topic: bug in DcmFileFormat::writeJson
Replies: 2
Views: 249

Re: bug in DcmFileFormat::writeJson

Thank you for the bug report. I can confirm that I was able to reproduce it. I have no idea how this managed to slip through - I am fairly certain that I had fixed that error before.
by Marco Eichelberg
Mon, 2021-02-01, 13:45
Forum: DCMTK - General
Topic: Not able to load a single DICOM file
Replies: 10
Views: 539

Re: Not able to load a single DICOM file

The problem here is that the file is not a valid DICOM file - the encoding of the sequences is not correct. You can use the following call to fix the file: dcmconv --replace-wrong-delim --ignore-parse-errors <infile> <outfile> If you want to include that functionality into your own code,dcmconv maps...
by Marco Eichelberg
Mon, 2021-02-01, 13:38
Forum: DCMTK - Installation
Topic: Compiling using visual studio 2019
Replies: 3
Views: 712

Re: Compiling using visual studio 2019

Our team will publish updated support libraries for VS 2019 once all parts of the DCMTK 3.6.6 release are done. In the meantime, it might be worthwhile to try the support libraries for VS 2017, which might work as well.
by Marco Eichelberg
Fri, 2021-01-29, 09:01
Forum: DCMTK - Installation
Topic: Problem compiling dcmtk-3.6.5 with openSSL 1.1.1i
Replies: 2
Views: 289

Re: Problem compiling dcmtk-3.6.5 with openSSL 1.1.1i

Hi Markus, I would guess that there is another installation of OpenSSL somewhere in your search path. WITH_OPENSSLINC ensures that the path where your new OpenSSL installation is located will be included into the search paths for header files and libraries, but if another version is found earlier th...
by Marco Eichelberg
Sun, 2020-12-20, 16:19
Forum: DCMPRINT
Topic: tcpsrv_e and tcpprt_e
Replies: 2
Views: 761

Re: tcpsrv_e and tcpprt_e

There are manual pages for both applications. tcpsrv is the print server. It accepts incoming print requests in DICOM format and converts these into PostScript files that can be spooled to a PostScript printer. tcpprt is a print client. It can read one or more DICOM images and send them to the print...
by Marco Eichelberg
Sun, 2020-12-20, 16:15
Forum: DCMTK - General
Topic: List and retrieve studies
Replies: 1
Views: 347

Re: List and retrieve studies

findscu and either getscu or movescu is what you are looking for. You can use findscu to download a list of studies (including the Study Instance UID, which acts as the primary key), and then use one of the other tools to perform the download, study by study.
by Marco Eichelberg
Thu, 2020-10-15, 08:14
Forum: DCMJP2K
Topic: image looks black after converting to jpeg2klossy format
Replies: 2
Views: 849

Re: image looks black after converting to jpeg2klossy format

Actually, after compression, the image should appear completely white, since the color model is MONOCHROME1 and the pixel data, after decompression, consists of zeroes. The problem is caused by the ModalityLUTSequence attribute in the original image, which contains incorrect values. Here's the relev...
by Marco Eichelberg
Tue, 2020-09-15, 08:44
Forum: DCMTK - General
Topic: Sometimes FIPS TLS Error Message
Replies: 1
Views: 379

Re: Sometimes FIPS TLS Error Message

The error messages "drbg stuck" and "fips selftest failed" (which are generated by OpenSSL and only printed by DCMTK) seem to indicate that there is a problem with your FIPS module. DRBG is the Deterministic Random Bit Generator, and if that does not respond, then the self-test of the FIPS module wi...
by Marco Eichelberg
Thu, 2020-08-27, 12:09
Forum: DCMTK - General
Topic: DicomImage() constructor is NOT thread safe
Replies: 1
Views: 412

Re: DicomImage() constructor is NOT thread safe

The problem is that you pass the same DcmDataset object to all constructors, which is not supported. DcmDataset loads larger attribute values from the file in a lazy "on demand" pattern when they are accessed first. Probably all of your constructors trigger this behaviour in parallel. It might help ...
by Marco Eichelberg
Thu, 2020-08-27, 12:01
Forum: DCMTK - General
Topic: In Android getting crash when calling sendFINDRequest
Replies: 4
Views: 731

Re: In Android getting crash when calling sendFINDRequest

That sounds like heap memory corruption. Unfortunately, such errors are hard to debug. Check if memory debuggers such as valgrind, dmalloc or the various -fsanitize options in gcc or clang can be used on your platform.
by Marco Eichelberg
Thu, 2020-08-27, 11:55
Forum: DCMTK - General
Topic: Making an SCPPool for worklist threads
Replies: 1
Views: 392

Re: Making an SCPPool for worklist threads

There is no restriction in the SCPPool class that would prevent you from implementing a Worklist SCP. The worklist server in DCMTK is simply much older than the SCPPool class and uses a different mechanism to support multiple clients: I creates a separate process for each incoming network connection...
by Marco Eichelberg
Mon, 2020-08-10, 11:02
Forum: DCMTK - General
Topic: On the problem that dicmtk can't read drtstructuresetiod data
Replies: 15
Views: 1572

Re: On the problem that dicmtk can't read drtstructuresetiod data

That may explain the problem. When dcmEnableAutomaticInputDataCorrection is set to OFTrue, then certain trivial data corrections such as removing unneeded padding characters at the end of a field are performed, and in the case of UID elements, all space characters (which should never occur in a UID)...
by Marco Eichelberg
Mon, 2020-08-10, 09:48
Forum: DCMPRINT
Topic: Print SCU and Print SCP
Replies: 8
Views: 1220

Re: Print SCU and Print SCP

The solution is much simpler: You can deactivate the loading of the calibration file "printer.dat" by removing (or commenting out) the line Characteristics = printer.dat in the configuration file: ; Characteristics = printer.dat Alternatively, a sample printer.dat file is provided in the download pa...
by Marco Eichelberg
Wed, 2020-07-29, 07:33
Forum: DCMTK - General
Topic: DCMTK installation problem
Replies: 1
Views: 377

Re: DCMTK installation problem

The error about "unicode/ucnv.h" means that in the CMake step, compilation with ICU was enabled, but during compilation, ICU cannot be found. Disable ICU in CMake, and try again. The error messages about ofstd.lib are follow-up errors, these will disappear as soon as compilation of the ofstd library...