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
33
votes
6 answers

DICOM: What's the point of SOPInstanceUID tag?

DICOM already provides a unique enough identifier for the Series (e.g. Series Instance UID), so why also include one on the lower level objects (e.g. SOPInstanceUID)? What I find really annoying is the fact that when referencing other objects - for…
Budric
  • 3,599
  • 8
  • 35
  • 38
23
votes
2 answers

Window width and center calculation of DICOM image

What is "rescale intercept" and "rescale slope" in DICOM image (CT)? How to calculate window width and window center with that?
Raj
  • 735
  • 1
  • 7
  • 24
20
votes
2 answers

rescale slope and rescale intercept

I have few questions about the rescale slope and rescale intercept in CT DICOM: Are they used to transfer original data from the scanner to Hounsfield data set, in which water is 0 and air is -1000? I am in the image display group. How can I know…
5YrsLaterDBA
  • 33,370
  • 43
  • 136
  • 210
17
votes
2 answers

How to create JPEG compressed DICOM dataset using pydicom?

I am trying to create a JPEG compressed DICOM image using pydicom. A nice source material about colorful DICOM images can be found here, but it's mostly theory and C++. In the code example below I create a pale blue ellipsis inside output-raw.dcm…
mseimys
  • 588
  • 1
  • 7
  • 16
16
votes
3 answers

DICOM Slice Ordering

I have a basic question for the DICOM protocol. I know how I can calculate the orientation labels of every slice of a DICOM image (A,P,L,R,H,F). But when I got for example an Axial slices with numbers from 0001 to 0024 I need to know if the slice…
NDY
  • 3,527
  • 4
  • 48
  • 63
16
votes
2 answers

Computing the size of UID possibilities

Per DICOM specification, a UID is defined by: 9.1 UID Encoding Rules. In other words the following are valid DICOM…
malat
  • 12,152
  • 13
  • 89
  • 158
15
votes
2 answers

DICOM C-GET vs C-MOVE

I have to develop a SCU (Service Class User) application for querying PACS and retrieve the DICOM images. Should I use C-GET or C-MOVE DICOM protocol to retrieve the images?
Ramakrishna
  • 500
  • 1
  • 4
  • 11
14
votes
1 answer

Private tag numbers available for use in DICOM

I want to add few private tags to an existing DICOM image. I would like to know which odd number tags I can use. Do I need to inform any organizations about my intentions ?
Harsha
  • 1,861
  • 7
  • 28
  • 56
13
votes
3 answers

DICOM and the Image Position Patient

I am trying to figure out if DICOM Image Position (0020,0032) is an absolute coordinate or just the coordinates for whatever slice orientation I have? For example, I have two planes, a sagittal and a coronal plane interleaved with respective Image…
Techno_
  • 131
  • 1
  • 1
  • 4
13
votes
4 answers

c#: how to read parts of a file? (DICOM)

I would like to read a DICOM file in C#. I don't want to do anything fancy, I just for now would like to know how to read in the elements, but first I would actually like to know how to read the header to see if is a valid DICOM file. It consists…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
13
votes
2 answers

What is Multiframe image in DICOM?

What is the MultiFrame image in DICOM. How multiframe is different from having multiple images in a single series?
GAP
  • 395
  • 1
  • 5
  • 18
12
votes
1 answer

How to generate unique DICOM UID?

I am working on DICOM gated (PET) data. I would like to artificially create a DICOM image series which includes gated data. I am inquiring on the increment values of SOPInstanceUID which labels each image slice in each phase or gate. These have…
emmasaunders123
  • 149
  • 1
  • 1
  • 4
12
votes
1 answer

DICOM: understanding the relationship between Patient Position (0018,5100) Image Orientation (Patient) (0020,0037)

If a patient is scanned in the axial plane and the Patient Position attribute reads 'HFS' or head first supine, then shouldn't the Image Orientation (Patient)(0020,0037) attribute be [-1,0,0,0,1,0]? It seems it should be [1,0,0,0,1,0]. My confusion…
user762098
  • 215
  • 1
  • 3
  • 8
12
votes
8 answers

Create pydicom file from numpy array

I'm trying to create a new dicom image from a standard-sized (512 x 512 or 256 x 256) numpy array. import dicom, dicom.UID from dicom.dataset import Dataset, FileDataset def write_dicom(pixel_array,filename): file_meta = Dataset() ds =…
Michael K
  • 2,196
  • 6
  • 34
  • 52
12
votes
1 answer

dicom window center, window width

I'm trying to implement the dicom veiwer. And i thought i'm almost done. But some CT images different with MATLAB. So i checked tags. Then i found something. These images have two value of window center and window width. window center = [2000],…
wallflower
  • 123
  • 1
  • 1
  • 4
1
2 3
77 78