Search found 2498 matches

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: 3
Views: 34

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: 3
Views: 34

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

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

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

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

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

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

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: 9
Views: 1163

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: 9
Views: 1163

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 ...
by J. Riesmeier
Mon, 2024-02-05, 16:41
Forum: DCMTK - General
Topic: how to remove all frames from dicom
Replies: 3
Views: 315

Re: how to remove all frames from dicom

If there is no requirement that the result would still be a valid DICOM dataset/file, you could remove the Pixel Data (7fe0,0010) element by calling something like this on the main DICOM dataset: dataset->findAndDeleteElement(DCM_PixelData); However, unless you access the Pixel Data element (7fe0,00...
by J. Riesmeier
Sat, 2024-02-03, 16:01
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 9
Views: 1163

Re: DCMTK Latest version update issue

Since DcmtkWrapper seems to be part of your program/app (not of the DCMTK): Did you start with a clean development environment, e.g. by calling "make clean" or the like?
by J. Riesmeier
Sat, 2024-02-03, 15:59
Forum: DCMTK - General
Topic: how to remove all frames from dicom
Replies: 3
Views: 315

Re: how to remove all frames from dicom

Unfortunately, your question is not clear. Do you want to remove the Pixel Data element or to set its length to 0 (i.e. clear its value)? What would be the value of Rows and Columns then? What about other data elements that refer to the image frames (pixel data)? In both cases, this would make the D...
by J. Riesmeier
Fri, 2024-01-26, 10:07
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 12742

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

Can you expalin how is transfer syntax related? I thought I already explained this in my previous posting: for uncompressed pixel data (e.g. Explicit VR Little Endian Transfer Syntax), the maximum element length is limited to about 4.2 GB (due to the size of the element length field, which is 32-bi...
by J. Riesmeier
Fri, 2024-01-12, 14:35
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 12742

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

In addition to what Marco wrote: You could also sponsor development if this would be an option (see also this blog posting).