Search found 2504 matches

by J. Riesmeier
Fri, 2023-11-10, 09:30
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 3554

Re: How to override incorrectly labeled VR values

I've recently come across a PET series for which the VR for a date time (DT) attribute is was set to unknown (UN) by the scanner that acquired it. [...] Can anyone propose a way in which I can override the VR value for this field prior to retrieve its value so that it can be interpreted correctly? ...
by J. Riesmeier
Wed, 2023-11-01, 12:09
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 16512

Re: Difference in ImageStatus after processing dicom file using dcmtk library

Alternatively, the DicomImage Class also allows for passing an optional "fcount" parameter to the constructor, which limits the number of frames that are processed at the same time.
Also see this Howto on how to "access multi-frame images without loading complete pixel data".
by J. Riesmeier
Mon, 2023-10-16, 10:30
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 16512

Re: Difference in ImageStatus after processing dicom file using dcmtk library

I haven't downloaded the file, but in order to process JPEG-compressed DICOM images with the DicomImage Class, you have to register support for the JPEG decoders in your application. The following excerpt is from the source code of DCMTK's sample application dcm2pnm : // register JPEG decompression ...
by J. Riesmeier
Fri, 2023-10-06, 06:45
Forum: DCMTK - General
Topic: wlmscpfs - match i don't understand
Replies: 7
Views: 3651

Re: wlmscpfs - match i don't understand

You are welcome, Marcelo.

By the way, the next DICOM training course in English starts on Monday: https://www.jriesmeier.com/dicom-traini ... ober-2023/

Regards,
Jörg
by J. Riesmeier
Thu, 2023-10-05, 17:43
Forum: DCMTK - General
Topic: wlmscpfs - match i don't understand
Replies: 7
Views: 3651

Re: wlmscpfs - match i don't understand

Based on your explanation, I imagine the correct way would be to provide the completed StudyInstanceUID Correct. Details can be found in DICOM part 4 (PS3.4). can this UID be automatically generated by wlmscpfs? How can I generate this UID to provide in the response? No, wlmscpfs expects the .wl fi...
by J. Riesmeier
Thu, 2023-10-05, 16:54
Forum: DCMTK - General
Topic: wlmscpfs - match i don't understand
Replies: 7
Views: 3651

Re: wlmscpfs - match i don't understand

I note that when the modality does not receive a "StudyInstanceUID" from the worklist, the modality itself generates a UID, so my goal is to never send the UID and let the device do it, am I on the right track? If you are on the server side (SCP), you must provide a non-empty value for th...
by J. Riesmeier
Thu, 2023-10-05, 07:29
Forum: DCMTK - General
Topic: wlmscpfs - match i don't understand
Replies: 7
Views: 3651

Re: wlmscpfs - match i don't understand

The Study Instance UID (0020,000d) Attribute is a required Return Key, i.e. the Worklist Management SCP has to provide a value if requested by the SCU. Therefore, the wlmscpfs tool by default checks that this data element is present with a value. If you want to disable this check, you could start wl...
by J. Riesmeier
Wed, 2023-08-30, 17:08
Forum: DCMTK - General
Topic: StoreSCU continuous run
Replies: 1
Views: 3396

Re: StoreSCU continuous run

No, storescu does not have such a function.
by J. Riesmeier
Mon, 2023-08-28, 16:15
Forum: DCMTK - General
Topic: storescu issue
Replies: 5
Views: 5001

Re: storescu issue

My comment on this: option --propose-jpeg8 and --propose-lossless are mutually exclusive, the rightmost appearance wins, i.e. in this case --propose-lossless. Remove this --propose-lossless from the storescu call and it should work. By the way, enabling the --debug log output is usually also quite h...
by J. Riesmeier
Thu, 2023-07-13, 08:48
Forum: DCMTK - General
Topic: Segfault between DCMTK and pytorch lite
Replies: 5
Views: 5047

Re: Segfault between DCMTK and pytorch lite

I cannot see any connection with the DCMTK. You should probably start the debugger to find the reason for this segmentation fault.
by J. Riesmeier
Thu, 2023-07-13, 08:44
Forum: DCMTK - General
Topic: RF DICOM file failed to get compressed by dcmcjp2k
Replies: 4
Views: 3928

Re: RF DICOM file failed to get compressed by dcmcjp2k

Yes, the encoding is a severe violation of the DICOM standard, which cannot be handled automatically. If the DICOM dataset is really supposed to be encoded in Encapsulated Uncompressed​ Explicit VR Little Endian Transfer Syntax, this DCMTK issue might be of interest to you. Maybe, "dcm4che-2.0&...
by J. Riesmeier
Wed, 2023-07-12, 17:01
Forum: DCMTK - General
Topic: RF DICOM file failed to get compressed by dcmcjp2k
Replies: 4
Views: 3928

Re: RF DICOM file failed to get compressed by dcmcjp2k

Apparently, the Transfer Syntax UID in the file meta information header is incorrect: For a DICOM dataset that is encoded with Explicit VR Little Endian, the Pixel Data element is not stored in encapsulated format (i.e. with a sequence of pixel items), but in uncompressed format. See DICOM PS3.5 for...
by J. Riesmeier
Fri, 2023-06-23, 20:02
Forum: DCMTK - General
Topic: Feeding worklist items to wlmscpfs
Replies: 1
Views: 4855

Re: Feeding worklist items to wlmscpfs

Storing C-FIND response datasets as files is not defined by the DICOM standard, i.e. there is no Modality Worklist Storage SOP Class. This is just the way DCMTK's Modality Worklist SCP has been designed. Since the tool uses a Private SOP Class for this purpose and stores the datasets as DICOM files,...
by J. Riesmeier
Wed, 2023-06-21, 16:10
Forum: DCMTK - General
Topic: storescp output on Ubuntu
Replies: 3
Views: 3988

Re: storescp output on Ubuntu

I would suggest to write the log output to file, e.g. using a logger configuration as provided in "etc/filelog.cfg". storescp (and other DCMTK tools) will load und use this configuration file with option --log-config.
by J. Riesmeier
Wed, 2023-06-21, 09:30
Forum: DCMTK - General
Topic: storescp output on Ubuntu
Replies: 3
Views: 3988

Re: storescp output on Ubuntu

Unfortunately, you did not tell us how you call storescp from the application. This is certainly different on Windows and Linux, and probably not really related to the DCMTK.