Search found 2504 matches
- Wed, 2024-02-14, 11:07
- Forum: DCMTK - General
- Topic: DCMTK Latest version update issue
- Replies: 10
- Views: 1577
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 ...
- Mon, 2024-02-05, 16:41
- Forum: DCMTK - General
- Topic: how to remove all frames from dicom
- Replies: 3
- Views: 377
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...
- Sat, 2024-02-03, 16:01
- Forum: DCMTK - General
- Topic: DCMTK Latest version update issue
- Replies: 10
- Views: 1577
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?
- Sat, 2024-02-03, 15:59
- Forum: DCMTK - General
- Topic: how to remove all frames from dicom
- Replies: 3
- Views: 377
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...
- Fri, 2024-01-26, 10:07
- Forum: DCMTK - General
- Topic: Difference in ImageStatus after processing dicom file using dcmtk library
- Replies: 16
- Views: 17538
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...
- Fri, 2024-01-12, 14:35
- Forum: DCMTK - General
- Topic: Difference in ImageStatus after processing dicom file using dcmtk library
- Replies: 16
- Views: 17538
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).
- Thu, 2024-01-11, 18:18
- Forum: DCMTK - General
- Topic: How to convert a dicom file from RGB format into MONOCHROME2?
- Replies: 4
- Views: 8156
Re: How to convert a dicom file from RGB format into MONOCHROME2?
Yes, if all frames are actually selected for being loaded/processed (see DicomImage constructor).Does DicomImage::createMonochromeImage() convert all the frames from RGB to MONOCHROME2?
- Fri, 2024-01-05, 10:10
- Forum: DCMTK - General
- Topic: When Decompressing DICOM get "Tag not found" error
- Replies: 2
- Views: 7800
Re: When Decompressing DICOM get "Tag not found" error
Unfortunately, the log output of dcmdjpeg is not very useful in this case, but after looking at the dump output of the DICOM file, it seems that the mandatory Photometric Interpretation (0028,0004) attribute is missing in the main dataset. Also using dcmj2pnm gives you more details (e.g. another dat...
- Sat, 2023-12-16, 12:05
- Forum: DCMTK - General
- Topic: dcm2pdf usage question
- Replies: 2
- Views: 7968
Re: dcm2pdf usage question
As the documentation (man page) says: "The dcm2pdf utility reads a DICOM file of the Encapsulated PDF Storage SOP Class (dcmfile-in), extracts the embedded PDF document and writes it to an output file (pdffile-out)." That means, this tool does not support what you expect. If you want to re...
- Thu, 2023-12-14, 09:15
- Forum: DCMTK - General
- Topic: memory leak while encoding
- Replies: 12
- Views: 114806
Re: memory leak while encoding
Calling "delete filePtr.getDataset();" is certainly not a good idea, as the ownership of the internally managed dataset pointer is still with the DcmFileFormat instance. Instead, you should either call "delete filePtr.getAndRemoveDataset();" or "filePtr.clear();". By th...
- Mon, 2023-12-04, 19:09
- Forum: DCMTK - General
- Topic: Conversion 12 bit grayscale dicom image to 16 bit grayscale PNG
- Replies: 0
- Views: 84596
Conversion 12 bit grayscale dicom image to 16 bit grayscale PNG
Given the thread, it would be nice to understand these questions? Hijacking such an old thread is usually seen as bad behavior, so I created a new thread. - How do save a frame of bmp or png of 8/16/24/32 bits size formats? I see here that he used getOutputData but how did he save it after that. Th...
- Mon, 2023-12-04, 13:33
- Forum: DCMTK - General
- Topic: dcmmkdir with anonymized images
- Replies: 8
- Views: 30571
Re: dcmmkdir with anonymized images
No, the "\" is treated differently, as it is the DICOM delimiter used for storing multiple values in a data element. The DICOMDIR allows for having up to 7 nested sub-directories plus the filename, e.g. "DICOM\PATIENT_A\STUDY_1\SERIES_1\IMG00001".
- Mon, 2023-12-04, 13:07
- Forum: DCMTK - General
- Topic: dcmmkdir with anonymized images
- Replies: 8
- Views: 30571
Re: dcmmkdir with anonymized images
1- Why are both number of characters in the folder name and the filename counted?! 2- What are the invalid characters? Re. 1: This is defined by the DICOM standard in order to be compliant with all supported file systems and operating systems. Re. 2: Valid characters are upper case letters (A-Z), d...
- Mon, 2023-12-04, 10:43
- Forum: DCMTK - General
- Topic: dcmmkdir with anonymized images
- Replies: 8
- Views: 30571
Re: dcmmkdir with anonymized images
No, from reading the log output, I would expect to have a non-empty DICOMDIR with information on a single PATIENT, STUDY, SERIES and IMAGE.DICOMDIR is created now but it seems to be empty. Is the behaviour of dcmmkdir OK according to the log?
- Fri, 2023-12-01, 22:12
- Forum: DCMTK - General
- Topic: Storescu bug?
- Replies: 1
- Views: 7502
Re: Storescu bug?
Yes, in principle, it could be the limited stack size of the storescu.exe file, because all command line arguments are stored in a list on the stack. Personally, I've never used any of the DCMTK command line tools on Windows with so many files, but on my Linux machine there is no problem with even m...