Search found 1444 matches

by Marco Eichelberg
Fri, 2024-02-16, 15:53
Forum: DCMTK - General
Topic: DCMTK Latest version update issue
Replies: 10
Views: 1484

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

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

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

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

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

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

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

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

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

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

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

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....
by Marco Eichelberg
Sat, 2023-12-30, 12:56
Forum: DCMTK - General
Topic: Questions on DCM File TAG Modification and LNK2019 Error
Replies: 7
Views: 9097

Re: Questions on DCM File TAG Modification and LNK2019 Error

This is what DCMTK does by default. If you use EWM_dontUpdateMeta, you have to insert this tag in the metaheader dataset yourself, e.g.

Code: Select all

fileformat.getMetaInfo()->putAndInsertString(DCM_ImplementationVersionName, OFFIS_DTK_IMPLEMENTATION_VERSION_NAME, OFTrue);
by Marco Eichelberg
Sat, 2023-12-30, 12:51
Forum: DCMTK - General
Topic: How to convert dicom images with differnt samples per pixel
Replies: 1
Views: 4444

Re: How to convert dicom images with differnt samples per pixel

A PALETTE COLOR image only has one sample per pixel. That value points to an index table with R, G, and B values. Effectively this is a space-efficient way to store color images that only use a small number of colors. If you want to convert an existing RGB image to PALETTE COLOR, you have to reduce ...
by Marco Eichelberg
Sun, 2023-12-24, 18:23
Forum: DCMTK - General
Topic: Questions on DCM File TAG Modification and LNK2019 Error
Replies: 7
Views: 9097

Re: Questions on DCM File TAG Modification and LNK2019 Error

I set the include path for libiconv in CMake to dcmtk-3.6.7-win32-support-MT-iconv-msvc-17.0\libiconv-1.16, but even then I can't compile it? The problem is not the include path, but the libraries, since this is a linker error and not a compiler error. For libiconv, you need to link your code again...