Questions tagged [dcmtk]

DCMTK is a collection of libraries and applications implementing large parts the DICOM standard.

DCMTK is a collection of open source libraries and applications implementing large parts the DICOM standard.

It includes software for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers.

DCMTK is is written in a mixture of ANSI C and C++. and can be compiled under Windows and a wide range of Unix operating systems including Linux, Solaris, HP-UX, IRIX, FreeBSD, OpenBSD and MacOS X.

Related tags:

,

143 questions
0
votes
1 answer

Is it possible to let DCMTK's writeJson() write tag names?

I am using the DCMTK library in my program, which among others writes a JSON. With the DcmDataset::writeJson() function I can put the whole header in the JSON in one call, which is very handy, but the tags are listed by offset not name. This is the…
alle_meije
  • 2,424
  • 1
  • 19
  • 40
0
votes
0 answers

DCMTK_ENABLE_CHARSET_CONVERSION can not be enabled

i'm trying to build dcmtk-3.6.6 using Cmake Gui https://github.com/DCMTK/dcmtk to convert a dcm file to Json, i faced the same problem in this link https://forum.dcmtk.org/viewtopic.php?t=4769 i can't enable the option…
0
votes
1 answer

Echoscu Failed: Data Dictionary Missing

I am running Orthanc Server using docker-compose file and attempting to connect to DICOM Server using TLS connection.More details here https://groups.google.com/g/orthanc-users/c/6gNCOVwTc6c. I downloaded the source code from github for dcmtk 3.6.6…
0
votes
0 answers

Sending dicom files using dcmtk c-store returning JPEG lossless error

Trying to send dicom files using the dcmtk scu command but its returning the error below: sendMessage: unable to convert dataset from 'JPEG Lossless, Non-hierarchical, Process 14' transfer syntax to 'Little Endian Explicit How can I solve this?…
0
votes
1 answer

Unable to use dcmtk commands like dcmodify and dcmscale

System: M1 MacBook air I created a duplicate terminal that runs with rosetta 2 for installing dcmtk since it's not available for apple chips yet. In the duplicate terminal, I was able to install dcmtk successfully. On running dcmodify, I get dyld:…
0
votes
2 answers

Multiframe Ultrasound DICOM file creation

I am new at DICOM and DCMTK. I have a set of BITMAP Ultrasound data that I would like to save as a lossless DICOM file. After loadding the data in a queue frame_queue and setting all the mandatory DICOM necessary parameters for Ultrasound Multiframe…
firehelm
  • 49
  • 5
0
votes
0 answers

Add DCMTK library and compile for Xcode 12.4+

I'm trying to install and add the DCMTK library to my Xcode project. The library can be found here https://dicom.offis.de/training.php.en I ran the command to install via home-brew brew install dcmtk but I'm not sure how to add the library and…
Joseph Astrahan
  • 8,659
  • 12
  • 83
  • 154
0
votes
1 answer

Trying to build dcmtk with openssl

I'm trying to build dcmtk version 3.6.5 using the latest cmake GUI. I can build things fine if I don't include openssl support. When trying to build with openssl support, I get the following message: Selecting Windows SDK version 10.0.19041.0 to…
user3407352
  • 105
  • 6
0
votes
1 answer

DCMTK change logger filename

I am very confused about the DCMTK > 3.6.0 logging mechanism oflog/log4cplus I simply need my code to specify the logname for dcmtk to log into. How is that done ? Thanks!
kofifus
  • 17,260
  • 17
  • 99
  • 173
0
votes
2 answers

fatal error: dcmtk/config/osconfig.h: No such file or directory

I am desperately trying, as a CMake newbie to get DCMTK to do stuff. The example I am trying to compile and run is the following: #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmdata/dcistrmf.h" int main(int…
Murnawful
  • 135
  • 1
  • 12
0
votes
1 answer

DCMTK library says tag not found while dcmdump displays it

My program, for a Ubuntu 20 system using DCMTK 3.6.4-2, reads a dicom file (series) and gets the scale slopes from the corresponding tags, testing first whether they exist: tmpfile.loadFile ( filename ); tmpdata = tmpfile.getDataset(); tmpdata ->…
alle_meije
  • 2,424
  • 1
  • 19
  • 40
0
votes
1 answer

Cannot point to DCMTKConfig.cmake

Using Windows 10, I want to configure the source of OpenSceneGraph via CMake to make it build-ready for Visual Studio. I also need some DCMTK functionalities, hence I want to link it. OpenSceneGraph provides an attempt to link DCMTK in its…
Leon Willens
  • 356
  • 1
  • 16
0
votes
1 answer

How to change the default network socket timeout in DCMTK?

The default network socket timeout in DCMTK is 60 seconds. How to change it to 30? I could see the code written as below, but could not change it to 30: extern DCMTK_DCMNET_EXPORT OFGlobal dcmSocketReceiveTimeout; /* default: 60 */
Dipesh Pokhrel
  • 386
  • 5
  • 20
0
votes
2 answers

Is it possible to capture the output of a CLI command (exec) to a PHP script variable?

I have an external library with a bunch of executables (DCMTK). Normally, those can be executed on the CLI, with output sometimes showing in the terminal. I want to use some of those in PHP scripts, and I was able to do that with one. Essentials…
SScotti
  • 2,158
  • 4
  • 23
  • 41
0
votes
1 answer

Error compiling DCMTK from source in MinGW-w64 GCC-8.1.0 "Error: 'FlsAlloc' was not declared in this scope"

I am trying to compile DCMTK from the source through MinGW32-w64 and Cmake. I am getting these errors after mingw32-make command: In file included from C:/dcmtk/oflog/include/dcmtk/oflog/internal/internal.h:59, from…
rvimieiro
  • 1,043
  • 1
  • 10
  • 17