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
2
votes
1 answer

How can I update all UIDs of a DICOM study while maintaining its structure?

I have a DICOM study with 3 series and want to refresh its UIDs (StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID) to do some tests. All the data is in a single directory so it's not possible to tell which DICOM belongs to which series. What I…
Daigo
  • 815
  • 1
  • 5
  • 16
2
votes
1 answer

DCMTK reading pixelBuffer or image attributes (rows, columns) returns 0

I successfully compiled DCMTK and used in the Xcode project on macOS 10.15. I can read/decompress JPEG images, but I am not able to read some DICOM files. Using DicomImage *di = new DicomImage(dfile, xfer , CIF_UsePartialAccessToPixelData, 0,1);…
Jared
  • 130
  • 1
  • 7
2
votes
1 answer

In Powershell is there a convenient way of dumping all dicom element that belong to group

I am working in powerwshell and I am wondering if there is a way that I can dump all tags that belong to a group. For instance, if I know there is a Private Creator tag at (0029,0010) is there something in the tool kit that will dump all tags that…
franklinCat
  • 103
  • 7
2
votes
1 answer

How to use DCMTK binaries to send Modality Worklist to modalities without receiving Query from them?

I am using DCMTK storescp.exe to receive images from a CR modality and then process/save them in my DB. Is it possible to use other DCMTK binary to manually send the PatientName and PatientId to CR modality before the patient goes there? I have read…
niyo66
  • 49
  • 5
2
votes
1 answer

How to use `file | grep ` in a find command?

As simple and naïve as it sounds, I'm struggling with the find and file command. I use -exec file because the specific files I need to obtain do not have their extension name in the filename, which eliminates the possiblity of the -name option in…
florence-y
  • 751
  • 3
  • 8
  • 18
2
votes
2 answers

Why can PACS return 0000,0092 values through c-move-rsp

I use dcmtk3.6.3 send c-move command to pacs. And dcmtk receives the c-move-rsp which get an error with "(0000, 0902)". I know the reason for the error,but I don't know Why can PACS return 0000,0092 values through c-move-rsp? As far as I…
chenzongxi
  • 25
  • 4
2
votes
1 answer

DCMTK Understand the "DIMSE No valid Presentation Context ID" error

I'm currently developing a simple application for querying/retrieving data on a PACS. I use DCMTK for this purpose, and a DCM4CHEE PACS as test server. My goal is to implement simple C-FIND queries, and a C-MOVE retrieving system (coupled with a…
B.Oudot
  • 112
  • 1
  • 1
  • 9
2
votes
1 answer

GDCM C-Move issue with studies containing documents/reports

I don't think I"m going to get the answer I want but I figured I would ask before giving up with GDCM. I've built a tool using the GDCM library to do some Query/Retrieve on our local PACS. During testing, everything worked fine, but now that I've…
2
votes
1 answer

Dcmtk dump, reduce time by not loading everything

I'm working with DICOM images and use DCMTK to make some process. My problem here is that I have to retrieve only certain tags of batch of images. But the process take too long. I'm using dcmdump -M -L +P '0010,0020' +P '0010,0010 -M do not load…
Atnaize
  • 1,766
  • 5
  • 25
  • 54
2
votes
1 answer

Incorrect received value callingPresentationAddress in dcmqrscp under Windows

TL;DR: When I run dcmqrscp under Windows 7 x64 (official current 3.6.2 binaries), the server does not recognize IP of incoming echoscu clients. Instead the value of callingPresentationAddress is set to www or name_of_localhost, depending on the…
Bartłomiej
  • 1,068
  • 1
  • 14
  • 23
2
votes
2 answers

Called AE Title Not Recognised error in echoscu

I was trying to test the connectivity of dcmqrscp. I have used the following command for starting dcmqrscp. dcmqrscp --config C:\Dicom\config\dcmqrscp.cfg Please find the below config file that I used. NetworkTCPPort = 11113 MaxPDUSize =…
Mittal
  • 105
  • 3
  • 12
2
votes
2 answers

findAndGetString() in DCMTK returns null for the tag

I am developing a quick DICOM viewer using DCMTK library and I am following the example provided in this link. The buffer from the API always returns null for any tag ID, eg: DCM_PatientName. But the findAndGetOFString() API works fine but returns…
jxgn
  • 741
  • 2
  • 15
  • 36
2
votes
1 answer

How to load a dicom image using DCMTK 3.6.1

I am trying to load a monochrome dicom image file using DCMTK with the example code provided in the docs http://support.dcmtk.org/docs/mod_dcmimgle.html The file I am trying to compile is dcmtest.cxx which contains the following code: #include…
pdiffley
  • 603
  • 9
  • 18
2
votes
3 answers

How to specified multiple attributes in the findscu command

All, Forgive me I am a newbie in the DICOM world. I tried to learn the DCMTk tools to talk with PACS server. But didn't found much tutorial or sample in the internet to know enough about it .Currently I just have the offical document to read. I just…
Joe.wang
  • 11,537
  • 25
  • 103
  • 180
2
votes
1 answer

Create DicomImage from scratch using Dcmtk

In order to save CT data I would like to create a DicomImage from scratch, similar like this can be done using DRTImageIOD. However, DicomImage does not have a default constructor. From the documentation it looks like the constructor can only load…
c_k
  • 1,746
  • 1
  • 20
  • 35
1
2
3
9 10