Search found 2067 matches

by Michael Onken
Thu, 2024-05-02, 20:48
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 11
Views: 1734

Re: OpenSSL version

Great :wink:
by Michael Onken
Thu, 2024-04-25, 08:28
Forum: DCMTK - General
Topic: How to change transfer syntax?
Replies: 8
Views: 6453

Re: How to change transfer syntax?

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
by Michael Onken
Thu, 2024-04-25, 08:25
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 11
Views: 1734

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...
by Michael Onken
Thu, 2024-04-04, 07:15
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 11
Views: 1734

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
by Michael Onken
Fri, 2024-03-08, 09:07
Forum: DCMTK - General
Topic: lossless
Replies: 3
Views: 1108

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 ...
by Michael Onken
Wed, 2024-03-06, 17:31
Forum: DCMTK - General
Topic: lossless
Replies: 3
Views: 1108

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
by Michael Onken
Wed, 2024-03-06, 15:33
Forum: DCMTK - General
Topic: jpeg200 not identified
Replies: 1
Views: 971

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...
by Michael Onken
Tue, 2024-03-05, 21:47
Forum: DCMTK - General
Topic: PhotometricInterpretation lost
Replies: 6
Views: 1308

Re: PhotometricInterpretation lost

I guess this is the same questions as in this thread (answered there), please don't cross-post your questions.
Michael
by Michael Onken
Tue, 2024-03-05, 21:46
Forum: DCMTK - General
Topic: unable to restore photo quality
Replies: 2
Views: 890

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 ...
by Michael Onken
Thu, 2024-02-29, 11:04
Forum: DCMTK - General
Topic: PhotometricInterpretation lost
Replies: 6
Views: 1308

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
by Michael Onken
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: 9711

Re: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS

Can't tell.... :roll:
Try DCMTK 3.6.8 to make sure it's not something we have fixed -- if its a DCMTK issue.
by Michael Onken
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: 9711

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...
by Michael Onken
Thu, 2024-01-04, 13:10
Forum: DCMTK - General
Topic: dicom creation
Replies: 1
Views: 12450

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
by Michael Onken
Thu, 2024-01-04, 13:09
Forum: DCMTK - General
Topic: MDFCONEN_H
Replies: 1
Views: 10742

Re: MDFCONEN_H

It is used (only) by dcmodify, so you can check out the link libraries used by dcmodify.

Best,
Michael
by Michael Onken
Sat, 2023-12-23, 18:12
Forum: DCMTK - General
Topic: File Size
Replies: 5
Views: 25960

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