Search found 2072 matches

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

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

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

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

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

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
by Michael Onken
Tue, 2023-12-19, 10:15
Forum: DCMTK - General
Topic: File Size
Replies: 5
Views: 26221

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...
by Michael Onken
Mon, 2023-12-18, 13:01
Forum: DCMTK - General
Topic: File Size
Replies: 5
Views: 26221

Re: File Size

Hi George, george_z@dckr-build:~/dicom$ ll -h converted_cre_img.dcm -rw-rw-r-- 1 george_z george_z 8.2M Dec 18 11:14 converted_cre_img.dcm george_z@dckr-build:~/dicom$ ll -h cre_img.dcm -rw-rw-r-- 1 george_z george_z 8.2M Dec 17 08:49 cre_img.dcm This makes sense to me. What are you expecting to see...
by Michael Onken
Mon, 2023-12-18, 11:38
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

Hi,

give me some time to check this again using the file you provided. Note that the posting of user "hana" was probably automatically generated (as well as other responses by the user) and thus we removed it. The answer did not making sense at all.

BR Michael
by Michael Onken
Wed, 2023-12-13, 10:59
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

Ok, here is my result of further investigation: I tried on Windows (Win 10, VS 2022, 64 bit build) and Linux (Ubuntu 23, gcc 13.2.0, 64 bit build ). On Linux the leak checker still reports, that no memory leaks are possible . I value this very high since valgrind is 100% reliable in my experience an...
by Michael Onken
Wed, 2023-12-13, 09:56
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

I'll check and let you know (sorry, I realized my last code snippet did not compress at all and I know make sure error status is checked).
by Michael Onken
Sun, 2023-12-10, 12:15
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

Please also post a full compiling code example that demonstrates the issue.

Thanks!
by Michael Onken
Fri, 2023-12-08, 10:13
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

P.S: I checked now on Windows and at least in Task Manager i could not see rising memory consumption (converted 100 times on Windows).
by Michael Onken
Fri, 2023-12-08, 09:49
Forum: DCMTK - General
Topic: memory leak while encoding
Replies: 12
Views: 126335

Re: memory leak while encoding

Hi, can you use a newer version of DCMTK (3.6.7, at least, of preferably current source code from https://github.com/DCMTK/dcmtk/)? I used a leak checker (on Linux, though) on your slightly modified source code (using current source of DCMTK). It performs the compression 10 times on a Enhanced XA wi...
by Michael Onken
Mon, 2023-11-27, 10:23
Forum: DCMTK - FAQ
Topic: FAQ #51: How can I register and write to the forum?
Replies: 0
Views: 120570

FAQ #51: How can I register and write to the forum?

For registration, send email with desired user name to the OFFIS DICOM team.
by Michael Onken
Wed, 2023-11-22, 09:45
Forum: DCMTK - General
Topic: Sending an IOCM DICOM object
Replies: 1
Views: 18225

Re: Sending an IOCM DICOM object

Hi, first of all: your understanding is correct. It should be possible to create such a file using dump2dcm. If you can get hands on a Key Object Selection (KOS) file then you could use dcmdump and use that as a starting point. Googling I can see that here at the Weasis page there is a such a KOS fi...