Questions tagged [dicom]

0

votes
1

answer
8

Views

DICOMDir file getting corrupted after save with fo-dicom

I'm experiencing an issue with adding a file to a DICOMDir. Based on this example I've successfully created and saved to disk an image from a series. Then, I tried adding that file to the DICOMDIR, so that the Dir references the new file, and, though the saving is successful, when I try to open the...
Pona
0

votes
0

answer
4

Views

Create DICOM file using java(without using any 3rd party library)

I'm trying to create a sample that creates a new file in DICOM format without using any 3rd party library. File is supposed to have following details: 1). Patient details(name, DOB, etc) 2). Image pixel data. I have read a few articles on DICOM format but I still don't understand a lot of things(ba...
Vishwas Trivedi
1

votes
2

answer
4.1k

Views

Which dcmtk command for extracting the patient DOB? [closed]

I need to extract the Date of Birth(DOB) of each patients of some dicom images. The reason behind extracting this is that, I will only change the month and the date of the patients in those dicom images for maintaining the privacy of the patients, but not the year. I know how to change the DOB using...
the_naive
1

votes
2

answer
2.2k

Views

histogram of a dicom image in matlab

I'm trying to plot a histogram in matlab of a dicom image. This is a medical image format, and the colormap is not the standard [0 255] gray levels. so the imhist is not working for me. any suggestions?
SamuelNLP
1

votes
1

answer
2.4k

Views

Transforming raw pixel using rescale slope and rescale intercept in DIcom

I used the solution in this post Window width and center calculation of Dicom Image to transform the raw pixel, it works good most of the images, but i faced problem with some images. That images having pixel value "24", rescale slope "1.0" and rescale intercept "-1024". When i applied the solution...
Murugesan
1

votes
2

answer
1.5k

Views

Programming with GDCM in Windows and changing pixel data with VTK?

I have two questions. First: I haven't got any definite documentation on how to use the GDCM library in Windows. Is it at all possible to use GDCM library in Visual Studio in windows? If so, could you please provide me any instruction how to install the library in Visual studio? I want to change or...
the_naive
1

votes
1

answer
4.1k

Views

Need some sample dcm files for structure report(Ultrasound)

I need some sample dcm files for structure report(Ultrasound). Could anyone please help me?
P...P...
1

votes
2

answer
2.3k

Views

how to modify stored dcm files

I have the need to mopdify the information of patient,study,series,instance,and I have done this by putting information to dataset that stored in database.Now my question is that the information stored in database does has been modified but the dcm files stored in pacs can't modified.Is there any w...
WakingDreamer
1

votes
1

answer
1k

Views

DICOM HTML5 vs JAVA viewer

I'm going to create a DICOM viewer based on HTML5 and available for DICOM JS libraries. I've already had an experience in creating similar application in Java,using DCM4che library. My task at the University is to provide a profound technical analysis of these two applications - web and Java. I don...
user2979961
1

votes
2

answer
2k

Views

how to get dicom files from pacs server to local fielsystem with dcm4che 3 c-move command

When I use dcm4che3 and dcm4chee2, how to get image data files from one pacs server to my local directory with c-move command? I use movescu bat file, and when I move from ge pacs to my dcm4chee pacs server,The studyInstanceUID has been changed,and I can't mapping this changed studyuid to the origin...
cosyman
1

votes
2

answer
675

Views

Set “window level” of a png (converted from DICOM)

So, there is this question here on SO about changing the window level of a DICOM converted into JPG. But I have files that were converted from DICOM to PNG (32 bits) and I am supposed to make it be displayed with these properties: (0028,1050) WindowCenter DS # 6 1 [382.0] (0028,10...
DeMarco
1

votes
1

answer
403

Views

What could be the reason for bad dicom image plot

What could be the reason that the dicom file of this usual x-ray is getting plotted in a messed up manner: The algorithm used is as follows: The original image matrix is 3d: int [1:2014, 1:2014, 1:3] 110 51 99 113 52 101 111 53 102 110 ... This rgb is converted to gray scale by formula: gray = 0...
rnso
1

votes
1

answer
1.2k

Views

Compress DICOM file with DCMTK (C++)

damn i'm very frustated... Following the example in this page http://support.dcmtk.org/docs/mod_dcmjpeg.html, I have written a C++ program to decompress a JPEG-compressed DICOM image file Now I want to do the vice versa, from uncompressed to compressed and if I use the other example in the same pa...
GiordiX
1

votes
3

answer
2.3k

Views

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 BD-compatible High Profile / Level 4.1 I understand that MP...
Paul Knopf
1

votes
2

answer
695

Views

How i can extract information from DICOM file ?

I want to write a script to extract the header information of a DICOM file using c or c ++, I don't want to use external libraries like dicomsdl... when I open the file with Bloc-notes I see special characters and character string as patient name .. if anyone can help me to read this file.
Marouane
1

votes
1

answer
845

Views

ClearCanvas SDK

I would like to experiment with the ClearCanvas SDK inside of another project. I am not looking to make any changes to the code whatsoever. So how do I get this code and include it in another project? Do I need to Build it via the Github instructions or can I just download the zip, open in VS and re...
physics90
1

votes
2

answer
386

Views

Rename multi-frame dicom images

I have a dicom file that contains 110 images and their names are random. I am trying to rename them according to their SliceLocations (n) and rewrite them with the dcm extension, i.e., n(1).dcm, n(2).dcm, … Any suggestions would be appreciated. I tried image_list=dir('*.dcm'); for i=1:110 img=dic...
Turki
1

votes
3

answer
1.4k

Views

How do I export dicom datasets to excel?

I am still quite new to coding, and have a couple of questions. I was working on a few MRI Images with the file extension '.dcm'. I imported the 'dicom' module which allows me to extract specific parameters (such as the Patients Name Age, Type of Scan, etc.) from the file. These values are then writ...
Muhammad Khan
1

votes
2

answer
968

Views

WADO-RS open server

Good day everyone. I'm trying to investigate wado-rs standard and looking for some open online test server for learning how wado requests work. Maybe you know something like this? I found http://dicomserver.co.uk:81/wado, but looks like he don't support application/octet-stream. I tryed to send 'Ac...
1

votes
2

answer
401

Views

Dicomize ECG Raw Signal Data

I have dicomized raw signal data by using clear canvas library.(ecg voltage values) But,I have faced a problem about seperating the ecg channels. When I display the dicomized data on PACS system all the channels append each other and are visualized as single waveform. (However I put 12 into number o...
Ozan Deniz
1

votes
1

answer
432

Views

Draw dicom raw data in qt

I'm trying to develop a tool to visualize dicom images I'm using itk library but i have some problem drawing the data I'm using gdcm library provided by itk library as a third party lib. I'm reading the image correctly i retrieved the tags ... but when i retrieve the pixels data using unsigned shor...
Adah
1

votes
1

answer
661

Views

Dicom - normalization and standardization

I am new to the field of medical imaging - and trying to solve this (potentially basic problem). For a machine learning purpose, I am trying to standardize and normalize a library of DICOM images, to ensure that all images have the same rotation and are at the same scale (e.g. in mm). I have been pl...
user1885116
2

votes
1

answer
1.5k

Views

Adding Dicom Images

Is there any way to add a new series to an existing Dicom Image. i.e. We did a Brain MRI and afterwards we were not happy with the quality of a particular sequence. We then redid the sequence and now we want to put them all together under one. Is this possible ?
Tomas Gonzalez
1

votes
2

answer
617

Views

DICOM why need overlay and how to read it

Just wondering why we need the overlay and when we will need it? I have a Scout image with overlay, what do these dots mean and what do these numbers or fractions mean? How these numbers are drawn on the image?
peterboston
2

votes
1

answer
1.5k

Views

Converting GDCM Image to Java BufferedImage

I am using GDCM to read in DICOM images. Is there an easy way to read in a dicom file with GDCM, and then convert it to a Java BufferedImage? So far I have the following String filename = "C:\\test.dcm"; gdcm.ImageReader reader = new gdcm.ImageReader(); reader.SetFileName(filename); reader.Read();...
Jon
0

votes
0

answer
3

Views

“No Access-Control-Allow-Origin” errors while making a request to Orthanc Server from another domain

We are trying to post a .dcm file from Angular 7 application to an Orthanc server which is running behind a Nginx server. The post request is giving the "No Access-Control-Allow-Origin" errors while making a request from another domain. Angular Post method: submit() { console.log(this.model); this....
therightdoctors
16

votes
2

answer
15.7k

Views

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
2

votes
2

answer
43

Views

How do I create Modality Worklist for a patient in DCM4CHE using HL7 message?

I have managed to create Patients in DCM4CHEE using HL7 messages. I have also created Studies, Series and Observation Reports for respective Patients using only HL7 messages. But I am stuck at Modality Worklist. I cannot find sample HL7 messages to create MWLs. Help will be greatly appreciated.
Turab
2

votes
2

answer
1.4k

Views

Reading a dicom file in C

How do I read a dicom file, with different tags, in C?
user464079
17

votes
5

answer
22.6k

Views

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 example when RTPlan object references RTStruct obje...
Budric
18

votes
8

answer
39.6k

Views

Free Pacs Servers

I am looking for Free PACS Servers(for testing only) on Windows platform. I google the net got few but I am facing some problems. Could you please post links to download free PACS Servers. Thank you. Harsha
Harsha
18

votes
9

answer
20.9k

Views

Parse DICOM files in native Python

What is the simplest and most-pythonic way to parse a DICOM file? A native Python implementation without the use of non-Python libraries would be much preferred. DICOM is the standard file format in digital medical imaging (look here for more information). There are some C/C++ libraries that suppor...
Tom Pohl
2

votes
1

answer
197

Views

Manipulating and Converting PixelData of CT Image with fo-dicom in C#

For some tests I'm trying to manipulate the PixelData element of a CT image stored in dicom format and write it back in the file with Fellow Oak Dicom in C#. After some research I found out that the matrix I want to deal with is in the Buffer of PixelData stored in a byte-array. So I wrote following...
Booma
2

votes
1

answer
65

Views

does SOP instance contain image and services?

I know that sop class is a combination of services(C-GET,C-MOVE..etc) and object. i've prepared this link for SOP instance. it wasn't enough to me to understand sop instance. What about SOP Instance please describe?
7888
1

votes
2

answer
1.2k

Views

How to show legally DICOM 16 unsigned integer on the device are supporting 8 bit unsigned integer?

I'm working on a Medical app on iOS. The iOS devices just support GL_UNSIGNED_BYTE with GL_LUMINANCE or generally just support 8 bit per component. Now I have some grayscale images are 16 bit unsigned integer and I want to show them. I find we can't show 16 bit unsigned integer and Therefore I shoul...
mf mf
4

votes
2

answer
341

Views

How to parse a DICOM in JavaScript using cornerstone?

I'm trying to parse a dicom file in javascript. I download the dicom with axios, the data I get is a string that looks like this: "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\...
rronan
5

votes
3

answer
2.1k

Views

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 modify pixel data in a big memory buffer frame by frame...
the_naive
2

votes
3

answer
2.9k

Views

Unable to get dicom image for display in python

I'm trying to display a DICOM image in opencv-python.I am using the pydicom library,And then adding API's to create a full fledged DICOM viewer with DOTNET, that runs python(C# calls python with process instance of course!!). I am unable to convert or see the uncompressed DICOM image. whenever i try...
6

votes
1

answer
1.5k

Views

Is there any alternate way to processing DICOM images using WPF in C# without any third party/Library?

I started working in a new project with a big challenge. I am working in a medical project and in that I have to read DICOM images and process the image with its properties. I gathered some basic knowledge on DICOM and PACS. As I worked on WPF around 2 years of my career so I choose to do this proje...
SharpUrBrain
2

votes
6

answer
3k

Views

Volume render DICOMDIR CT scan

I got a CD from the hospital that is a head CD scan. I am completely new to medical imaging. What I would like to do perform a volume rendering of the CT scan. It is in DICOMDIR format. How and where would I start? From messing about with various tools I get the feeling that I need to extract each s...
rhlee

View additional questions