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
23
votes
7 answers

Visual Studio: MSB3073 error exited with code 1

everyone. I am compiling DCMTK 3.6.1 in Visual Studio 2013. My OS is Windows 8. I also used CMake 3.2.3. I have already successfully compiled both x64 versions of debug and release for the ALL_BUILD project. However, for the INSTALL project, I can't…
noobalert
  • 855
  • 3
  • 10
  • 24
6
votes
1 answer

DICOM Worklist Returning No Match In DCMTK wlmscpfs

I have setup DCMTK's wlmscpfs on Ubuntu 18.04. The worklist files are converted from dump file to .wl files via dump2dcm. So far the worklist files have been returning successfull matches when queried from several ultrasound machines (Samsung,…
Jordan
  • 111
  • 1
  • 3
6
votes
2 answers

Black box testing a remote DICOM Q/R server

I am wondering if anyone has ever tried to work on the following issue. I need to execute a series of test on a remote DICOM Q/R server. This would allow some easy DICOM Conformance Statement checking. As an implementation detail of the test suite,…
malat
  • 12,152
  • 13
  • 89
  • 158
5
votes
2 answers

DICOM field have more value than expected

I am using the DCMTK (3.6.0) library to get the value of the (0020,0013) tag which is the image number aka the slice number of the serie. I use the following in a batch script for /f "tokens=2 delims=[]" %%a in ('@echo.…
Atnaize
  • 1,766
  • 5
  • 25
  • 54
5
votes
3 answers

Memory error while using memcpy?

I'm using dcmtk library to modify the pixel data of a multi frame compressed dicom image. So, to do that, at one stage in an for loop I take the pixel data of each decompressed frame and modify them according my wish and try to concatenate each…
the_naive
  • 2,936
  • 6
  • 39
  • 68
4
votes
1 answer

OFFIS DICOM - dcmdump v3.6.0 - (0002,0010) Transfer Syntax UID

I use OFFIS DICOM dcmdump tool to extract information from a DICOM image: http://support.dcmtk.org/docs/dcmdump.html I use dcmdump.exe -M -L +Qn to dump the DICOM information. Output looks like Dicom-File-Format # Dicom-Meta-Information-Header #…
user4420255
4
votes
2 answers

Difference between dcm2pnm, dcmj2pnm and dcml2pnm

The title says it all. What is the difference between dcm2pnm (http://support.dcmtk.org/docs/dcm2pnm.html), dcmj2pnm (http://support.dcmtk.org/docs/dcmj2pnm.html) and dcml2pnm (http://support.dcmtk.org/docs/dcml2pnm.html) commands of dcmtk toolkit…
rnso
  • 23,686
  • 25
  • 112
  • 234
4
votes
2 answers

Creating H.264/AVC dicom file with DCMTK

Does anyone have ANY information on creating a valid DICOM file with DCMTK? 1.2.840.10008.1.2.4.100 MPEG2 Main Profile Main Level 1.2.840.10008.1.2.4.102 MPEG-4 AVC/H.264 High Profile / Level 4.1 1.2.840.10008.1.2.4.103 MPEG-4 AVC/H.264…
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
4
votes
2 answers

DCMTK Character Set Unicode error

I'm using the DCMTK library under Visual Studio 2013. In the properties of the Project if I set Character Set: Use Unicode Character Set When compiling I have the error Error 1 error C2678: binary '+' : no operator found which takes a…
GiordiX
  • 261
  • 5
  • 15
3
votes
1 answer

How to encapsulate the H.264 bitstream of video file in C++

I'm trying to convert a video file (.mp4) to a Dicom file. I have succeeded to do it by storing single images (one per frame of the video) in the Dicom, but the result is a too large file, it's not good for me. Instead I want to encapsulate the…
BatSh
  • 33
  • 4
3
votes
2 answers

DCMTK movescu not working for file retrieval

I am new in DICOM and DCMTK. I was trying to retrieve dcm files from a public test server (http://www.dicomserver.co.uk) with movescu command. But it's not working. I was able run findscu successfully but that's only to get data. Here's what I have…
Nafis Abdullah Khan
  • 2,062
  • 3
  • 22
  • 39
3
votes
2 answers

Strange error initializing a QApplication before using std::stod

I'm receiving an unexpected behavior in my current project. I use the DICOM library dcmtk to read information from some dicom files, and Qt to show the images. During the information extraction, I have to convert fields of the format "<64bit…
user6364481
3
votes
1 answer

DCMTK C++ : how to get data pixels from dicom files

I'm using DCMTK for a C++ project and want to retrieve pixels from dicom files. I used thid basic example : DicomImage *image = new DicomImage("test.dcm"); if (image != NULL) { if (image->getStatus() ==…
Youssef Korchi
  • 127
  • 1
  • 4
  • 14
3
votes
2 answers

DICOM Accessing Compressed Data (DCMTK)

I'm struggling with the DCMTK 3.6.1 library and now I'm blocked in a common situation: accessing compress data pixel of a DICOM image. As the authors of the library suggest here…
GiordiX
  • 261
  • 5
  • 15
3
votes
1 answer

log4cplus: DailyRollingFileAppender config/MaxBackupIndex not working

Using a log4cplus config file for a bash script that runs a dcmtk (DICOM toolkit) operation. Logging works, and creates a new log every minute that the script is running (per "minutely" in the config file). "minutely" is for testing purposes, where…
RichR
  • 395
  • 1
  • 4
  • 14
1
2 3
9 10