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

Difficulty using 'findscu' then 'movescu' then repeat iteratively over multiple accession numbers

I have written a code that is used to pull DICOM files from my internal server, but I am having difficulty running it repeatedly for different accession numbers. Summary of the workflow: Given a certain accession number, use findscu to get…
gkuling
  • 13
  • 4
1
vote
0 answers

Using C++ with popen( "findscu -v" ) cannot get the output message in ubuntu18.04

dcmtk3.6.3 I used C++ to code the function of popen("findscu -v", "r"). I want to get the output message of findscu to save in file. But it only print to the console, i cannot save to file. //--verbose verbose mode, print processing details FILE *…
1
vote
1 answer

DCMTK library with qt in mac

i have installed DCMTK through brew and i have configured it on qt adding the path directed to the library. When i try to open a DICOM image and run the project, i have these 2 errors: Undefined symbols for architecture x86_64: …
1
vote
1 answer

How to use DCMTK in C++ project on macos

I'm working on a small C++ project needs to extract information from DICOM TAGs. I'm using VSCode to manage C++ code and CMake to build. DCMTK installed via Macport: port install dcmtk. How to add DCMTK as library to my project? Is there any step by…
user3153765
  • 373
  • 4
  • 14
1
vote
2 answers

DCMTK movescu error: response suceed but no file received

I am new in DICOM and DCMTK. I was trying to retrieve dcm files from a private PACS server(172.18.1.1) with movescu command in Windows platform. The incoming and outgoing message were normal but no data was received in the specified directory.The…
fenley
  • 11
  • 2
1
vote
1 answer

What is the matching VOI LUT function value for EFV_Default in DCMTK library?

I'm using Dcmtk library and I used the getVoiLutFunction() and this function return three different enum outputs (EFV_Linear, EFV_Sigmoid, EFV_Default), and for my current CT image I get the the EFV_Default value. I looked into the standard…
ZSmain
  • 360
  • 1
  • 6
  • 20
1
vote
1 answer

DICOM fail to use c-move : Move Request Failed: 0006:0317 Peer aborted Association (or never connected)

I am running the following command with the find-SCU tool from the OFFIS DICOM toolkit (dcmtk): movescu -k 0010,0020="PAT004" ip_adress 104 -aec serverAET -aet myAET --study -ll debug -od data And I keep getting the error. The association seem to…
fi4720
  • 21
  • 1
  • 3
1
vote
1 answer

How can I install Dcmtk in Debug and Release version at the same time

Hi guys ~ I am doing some work about testing my program that using DCMTK to load Dicom File and other stuff . However I find that my program could only work in debug mode . When I change to release mode ,that occured error below DCMTK…
WtDMaO
  • 13
  • 2
1
vote
2 answers

How to properly convert dicom image to opencv

I have problems converting .dcm image from dcmtk format to opencv. My code: DicomImage dcmImage(in_file.c_str()); int depth = dcmImage.getDepth(); std::cout << "bit-depth: " << depth << "\n"; //this outputs 10 Uint8* imgData =…
user7428910
  • 61
  • 1
  • 7
1
vote
1 answer

Dicom image not converting with dcmtk

The image http://www.barre.nom.fr/medical/samples/files/MR-MONO2-16-head.gz on http://www.barre.nom.fr/medical/samples/is not converting to other image formats. I tried following commands (after extracting the dicom file): dcm2pnm --write-png…
rnso
  • 23,686
  • 25
  • 112
  • 234
1
vote
6 answers

Linker error LNK2019 when using DCMTK with Visual Studio

This is not a new question but the solutions haven't worked for me. I want to read dicom files using C++. I have 32-bit Windows PC with VS 2013 community edition. This post and other answers therein suggested using DCMTK. I installed DCMTK (using…
Ruchir
  • 845
  • 2
  • 10
  • 24
1
vote
1 answer

Dcmj2pnm tojpeg patient name missing

I am new in Dcmj2pnm . i have succesfully converted a Dcm file to jpg through commandline in Win 7 using C:\dcmj2pnm.exe D:\test.dcm D:\test.jpg +oj +Wi 1 But it misses the patient name and organization name in dcm file to jpeg. Could you…
sqlps
  • 31
  • 1
  • 3
1
vote
0 answers

Compiling DCMTK for Android get CMake Error

I am use cmake DCMTK for Android OS : Win7 64bit DCMTK : dcmtk-3.6.0 CMake : cmake-3.7.0-rc3 NDK : android-ndk-r9d I followed the dcmtk wiki http://support.dcmtk.org/redmine/projects/dcmtk/wiki/Howto_CompileAndroid get CMake Error:…
lo sun
  • 11
  • 2
1
vote
1 answer

How to read dicom pixels in c++

I want to parse DICOM files in order to do some pixel processing. I tried DCMTK libraries but it's not working for me. I want something very simple, like a lightweight cross platform library in C++, since I just want read DICOM files. Any…
Youssef Korchi
  • 127
  • 1
  • 4
  • 14
1
vote
2 answers

DCMTK: Does N-DELETE delete the file from PACS?

I want to delete the DICOM file stored on the PACS (SCP). My role will be SCU. Can I do this with the N-DELETE command using DCMTK?
Joe.wang
  • 11,537
  • 25
  • 103
  • 180