Search found 2503 matches

by J. Riesmeier
Mon, 2024-04-15, 17:37
Forum: DCMTK - General
Topic: How to save a single frame dicom
Replies: 3
Views: 99

Re: How to save a single frame dicom

Short comment from my side: Using the DicomImage class for extracting frames from a multi-frame image without losing information is certainly not the way to go. This is because the main purpose of this class is rendering images for display.
by J. Riesmeier
Mon, 2024-04-15, 13:44
Forum: DCMTK - General
Topic: UID's generated by DCMTK are DICOM-compliant ?
Replies: 6
Views: 180

Re: UID's generated by DCMTK are DICOM-compliant ?

Nevertheless, we will apply for our own org root at DIN.
Another option would be to apply for an "OID" (same concept as UID) at BfArM.
by J. Riesmeier
Mon, 2024-03-25, 20:44
Forum: DCMTK - General
Topic: UID's generated by DCMTK are DICOM-compliant ?
Replies: 6
Views: 180

Re: UID's generated by DCMTK are DICOM-compliant ?

I think I know this company. At least I had contact with a PACS company that claimed exactly the same thing. However, their statement is not correct (I even talked to the head of that company to clarify this). You can use the standard UID generation routine provided by the DCMTK, i.e. with the organ...
by J. Riesmeier
Tue, 2024-03-19, 13:24
Forum: DCMTK - General
Topic: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (even i
Replies: 7
Views: 216

Re: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (ev

The main difference between your program and dcmdump is probably that dcmdump uses the print() method while you are using the findAndGetXXX() methods.
That means, you should probably start with calling the print() method in your program and see whether VR and Value are printed correctly.
by J. Riesmeier
Tue, 2024-03-19, 10:33
Forum: DCMTK - General
Topic: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (even i
Replies: 7
Views: 216

Re: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (ev

The following question is more general about the private tags, I read that it is important that the private tags are relocatable to avoid conflict with other private tags: how can I make a relocatable private tags? Should I simply check in my dataset if another tag with the same (gggg, eeee) value ...
by J. Riesmeier
Tue, 2024-03-19, 10:24
Forum: DCMTK - General
Topic: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (even i
Replies: 7
Views: 216

Re: Problem in parsing the string value of a private tag with dcmtk when the transfer syntax is LittleEndianImplicit (ev

I used your textual dump and created a binary DICOM files from it (using dump2dcm). Then I created a text file "private.dic" with the following content: (0051,"PIURTUS",31) LO UltrasoundSystem 1 PrivateTag Finally, I specified this private data dictionary as an additional file to...
by J. Riesmeier
Wed, 2024-03-06, 12:06
Forum: DCMTK - General
Topic: file size got reduced
Replies: 1
Views: 85

Re: file size got reduced

Large element values like Pixel Data are only loaded on demand, i.e. if you write to the same filename, the Pixel Data has not been loaded yet from the input file and is, therefore, stored with 0 byte length to the output file. One solution is to use different filenames for input and output file. An...
by J. Riesmeier
Thu, 2024-02-22, 10:04
Forum: DCMTK - General
Topic: unable to read a file
Replies: 8
Views: 266

Re: unable to read a file

I am sorry, but this very short explanation does not help (and it also makes no sense to me to "convert this tag in dicom"). Please describe in detail what you want to achieve. Otherwise no one will be able to help you in this regard.
by J. Riesmeier
Thu, 2024-02-22, 09:42
Forum: DCMTK - General
Topic: unable to read a file
Replies: 8
Views: 266

Re: unable to read a file

I am sorry, but I still don't know what you want to do and what you mean by "how to convert the SOP class". In order to help you, you should describe your problem in more detail, i.e. what do you want to achieve, what have you tried, what does not work, etc.
by J. Riesmeier
Wed, 2024-02-21, 23:54
Forum: DCMTK - General
Topic: unable to read a file
Replies: 8
Views: 266

Re: unable to read a file

The second file is not an image:

Code: Select all

> dcmdump +P SOPClassUID Anonymous.MR._.15.1.2017.06.28.09.41.02.294.59320538.dcm 
(0008,0016) UI =MRSpectroscopyStorage                   #  28, 1 SOPClassUID
by J. Riesmeier
Wed, 2024-02-21, 23:32
Forum: DCMTK - General
Topic: unable to read a file
Replies: 8
Views: 266

Re: unable to read a file

Short answer: The public and freely available DCMTK does not support decompression of JPEG 2000-compressed DICOM images unless you use an extension such as DCMJP2K.
by J. Riesmeier
Thu, 2024-02-15, 18:29
Forum: DCMTK - General
Topic: 32 bit unsigned overflow in dcmjpeg/libsrc/djcodecd.cc
Replies: 2
Views: 132

Re: 32 bit unsigned overflow in dcmjpeg/libsrc/djcodecd.cc

Thank you for your report. In fact, this issue has been fixed only recently (i.e. after the release of DCMTK 3.6.8 ). See this commit: https://git.dcmtk.org/?p=dcmtk.git;a=co ... 4a6cce06dd
by J. Riesmeier
Thu, 2024-02-15, 10:23
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 10
Views: 1410

Re: DCMTK Latest version update issue

Everything you need to know is described in the INSTALL file. How to compile the DCMTK with CMake can be found in the "BUILDING" section.
by J. Riesmeier
Wed, 2024-02-14, 11:07
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 10
Views: 1410

Re: DCMTK Latest version update issue

Of course, there are changes in the dcmdata module (including the dcmdata library). because i download the zip file from this site "https://dicom.offis.de/download/dcmtk/dcmtk368/" inside this there is no lib folder available, I can't saw that. so, i use older version lib folder. We never ...