Search found 1447 matches

by Marco Eichelberg
Tue, 2024-02-20, 13:57
Forum: DCMTK - General
Topic: error handling with storescu
Replies: 3
Views: 5650

Re: error handling with storescu

when your saying running storescu with sudo is a bad idea , what is the reason for that ? A tool should, in general, always run with the least required privileges. storescu does not need root access rights. The only possible reason might be that it runs as a user that cannot access the DICOM files ...
by Marco Eichelberg
Mon, 2024-02-19, 21:38
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 11
Views: 2938

Re: DCMTK Latest version update issue

You are not linking all required libraries. Your DCMTK has been compiled to include zlib and libwrap support, so you need to link against libwrap (-lwrap) and zlib (-lz).
by Marco Eichelberg
Mon, 2024-02-19, 21:35
Forum: DCMTK - General
Topic: premission
Replies: 1
Views: 574

Re: premission

This is not something that can be solved in DCMTK. The writeBMP() method simply uses fopen() to create a file. Such a file always has the owner corresponding to the process creating the file, and access rights 0666 (read-write permission for owner, group and others) as modified by the process umask,...
by Marco Eichelberg
Fri, 2024-02-16, 15:53
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 11
Views: 2938

Re: DCMTK Latest version update issue

Your error description is not detailed enough to provide any help. Which platform (OS, compiler, version) are you using, which commands are you calling, what are the error messages printed?
by Marco Eichelberg
Wed, 2024-01-31, 12:41
Forum: DCMTK - Installation
Topic: Error building DCMTK with Apple M1 chip
Replies: 2
Views: 757

Re: Error building DCMTK with Apple M1 chip

The missing symbols are definitely in libtiff. Check if libtiff is really installed, and whether you do have a arm64 version installed. Check the CMake log files do determine the precise call to the linked, and whether the right libtiff file is referenced there. We have a nightly build of DCMTK on M...
by Marco Eichelberg
Wed, 2024-01-31, 12:36
Forum: DCMTK - General
Topic: Large dicom files
Replies: 2
Views: 777

Re: Large dicom files

Don't set the photometric interpretation manually.
by Marco Eichelberg
Mon, 2024-01-22, 12:37
Forum: Announcements
Topic: DCMTK Forum updated to latest phpBB release
Replies: 0
Views: 3308

DCMTK Forum updated to latest phpBB release

The DCMTK Forum has been updated to the latest phpBB release 3.3.11 today.
In the case that anyone should experience unexpected problems caused by the update, please let us know.
by Marco Eichelberg
Tue, 2024-01-16, 12:43
Forum: DCMTK - General
Topic: Creating a multi-frame image out of several jpgs
Replies: 4
Views: 12415

Re: Creating a multi-frame image out of several jpgs

That does not sound normal. img2dcm should produce a file that is not much larger than the combined size of the JPEG files, plus a few kbytes max. The DICOM file will still be in compressed format. If you decompress it (e.g. by using dcmdjpeg), the size will of course increase. If you manually conve...
by Marco Eichelberg
Fri, 2024-01-12, 14:11
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 25189

Re: Difference in ImageStatus after processing dicom file using dcmtk library

We usually receive pull requests via the DCMTK mirror on GitHub https://github.com/DCMTK/dcmtk Note, however, that support for the uncompressed encapsulated transfer syntax requires modifications rather deeply in the DICOM parser. This is not a trivial task, and unless you have multiple years of exp...
by Marco Eichelberg
Fri, 2024-01-12, 14:08
Forum: DCMTK - General
Topic: Creating a multi-frame image out of several jpgs
Replies: 4
Views: 12415

Re: Creating a multi-frame image out of several jpgs

img2dcm has the ability to take multiple images and write them into a DICOM Multiframe Secondary Capture Image file.
You need to use the --new-sc command line option and can then simply specify multiple input files on the command line.
by Marco Eichelberg
Fri, 2024-01-12, 11:28
Forum: DCMTK - General
Topic: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
Replies: 5
Views: 9124

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

Otherwise, compile a debug version and execute it in a debugger. The debugger will normally show exactly the place where the crash happens (unless something like a stack corruption happens).
by Marco Eichelberg
Wed, 2024-01-10, 15:09
Forum: DCMTK - General
Topic: Bad tag conversion with dicom
Replies: 1
Views: 18375

Re: Bad tag conversion with dicom

If I understand the question correctly, you want to convert a color image into a monochrome image. That requires calculation of the gray values using the RGB to gray conversion formula, the computation of a new PixelData array, and the adaptation of a few attributes such as Samples per Pixel, Photom...
by Marco Eichelberg
Wed, 2024-01-10, 15:05
Forum: DCMTK - General
Topic: Test Data Repository
Replies: 1
Views: 6608

Re: Test Data Repository

If I may say so, your client does not know what he is requesting 8) This is not a list of SOP classes, but a list of transfer syntaxes (i.e. encodings). Some of these have never been used by anyone and long since removed from the DICOM standard (e.g. most of the retired JPEG processes), and some are...
by Marco Eichelberg
Wed, 2024-01-10, 15:01
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 16
Views: 25189

Re: Difference in ImageStatus after processing dicom file using dcmtk library

No. It is on the "to do list", but not yet implemented (and not likely to get done soon).
by Marco Eichelberg
Sun, 2023-12-31, 11:20
Forum: Announcements
Topic: DCMTK 3.6.8 available for public release
Replies: 0
Views: 74620

DCMTK 3.6.8 available for public release

ANNOUNCEMENT Version 3.6.8 of the OFFIS DCMTK (DICOM toolkit) software is now available for public release. This release includes the following main changes over the previous version 3.6.7: DCMTK 3.6.8 builds correctly on older and up-to-date versions of GNU gcc (4.8.5 to 12.3.0) Clang (3.4.2 to 15....