Hi George,
please ask a new questiona nd make clear what you want to do, don't revive a 5 year old thread fo rsomething at least partly unrelated.
Michael
Search found 2051 matches
- Thu, 2024-04-25, 08:28
- Forum: DCMTK - General
- Topic: How to change transfer syntax?
- Replies: 8
- Views: 5249
- Thu, 2024-04-25, 08:25
- Forum: DCMTK - General
- Topic: OpenSSL version
- Replies: 10
- Views: 163
Re: OpenSSL version
Hi, you can open CMakeCache.txt in the build directory to check value CMake has found for all the OpenSSL library settings (including paths). In my CMakeCache.txt file for example, the following values are found when I use my systems (here: Ubuntus) default installed openssl package: //Path to a lib...
- Thu, 2024-04-04, 07:15
- Forum: DCMTK - General
- Topic: OpenSSL version
- Replies: 10
- Views: 163
Re: OpenSSL version
Hi Rick,
are you using a current version (commit) of DCMTK? I think Marco from the team updated OpenSSL support just recently (in February) to support versions 3.1 and 3.2, see this commit.
Best regards,
Michael
are you using a current version (commit) of DCMTK? I think Marco from the team updated OpenSSL support just recently (in February) to support versions 3.1 and 3.2, see this commit.
Best regards,
Michael
- Fri, 2024-03-08, 09:07
- Forum: DCMTK - General
- Topic: lossless
- Replies: 3
- Views: 239
Re: lossless
Dear George, For a a different problem, please open a different thread please (next time). Regarding the file: Again it looks like you have not done any analysis yourself and did not look at what I answered earlier. The given file is *not* decompressed but compressed with JPEG 2000 (easy to spot by ...
- Wed, 2024-03-06, 17:31
- Forum: DCMTK - General
- Topic: lossless
- Replies: 3
- Views: 239
Re: lossless
img2dcm does not apply any compression or decompression, it uses the input pixel data mostly as is.
DicomImage only uses decompression if the related decompression codecs have been registered. See dcm2pnm.cc for an example.
BR Michael
DicomImage only uses decompression if the related decompression codecs have been registered. See dcm2pnm.cc for an example.
BR Michael
- Wed, 2024-03-06, 15:33
- Forum: DCMTK - General
- Topic: jpeg200 not identified
- Replies: 1
- Views: 180
Re: jpeg200 not identified
dataset->findAndGetString(DCM_TransferSyntaxUID, transferSyntax).good(); The transfer syntax is not part of the Dataset but is part of the metaheader. I did not check the rest of the code carefully. Use instead: DcmMetaInfo *dataset = fileFormat.getMetaInfo(); George, please also put some effort in...
- Tue, 2024-03-05, 21:47
- Forum: DCMTK - General
- Topic: PhotometricInterpretation lost
- Replies: 6
- Views: 290
Re: PhotometricInterpretation lost
I guess this is the same questions as in this thread (answered there), please don't cross-post your questions.
Michael
Michael
- Tue, 2024-03-05, 21:46
- Forum: DCMTK - General
- Topic: unable to restore photo quality
- Replies: 2
- Views: 200
Re: unable to restore photo quality
It depends on the input image parameters. E.g. if Bits Stored is > 8 in the input image, and you force the image to be rendered into RGB data with 8 bit per channel (BMP), you loose information. There can also be other relevant parameters. Also there may be some typical "gotchas" that one ...
- Thu, 2024-02-29, 11:04
- Forum: DCMTK - General
- Topic: PhotometricInterpretation lost
- Replies: 6
- Views: 290
Re: PhotometricInterpretation lost
Hi George,
what do you mean, what is your expectation on how Photometric Intepretation should be handled and what happened instead? What "all other tags"?
BR Michael
what do you mean, what is your expectation on how Photometric Intepretation should be handled and what happened instead? What "all other tags"?
BR Michael
- Fri, 2024-01-12, 11:14
- Forum: DCMTK - General
- Topic: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
- Replies: 5
- Views: 8707
Re: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
Can't tell.... ![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Try DCMTK 3.6.8 to make sure it's not something we have fixed -- if its a DCMTK issue.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Try DCMTK 3.6.8 to make sure it's not something we have fixed -- if its a DCMTK issue.
- Thu, 2024-01-11, 13:39
- Forum: DCMTK - General
- Topic: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
- Replies: 5
- Views: 8707
Re: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
Hi, I don't know of any problems, maybe you can did not completely recompile? You could check in the debugger to find out what exactly causes the crash. 3.6.7 has originally been tested on MacOS X 10.15 (amd64|x86_64) using Apple Clang 11.0.0 and GNU gcc 9.2.0. Note that we released 3.6.8 a few days...
- Thu, 2024-01-04, 13:10
- Forum: DCMTK - General
- Topic: dicom creation
- Replies: 1
- Views: 11770
Re: dicom creation
Hi,
I only understand half of the questions. To see how to create a DICOM file from regular images like BMP, see the tool (and its source code) img2dcm.
You can dump the content of a file using the tool dcmdump.
BR,
Michael
I only understand half of the questions. To see how to create a DICOM file from regular images like BMP, see the tool (and its source code) img2dcm.
You can dump the content of a file using the tool dcmdump.
BR,
Michael
- Thu, 2024-01-04, 13:09
- Forum: DCMTK - General
- Topic: MDFCONEN_H
- Replies: 1
- Views: 10061
Re: MDFCONEN_H
It is used (only) by dcmodify, so you can check out the link libraries used by dcmodify.
Best,
Michael
Best,
Michael
- Sat, 2023-12-23, 18:12
- Forum: DCMTK - General
- Topic: File Size
- Replies: 5
- Views: 25213
Re: File Size
The img2dcm tool can create DICOM files from BMP images. The source code demonstrates how to use the library for that.
Best,
Michael
Best,
Michael
- Tue, 2023-12-19, 10:15
- Forum: DCMTK - General
- Topic: File Size
- Replies: 5
- Views: 25213
Re: File Size
I think BMP supports some compression extensions, maybe your BMP file(s) have been compressed. There is no way to make the pixel data in DICOM smaller than what you have using uncompressed transfer syntaxes. You can try ZIP compression (dcmconv +td <input> <output>), or RLE compression (dcmcrle <inp...