Search found 2546 matches

by J. Riesmeier
Tue, 2024-11-26, 08:35
Forum: DCMTK - General
Topic: Question About Sparse WSI DICOM
Replies: 2
Views: 382

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: 518

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: 347

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: 406

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: 447

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: 648

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: 1001

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: 1001

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: 1277

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: 899

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: 14103

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 ...
by J. Riesmeier
Tue, 2024-08-06, 07:16
Forum: DCMTK - General
Topic: What replaces removed/renamed items from v3.5.4
Replies: 38
Views: 14103

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

Of course, professional consultancy is not free of charge. But now, you seem to follow the approach I proposed in one of my first postings in this thread: create a DICOMDIR based on a particular Application Profile and then append further entries based on another Application Profile by updating the ...
by J. Riesmeier
Mon, 2024-08-05, 21:22
Forum: DCMTK - General
Topic: What replaces removed/renamed items from v3.5.4
Replies: 38
Views: 14103

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

Your links do not work, probably because the GitHub project is not public.
It would be nice to have someone with experience with DICOMDIRs to consult.
You could e.g. contact Marco from the OFFIS DICOM Team, Michael from Open Connections or me (Freelancer).
by J. Riesmeier
Sat, 2024-08-03, 15:24
Forum: DCMTK - General
Topic: What replaces removed/renamed items from v3.5.4
Replies: 38
Views: 14103

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

Are there places that describe DICOMDIR usage more clearly and with cases for situations when you need to support any transfer syntax coming in? We don't have a UI for selecting the application profiles. DICOM Media Storage Application Profiles are always related to a certain use case. They are des...