Search found 2067 matches

by Michael Onken
Tue, 2023-12-19, 10:15
Forum: DCMTK - General
Topic: File Size
Replies: 5
Views: 25918

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

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

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

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

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

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

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

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

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

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...
by Michael Onken
Wed, 2023-11-22, 09:38
Forum: Other DICOM Tools
Topic: move data from one pacs to another
Replies: 1
Views: 15823

Re: move data from one pacs to another

Hi,

you would need some extra scripting, probably a combination of findscu and movescu would do.

Best,
Michael
by Michael Onken
Thu, 2023-11-16, 08:14
Forum: DCMTK - General
Topic: dump2dcm
Replies: 6
Views: 20730

Re: dump2dcm

Hi Justin, To.your second call, append the desired name of the output file: dump2dcm "C:\Program Files\dcmtk-3.6.7-win64-dynamic\OFFIS\wklist1.dump" > "C:\Program Files\dcmtk-3.6.7-win64-dynamic\1.wl" Also, make sure you have permissions to create files in C:\Program Files\dcmtk-...
by Michael Onken
Wed, 2023-11-15, 23:03
Forum: DCMTK - General
Topic: dump2dcm
Replies: 6
Views: 20730

Re: dump2dcm

Hi Justin,

Just sounds as if the working directory you are in is not writable maybe?

Otherwise share your full commandline call.

Best,
Michael
by Michael Onken
Fri, 2023-11-10, 08:50
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 11609

Re: How to override incorrectly labeled VR values

Hi Spencer, it should not matter if the attribute is stored with data type UN in the file as long DCMTK knows it and fix the VR by looking it up in the dictionary when loading it into memory. Maybe something with the dictionary is wrong, or you haven't loaded one. Let's try to find out what happens....
by Michael Onken
Wed, 2023-10-04, 06:59
Forum: DCMTK - General
Topic: possible memory leak in dulfsm
Replies: 1
Views: 8673

Re: possible memory leak in dulfsm

Hi,

you are right, this doesn't look good. I created an issue on the issue tracker.

Best regards,
Michael