Questions tagged [dicom]

Digital Imaging and Communications in Medicine (DICOM) standard defines formats for storing and communicating medical images. Non-programming specific questions about DICOM are off-topic for Stack Overflow. For questions related to a specific tool-kit, use a more specific tag in addition to, or instead of, this tag.

Digital Imaging and Communications in Medicine (DICOM) standard defines formats for storing and communicating medical images. It's used to enable interoperability between applications from multiple manufacturers which store or communicate medical images.

Further details can be found at the DICOM Wikipedia page or DICOM Homepage.

1158 questions
7
votes
1 answer

CFind fails on Study level - SOP Class not supported or No accepted presentation context found for abstract syntax

The application tries to do a CFind on patient level, get the studies, for a study, get the series and in the end, the images. The code is working when querying two different PACS implementation but fails on a third on study level. The part of the…
Hans
  • 269
  • 4
  • 14
7
votes
4 answers

Understanding DICOM image attributes to get axial/coronal/sagittal cuts

I have to write a program in c# able to parse DICOM and display axial, coronal and sagittal cuts. Seems like it's a lot of work, but I have to do it so ! Big first step would be to understand DICOM files I guess. I've been reading this tutorial…
Charrette
  • 690
  • 1
  • 11
  • 29
7
votes
3 answers

DICOM Deflated Explicit VR Little Endian (1.2.840.10008.1.2.1.99)

How is the data in this transfer syntax organized? A description from the standard: This Transfer Syntax applies to the encoding of the entire DICOM Data Set. The entire Data Set is first encoded according to the rules specified in Section A.2. …
martinez314
  • 12,162
  • 5
  • 36
  • 63
7
votes
4 answers

JPEG Lossless in DICOM

In the DICOM spec one of the Transfer Syntaxes is 1.2.840.10008.1.2.4.70 defined as JPEG Lossless, Nonhierarchical, First- Order Prediction (Processes 14 [Selection Value 1]). What does "JPEG Lossless, Nonhierarchical, First- Order Prediction…
Alex Rothberg
  • 10,243
  • 13
  • 60
  • 120
7
votes
1 answer

DICOM undefined tag length, PIXELs

I'm writing some software to read DICOM files and I am not sure how to deal with tags that have an undefined length. The standard says that "If the Value Field has an Explicit Length, then the Value Length Field shall contain a value equal to the…
Codey McCodeface
  • 2,988
  • 6
  • 30
  • 55
7
votes
2 answers

Load Dicom image and display it - using ClearCanvas library

This is a very narrow and specific question, but I know there are someone else out there using this, so I'll keep my fingers crossed and hope anyone of you pics this question up. I'm working on a WPF application where one part of it is a Dicom…
stiank81
  • 25,418
  • 43
  • 131
  • 202
7
votes
4 answers

How to generate SOPInstance UID for DICOM file?

I am developing a system which will be able to create structured report for PACS. Obviously in order to create a DICOM instance (file containing Report data), I need three UIDs for Study, Series and Instance. StudyUID and SeriesUID must be the same…
mtoloo
  • 1,795
  • 3
  • 22
  • 28
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

What is the [Referenced SOP Class/Instance UID] in the Referenced Image Sequence in DICOM images?

I am developing a Modality Worklist client using fo-dicom library. Following thing are not clear to me related to [Referenced SOP Instance UID (0008,1155)]. What is Referenced SOP Instance UID? Is Referenced SOP Instance UID same for entire…
kamal
  • 93
  • 1
  • 7
6
votes
3 answers

Connecting to dcm4chee using dcm4che from a JAVA program

Update I dug deeper in dcm4che's source code and found that an IncompatibleConnectionException is thrown if either a connection is "not installed" or the types of protocols are not set or don't match. I don't know what it means that a connection…
tom
  • 2,137
  • 2
  • 27
  • 51
6
votes
2 answers

DICOM: How DIMSE Timeout work on big instances?

My understanding is that the time(out) between two consecutive DIMSE communications (request or response) is DIMSE Timeout. So, in MWL operation, MWL SCU (establishes the connection and association and) sends the MWL CFind request. SCP should send…
Amit Joshi
  • 15,448
  • 21
  • 77
  • 141
6
votes
2 answers

Decoding lossless jpeg in nema.org DICOM files

I wrote a jpeg compressor/decompressor years ago, which can handle lossless and lossy jpeg files. It works well, but doesn't always decode jpeg streams in DICOM files correctly. I know jpeg well, but I know little about DICOM. Lossless jpeg in…
korejwa
  • 61
  • 2
6
votes
2 answers

Adding new DICOM tag with pydicom

I'm trying to convert a slew of DTI siemens DICOMs to NifTi using freesurfer's dcm2nii utility but am failing on some files because they are missing the DiffusionGradientDirection tag (0x19,0x100E), which is necessary to generate the .bvec and .bval…
G Warner
  • 1,309
  • 1
  • 15
  • 27
6
votes
2 answers

DICOM: relating Slice Location to Image Orientation and Patient Position

If the Image Orientation (Patient) tag (0020,0037) reads [1,0,0,0,1,0] and the Patient Position tag (0018, 5100) reads ‘HFS’, how do I interpret Slice Location tag (0020,1041), assuming that it exists? I know that it represents the `Relative…
user762098
  • 215
  • 1
  • 3
  • 8
6
votes
1 answer

How to write a DICOM file from raw ecg data

I have raw ecg voltage samples in csv format e.g: time voltage (mV) 0.000 9.169110459 0.001 9.144672532 0.002 9.144672532 0.003 9.169110459 0.004 9.169110459 0.005 9.169110459 0.006 9.169110459 0.007 9.144672532 0.008 …
marcusturewicz
  • 2,394
  • 2
  • 23
  • 38
1 2
3
77 78