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
1
vote
1 answer

Dicom Toolkit (DCMTK) - How to get Window Centre and Width

I am currently using DCMTK in C++. I am quite new to this toolkit but, as I understand it, I should be able to read the window centre and width for normalisation purposes. I have a DicomImage DCM_image object with my Dicom data. I read the values to…
user3126802
  • 419
  • 8
  • 19
1
vote
1 answer

Overwrite an image/pixel data in the dicom file using dcmtk

I use dcmtk to read a dicom file and extract the image into a .tiff format. After doing some image processing I have an image which I would like to save in the source dicom file.That is overwriting the old image/pixel data with my new ones, while…
Abhishek V. Pai
  • 241
  • 1
  • 10
  • 27
1
vote
4 answers

Convert OFString to string or char in DCMTK

I am trying to extract the instance number from a DICOM image using dcmtk. The code is shown below: DcmFileFormat fileformat; OFCondition status = fileformat.loadFile(src_path); if (status.good()) { OFString instanceNumber=0; …
Abhishek V. Pai
  • 241
  • 1
  • 10
  • 27
1
vote
1 answer

How to get the DCMTK library working in Qt Creator?

I am trying to get DCMTK working in Qt Creator, but I got stuck at step 5. Please let me know if the other steps are wrong. Tools: Qt Creator: Qt Creator 3.5.1 (opensource), based on Qt 5.5.1 (MSVC 2013, 32 bit) Visual Studio: Microsoft Visual…
Engo
  • 899
  • 3
  • 19
  • 49
1
vote
1 answer

ubuntu14.04 build android4.4 modem error

when I build modem file it said: make: [build/ELINK82_TB_KK_HSPA/DEFAULT/bin/dep/codegen_dep/nvram_auto_gen.det] Error 2 I user gcc 4.4 and g++ 4.4 build android 4.4 modem, If anybody can help me, thanks!
1
vote
1 answer

/usr/bin/ld: cannot find -ldcmimage

Am trying to compile dcmbeam using make on Centos 7 -x64, however I am getting these errors: make c++ -g -O -I/usr/include/libxml2 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE…
SAAD3000
  • 11
  • 2
1
vote
0 answers

How to compile dcmtk Android for x86

I followed the dcmtk wiki:http://support.dcmtk.org/redmine/projects/dcmtk/wiki/Howto_CompileAndroid But it only support arm,the ANDROID_ABI list is only arm's.Is there any way to support X86 cross-compilation?
panda baby
  • 11
  • 2
1
vote
1 answer

Static linking DCMTK library

I use DCMTK in my application and for compilation use cmake file. cmake finds all libraries (at least headers, because in compiles source files to .o files) the only problem is that during linking it tries to find dynamic libraries for DCMTK. I…
1
vote
1 answer

How to get series Description from Findscu in dcmtk

Now i am working with the DCMTK 3.6 for communicating between Pacs and client side. Here I am using FINDSCU for getting list from pacs server. I am using following bat file code to get the list of series . findscu.exe -aet ACME1 -aec ACME_WRITE…
Karthick Rajan
  • 394
  • 2
  • 17
1
vote
1 answer

Compress DICOM file with DCMTK (C++)

damn i'm very frustated... Following the example in this page http://support.dcmtk.org/docs/mod_dcmjpeg.html, I have written a C++ program to decompress a JPEG-compressed DICOM image file Now I want to do the vice versa, from uncompressed to…
GiordiX
  • 261
  • 5
  • 15
1
vote
1 answer

Redefined error occured when mixed to use dcmtk-3.6.0 and log4cplus-1.1.2

I use dcmtk-3.6.0 to handle DICOM images, and use the log4cplus-1.1.2 as the logging library. The g++ compiler complained for the redefined error, because dcmtk-3.6.0 also used log4cplus with previous version as logging…
sfzhang
  • 669
  • 9
  • 18
0
votes
1 answer

How to get the Study Instance UID (0020,000d) from DOS and display it in a memo with Delphi/Delphi 5 correctly? (DICOM)

i'm currently trying to implement a procedure called "GetDosOutput" in Delphi 5/ Delphi 10. In this procedure I want to get the DOS output from a worklist query (via DCMTK toolbox) and display it in a memo. The problem is that just the study…
Robert
  • 3
  • 3
0
votes
1 answer

Count number of responses to a findscu query

What is the best way to get the number of responses of a findscu query? For now I am thinking of exporting the responses to an .xml file and count the tags. Is there a better way?
0
votes
1 answer

DCMTK storescp listener for many AE Titles

I want to use DCMTK's storescp (or perhaps dcmrecv) to receive DICOM files. I want to give each potential sender a different AE_Title that they should send to. Then I want to be able to identify the sender because I will see which AE_Title the…
Tullhead
  • 565
  • 2
  • 7
  • 17
0
votes
0 answers

DCMTK Setting and reading the AE Source Tag

When exporting a DICOM file, I set these two tags in exactly the same way: putAndInsertString(metaInfo, DCM_ImplementationVersionName, pDD->Imp_Version_Name); putAndInsertString(metaInfo, DCM_SourceApplicationEntityTitle, pDD->Source_AE_Title);…
Tullhead
  • 565
  • 2
  • 7
  • 17