Search found 2291 matches

by J. Riesmeier
Fri, 2021-03-26, 08:56
Forum: DCMTK - General
Topic: My client-side DCMTK TLS code broke after upgrading to 3.6.4.
Replies: 2
Views: 222

Re: My client-side DCMTK TLS code broke after upgrading to 3.6.4.

Hmm, I tried the same calls with DCMTK 3.6.6 (current release), and it works. > storescp --version $dcmtk: storescp v3.6.6 2021-01-14 $ storescp: DICOM storage (C-STORE) SCP Host type: x86_64-unknown-linux-gnu Character encoding: system default (unknown) External libraries used: - ZLIB, Version 1.2....
by J. Riesmeier
Thu, 2021-03-25, 09:47
Forum: DCMTK - General
Topic: How to over-write a modified DICOM file?
Replies: 1
Views: 128

Re: How to over-write a modified DICOM file?

By default, the call of loadFile() does not load all element values into main memory, only those that are smaller than 4 kbytes.
You could either increase this value (parameter "maxReadLength" of the method) or call loadAllDataIntoMemory() before saveFile().
by J. Riesmeier
Tue, 2021-03-16, 12:16
Forum: DCMTK - General
Topic: Filtering by Manufacturer during C-MOVE
Replies: 3
Views: 247

Re: Filtering by Manufacturer during C-MOVE

I am talking about thousands of studies. Is there a way to dump the output of findscu to file which can be passed to movescu as a [dcmfile-in...] parameter? findscu's --extract option should do what you want. However, you have to remove all non-Unique Keys from the C-FIND Response datasets before f...
by J. Riesmeier
Mon, 2021-03-15, 19:54
Forum: DCMTK - General
Topic: Filtering by Manufacturer during C-MOVE
Replies: 3
Views: 247

Re: Filtering by Manufacturer during C-MOVE

You cannot filter by Manufacturer using C-MOVE (by the way, also PatientName should not work). Only the Unique Keys of the respective levels (PATIENT, STUDY, SERIES, IMAGE) are allowed, i.e. PatientID, StudyInstanceUID, SeriesInstanceUID and SOPInstanceUID. If you want to filter by Manufacturer, you...
by J. Riesmeier
Wed, 2021-03-10, 11:13
Forum: Other DICOM Tools
Topic: GSPS Object Creation from DICOM with Overlays
Replies: 1
Views: 305

Re: GSPS Object Creation from DICOM with Overlays

The Overlay Plane Module is not defined for the Segmentation IOD (in fact, it is forbidden for this IOD), so what are the "overlays" you are referring to?
by J. Riesmeier
Wed, 2021-02-24, 17:27
Forum: DCMTK - Installation
Topic: Precompiled dcmtk-tls raises glibc error on Ubuntu (different versions)
Replies: 6
Views: 380

Re: Precompiled dcmtk-tls raises glibc error on Ubuntu (different versions)

I tested it on my Ubuntu 20.04 (LTS) machine with latest updates and got the following (on SCU side): echoscu-tls: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed. Aborted (core dumped) Here is the --version output: $dcmtk: echoscu v3.6.6 2021-01-14 $ echoscu: ...
by J. Riesmeier
Thu, 2021-02-04, 15:19
Forum: DCMTK - General
Topic: Sending multiple images to a DICIM server
Replies: 10
Views: 508

Re: Sending multiple images to a DICIM server

Since the Visible Light Image IOD is a single frame IOD, i have to write each captured image to a file and send it the server. In fact, there are also VL Image IODs for video data but since your images are no videos it make no sense to use one of them (as far as I understood your use case). Do i ha...
by J. Riesmeier
Thu, 2021-02-04, 12:51
Forum: DCMTK - General
Topic: Sending multiple images to a DICIM server
Replies: 10
Views: 508

Re: Sending multiple images to a DICIM server

Our medical device is a digital colposcope that captures and stores the color images without any compressions from digital cameras. MultiframeTrueColorSecondaryCaptureImageStorage would be an option. Yes, but wouldn't one of the Visible Light Image IODs be more appropriate? But I thought that the M...
by J. Riesmeier
Wed, 2021-02-03, 20:29
Forum: DCMTK - General
Topic: Sending multiple images to a DICIM server
Replies: 10
Views: 508

Re: Sending multiple images to a DICIM server

You mean one of the Multi-frame Secondary Capture Image IODs?
What kind of acquisition modality do you have (see above)?
by J. Riesmeier
Wed, 2021-02-03, 13:41
Forum: DCMTK - General
Topic: Sending multiple images to a DICIM server
Replies: 10
Views: 508

Re: Sending multiple images to a DICIM server

For the Secondary Capture Image IOD, the decision is rather easy: this IOD only supports single frame images. May I ask: why did you choose this IOD? Usually, it only makes sense to use it if there is no other (more specific) image IOD that meets the requirements, which also includes the case that t...
by J. Riesmeier
Wed, 2021-02-03, 10:01
Forum: DCMTK - General
Topic: Sending multiple images to a DICIM server
Replies: 10
Views: 508

Re: Sending multiple images to a DICIM server

The "best way" is to base the decision on what types of images and modalities are involved. DICOM defines various image IODs (Information Object Definition) for quite different purposes. So, the choice between 1. and 2. should only be made after you've decided which IOD is (or IODs are) to be used.
by J. Riesmeier
Fri, 2021-01-29, 18:22
Forum: DCMTK - General
Topic: Not able to construct DicomImage from a single file
Replies: 9
Views: 458

Re: Not able to construct DicomImage from a single file

Thank you for the sample file. There is indeed a severe violation of the DICOM encoding rules: "DcmItem: Parse error in sequence item, found (fffe,e0dd) instead of item delimiter (fffe,e00d)". In order to process the file with dcm(j)2pnm, you should first fix the incorrect encoding by "dcmconv +rd i...
by J. Riesmeier
Fri, 2021-01-29, 15:36
Forum: DCMTK - General
Topic: Not able to construct DicomImage from a single file
Replies: 9
Views: 458

Re: Not able to construct DicomImage from a single file

Yes, please send the file by email to bugs/at/dcmtk/dot/org so that I can have a look at it.
by J. Riesmeier
Fri, 2021-01-29, 14:42
Forum: DCMTK - General
Topic: Not able to construct DicomImage from a single file
Replies: 9
Views: 458

Re: Not able to construct DicomImage from a single file

Apparently, there are various issues with your file. For example, since there is no file meta information, your file is strictly speaking no DICOM file (but a DICOM dataset stored as a file). Also there seems to be an encoding issue with one or more Sequence of Items (SQ) elements... Also, file seem...
by J. Riesmeier
Fri, 2021-01-29, 12:22
Forum: DCMTK - General
Topic: Not able to construct DicomImage from a single file
Replies: 9
Views: 458

Re: Not able to construct DicomImage from a single file

What does the command line tool dcm2pnm (with option --debug) show? If it cannot read the file either, does it work with dcmj2pnm?