Search found 2549 matches

by J. Riesmeier
Wed, 2025-01-15, 10:02
Forum: DCMTK - General
Topic: Issue with CT instance and
Replies: 5
Views: 110

Re: Issue with CT instance and

What else should I check to understand why the code using the DCMTK can't accept the CT Image Storage in the specified transfer syntax? You should check the list of Presentation Contexts that are accepted by your SCP. Receiving compressed DICOM images over the network has nothing to do with registe...
by J. Riesmeier
Sun, 2025-01-12, 17:43
Forum: DCMTK - Installation
Topic: Upgrading from dcmtk354
Replies: 5
Views: 648

Re: Upgrading from dcmtk354

You could also use a tool to create a "ABI/API compatibility report", e.g. as described here: https://lvc.github.io/abi-compliance-checker/
by J. Riesmeier
Wed, 2024-12-18, 15:25
Forum: DCMTK - General
Topic: Receive multiple dicom studies
Replies: 2
Views: 508

Re: Receive multiple dicom studies

By default, storescp runs in single process mode: multi-process options: --single-process single process mode (default) --fork fork child process for each association Using the --fork option, you can change this. dcmrecv does not support handling multiple associations at a time since the underlying ...
by J. Riesmeier
Tue, 2024-11-26, 08:35
Forum: DCMTK - General
Topic: Question About Sparse WSI DICOM
Replies: 2
Views: 1015

Re: Question About Sparse WSI DICOM

It seems that you are still missing many details of the technical specification, i.e. you have to read the DICOM Standard on how WSI objects are encoded, in particular, in TILED_SPARSE mode. According to the DICOM WSI specification(https://dicom.nema.org/dicom/dicomwsi/): This is not the specificati...
by J. Riesmeier
Thu, 2024-11-21, 19:33
Forum: DCMTK - General
Topic: echoscu configuration file?
Replies: 2
Views: 1224

Re: echoscu configuration file?

The echoscu command line tool does not allow for specifying the list of proposed Presentation Contexts. Instead, when you use option -pts the list of Presentation Contexts is created from the hard-coded list of Transfer Syntaxes that can be found in the source file echoscu.cc starting with line 67 ....
by J. Riesmeier
Wed, 2024-11-20, 18:58
Forum: DCMTK - General
Topic: Batch converting DICOM to images organized by series
Replies: 1
Views: 904

Re: Batch converting DICOM to images organized by series

Using a batch or shell script that creates the directories and calls the DCMTK tool dcmj2pnm (now known as dcm2img) appropriately should work.
by J. Riesmeier
Thu, 2024-11-14, 18:51
Forum: DCMTK - General
Topic: Worklist UTF-8 to Latin1 (ISO IR 100) issue
Replies: 1
Views: 967

Re: Worklist UTF-8 to Latin1 (ISO IR 100) issue

I don't think that wlmscpfs does any character set conversion, so if your worklist data is encoded with UTF-8 but you tell wlmscpfs to return ISO Latin-1 to the requester... this cannot work, of course. See man page for details. Did you already try with option -csk (--keep-char-set)? And, please mak...
by J. Riesmeier
Sat, 2024-11-09, 10:23
Forum: DCMTK - General
Topic: Dicom to hvec and back losslessly
Replies: 1
Views: 948

Re: Dicom to hvec and back losslessly

If you know what you are doing, you could use e.g. dump2dcm or xml2dcm to convert a textual dump / XML dump and referenced HEVC data (I guess you mean this video encoding) to binary DICOM format, and "dcmdump --write-pixel" to convert it back. Unfortunately, dcm2xml does not yet support ex...
by J. Riesmeier
Wed, 2024-10-30, 17:25
Forum: DCMTK - General
Topic: SR ValueType TABLE
Replies: 2
Views: 1245

Re: SR ValueType TABLE

Re. 1: DCMTK's data dictionary defines all required Attributes for the SR Content Item Value Type "TABLE". However, the dcmsr module does not yet implement support for it, as you can read in DCMTK issue #955 . The TABLE type is quite complex and so far the priority has not been that high. ...
by J. Riesmeier
Wed, 2024-10-23, 13:38
Forum: DCMTK - General
Topic: Handling of incorrect HighBit value
Replies: 3
Views: 1656

Re: Handling of incorrect HighBit value

You could e.g. check the DICOM Standard to see if there are restrictions for these Attributes regarding the underlying IOD (see PS3.3) or regarding the (compressed) Transfer Syntax (see PS3.5), hoping that the creator of the image has followed these restrictions. And, of course, you could check the ...
by J. Riesmeier
Fri, 2024-10-18, 15:13
Forum: DCMTK - General
Topic: Handling of incorrect HighBit value
Replies: 3
Views: 1656

Re: Handling of incorrect HighBit value

However, we are unsure whether the value that is incorrect here is indeed HighBit, or is it maybe BitsStored that should be edited to match HighBit + 1. I do understand your doubts. Maybe, you can derive the correct value(s) from additional information in the dataset. However, since the dataset in ...
by J. Riesmeier
Tue, 2024-09-24, 15:15
Forum: DCMTK - General
Topic: the problem of writing logfile of wlmscpfs.exe
Replies: 2
Views: 1904

Re: the problem of writing logfile of wlmscpfs.exe

Maybe, you want to try adding the process ID to the name of the logger file (using the substitution variable "${pid}"). See documentation of logger.cfg for details. P.S.: I agree that creating a new process is ugly, but this is how it works on Windows. The original implementation was done ...
by J. Riesmeier
Wed, 2024-09-18, 12:28
Forum: DCMTK - General
Topic: use dcmodify while maintaining 'ISO_IR 100' character set
Replies: 1
Views: 1411

Re: use dcmodify while maintaining 'ISO_IR 100' character set

The dcmodify tool (as all DCMTK command line tools) takes the character string as you specify it. So, if you want to store a value in Latin-1 (ISO 8859-1) encoding, you have to provide the correct byte sequence. Alternatively, you could change the encoding of the DICOM dataset to UTF-8 (ISO_IR 192) ...
by J. Riesmeier
Tue, 2024-08-06, 16:56
Forum: DCMTK - General
Topic: What replaces removed/renamed items from v3.5.4
Replies: 38
Views: 17534

Re: What replaces removed/renamed items from v3.5.4

The underlying code of the DcmDicomDir class directly works on the specified DICOMDIR file, i.e. the data structures are managed in memory but are written to file in the destructor of this class. Just let me know if having a written DICOMDIR is required for updateDicomDir to work (code seems to say ...