Questions tagged [dicom]

1

votes
1

answer
83

Views

how to split a dicom image into tiles?

I'm trying to use the image_slicer function to split a DICOM image into tiles, but it's not recognizing the DICOM. I've already read the DICOM and converted them into np arrays: dcm_files[0] array([[-1024, -1024, -1024, ..., -1024, -1024, -1024], [-1024, -1024, -1024, ..., -1024, -1024, -1024], [-1...
aiwan
1

votes
1

answer
49

Views

Set headers correct for DICOM server to communicate with my Angular 5 application

I currently am working to retrieve a DICOM file by using my Angular application. The problem is that I cannot retrieve any data since No 'Access-Control-Allow-Origin' header is present on the DICOM server. I am cheating with a enable CORS extension in chrome to debug the data but in the end I will n...
BrianM
1

votes
1

answer
100

Views

How to change the colors off freehand polygons in cornerstonejs

I want to add an option in my DICOM viewer to change the color of a polygon that was made by the freehand tool (different color for each polygon). I checked the official example, and it seems that the only color customization that cornerstoneTools allow you is changing the global tool color which ap...
Elad Levy
1

votes
3

answer
201

Views

DICOM Images read with GDCMSeriesFileNames or list of paths

I am using SimpleITK to analyse Dynamic PET Data. I have a folder with 148 * N images (with N the number of frames of my Dynamic PET) and I want to separate the images of each frames. Firstly, I created one subfolder for each frame with the corresponding images. >folder #Folder of dynamic data >subf...
1

votes
1

answer
552

Views

python:[WinError 267] The directory name is invalid [duplicate]

This question already has an answer here: Parsing a mix of Backward slash and forward slash in a filename 3 answers i was opening sample dicom files but i got this error [WinError 267] The directory name is invalid I am using anaconda, pydicom 1.1.0 aIf anyone can help me with this, or even just h...
Ahmed Khaled
1

votes
1

answer
134

Views

Dicom protocol and CT scan and sorting according to z position of axial slices?

I have a CT scan of the chest where I can't seem to figure out how to determine how to sort the aixal slices such that the first slices are the ones closet to the head. The scan has the following dicom parameters: Patient Position Attribute (0018,5100): FFS (Feet First Supine) Image Position (Patien...
user3220072
1

votes
1

answer
176

Views

How can pass path of dicom file at cornerstone library and display it?

I want to display a Dicom image from my web site. So I have find cornerstone library to do this. So this is the code: $(document).ready(function() { var element = $('#dicomImage').get(0); cornerstone.enable(element); // Listen for the change event on our input element so we can get the // file selec...
bircastri
1

votes
1

answer
350

Views

How to change the Pixel Data of DICOM file using fo-dicom?

I want to replace the pixel data of a DICOM file with another one. I used this code: public bool ImportImage(string imageFile, string newFilePah, string oldDicomFile) { try { Bitmap bitmap = new Bitmap(imageFile); bitmap = GetValidImage(bitmap); int rows, columns; byte[] pixels = GetPixels(bitmap, o...
Mostafa A Shamsia
1

votes
0

answer
73

Views

How to convert grayscale 12 bits depth Dicom images in grayscale 12 bits depth jpeg?

I want to convert with Python grayscale 12 bits depth Dicom in grayscale 12 bits depth jpeg. I search a lot on internet but no answer. I succeed to convert Images from Dicom to tiff if it can help. Now I need to convert them in jpeg, any idea? import pydicom from PIL.Image import fromarray filename...
MaxPi
1

votes
0

answer
37

Views

There are slices that the program decides not to segment DICOM PYTHON

I'm working in Python and I'm reading a DICOM series. I'm segmenting by threshold and it works fine. The problem is that every 11 slices the program says that the segmentation is zero. I have reduced the program to the minimum expression and it still does not work. I decide to segment the slices tha...
Ramon
1

votes
5

answer
1.1k

Views

Which SDK should I use to visualize medical images in 3D?

I need to process DICOM formatted medical images and visualize them in 3D, also do some image processing on these images on real-time. Therefore, I am asking this question to learn which SDK has better real-time characteristics for medical visualization and image processing?
baris.aydinoz
1

votes
1

answer
685

Views

Rendering the skin using VTK

I am developing an application in windows forms that reads a sequence of 2d dicom images and transform them into a 3d object. I can do it pretty well for bones using the VTK framework, but when trying to do the same for the skin, I am getting a blank screen. Does anyone have the same issue? Thanks i...
Nizam
1

votes
3

answer
2.2k

Views

How to read dicom tag value using openDicom.net in C#?

I'm reading dicom tags using openDicom.net like this: string tag = ''; string description = ''; string val_rep = ''; foreach (DataElement elementy in sq) { tag = elementy.Tag.ToString(); description = elementy.VR.Tag.GetDictionaryEntry().Description; val_rep = elementy.V...
luc
1

votes
1

answer
955

Views

.net library for displaying dicom structured reports

I am using clearcanvas library to read and work with dicom files. However, as stated here http://www.clearcanvas.ca/dnn/Community/Forums/tabid/69/aff/8/aft/14041/afv/topic/afpg/1/Default.aspx they don't support dicom structured reports yet. Do you know any other free .net library or dll which I can...
draganstankovic
1

votes
1

answer
179

Views

Why is Configuration message appearing on jpeg images exported from DICOM file?

I am trying to make a web based dicom image viewer. I am using c# and asp.net. I am using Clear Canvas libraries found on www.clearcanvas.ca. The problem here is that when I try to export the jpeg images from dicom files the following message appears on them: 'The current configuration system does n...
John
1

votes
1

answer
845

Views

ClearCanvas DICOM - How to create a Tag with a 'VR' of 'OW'

Ok, so what i am doing is adding a new Overlay to an existing DICOM file & saving it(The DICOM file now has two overlays). Everything saves without errors & both DICOM viewers Sante & ClearCanvas-Workstation open the file, but only Sante displays both overlays. Now when I look at the tags within the...
zezba9000
1

votes
1

answer
752

Views

How can i determine the ImagePosition of the reconstructed MPR DICOM image?

I have a set of 2D images and i made an MPR over then to generate another views, now i want to save the new series as DICOM, so how can i determine the ImagePosition or the new images using the ImagePosition and ImageOrientation known of the original series? P.S: the problem is the original series m...
Sara S.
1

votes
1

answer
1.4k

Views

Read Multiframe DICOM images using ITK

I can read single frame DICOM images fine. But I am not sure how to go about reading a multi frame DICOM file, which say, has multiple images in a single DICOM file. Here is the code I use to read single frame DICOM. I am thinking along the lines that the image buffer loaded (imageBuf) should be div...
over.drive
1

votes
1

answer
409

Views

MFC Drawing a Line on one image from a set of images

I am reading a DICOMDIR and then displaying all the images of a given series one by one, either by scrolling with the mouse or by pressing the keyboard arrow keys up n down. Now, I happen to draw a line on one of these images. Currently, when I scroll through the images the line continues to stay...
esh
1

votes
1

answer
2.2k

Views

How to load or open DICOM image file in java without using ImageJ library?

i m make App in netbeans platform in java swing. first i want to load or open DICOM image file without using ImageJ library in java.so how can i do that?
Jay
1

votes
1

answer
540

Views

Display VALUE parameter of DICOM image

I'm using the Evil Dicom dll. Currently for one of the tags, Counts Accumulated, I can extract and display the VR parameter, LENGTH parameter and TAG DESCRIPTION parameter. However, I haven't found a way to extract and display the VALUE parameter, i.e. the physical number of the counts accumulated....
Adolf
1

votes
1

answer
1.8k

Views

How to store and retrieve DICOM files in SQL Server using C#

My objective is to store DICOM files in SQL Server with some ID, and when user wants that DICOM file he can download from the SQL Server using its corresponding ID. The file should not change its originality while storing into the server and also when retrieving from the SQL Server. I am using Varb...
SharpUrBrain
1

votes
1

answer
1.2k

Views

EvilDicom problems in using VoxelGrid

I'm trying to implement this example. DicomFile df; VoxelGrid vt ; if (openFileDialog1.ShowDialog () == DialogResult.OK) { df = new DicomFile (openFileDialog1.FileName); vt = new VoxelGrid (df); pictureBox1.Image = vt.getImage(); } The problem is that it does not find the co...
banha126
1

votes
3

answer
1.2k

Views

how to develop DICOM Editor in asp.net

i wanted to develop a DICOM Image editor in Asp.net are there any library available for that. or can i do something like create an Jpeg from DICOM editor. edit the same image with lines or shapes and convert it back to DICOM Image file is that possible? if yes how? i am new to DICOM. hence please he...
Radhi
1

votes
1

answer
722

Views

Matlab - Fixing white noise on DICOM stack

I loaded this dicom stack of images following the instructions on this tutorial video. I wrote the following code clear all; close all; clc; imtool close all; %loads the full dicom stack fileFolder = fullfile (pwd, 'dicom_test'); %se debe estar al mismo nivel de la carpeta files = dir (fullfile(f...
andandandand
1

votes
1

answer
1.7k

Views

Visualizing a DICOM file of multiple frames in Matlab

I generated this brain tumor via TumorSim and converted it from .mha to .dcm using the gdcm2vtk tool. https://www.dropbox.com/s/70gwje0a8pb42tf/T1Gad.dcm I want to visualize it now in Matlab 2012a, I tried this, following the ankle demo (which is based on a single frame dicom file): info = dicomin...
andandandand
1

votes
1

answer
1.1k

Views

DCE MRI time axis

What is the time sample interval in DCE MRI data. That means, I have the signal intensities over time (30 time samples) of one pixel and I want to know what is the sample interval. Is it the TR or should I read the DICOM information from each dicom image and compute the time? If I should compute it...
yooyle
1

votes
3

answer
2.2k

Views

Saving a DICOM image in PNG format

I have a dicom image which I read in matlab as: I=dicomread('xyz.dcm'); In displaying it, I used the following command: imshow(I,[]) What I want to ask about is, how can I write it through imwrite, such that I get the image as seen using the above imshow command? I for instance tried this: imwrite(I...
Simplicity
1

votes
1

answer
1.4k

Views

About reading a DICOM Image tags in VB 2010

I am seeking to read in the DICOM Image tags one tag at a time in Visual Basic 2010. Then I would like to read in the header. Does anyone have any ideas. i will be grateful
dirty_sanchez
1

votes
1

answer
1.3k

Views

How to save a DICOM series raw with VTK

I am trying to read and save in a raw form a DICOM series. At runtime, the program crashes and the following error is generated: DICOMParser couldn't parse. Here is my code: int main(int argc, char* argv[]) { // Verify input arguments std::string folder = 'C:/dicom decompress/GM_23/2801/0'; //std::s...
Clara
1

votes
1

answer
224

Views

Medical Imaging Application Automation via QTP

I have a medical post processing application which render's Dicom images into the my application. Application is developed using C#.net. My question is can we use QTP to automate the application. As new version of QTP UFT 11.5 possess new advanced features like(insight) where it really does n't both...
Arun Dambal
1

votes
1

answer
195

Views

Which is broken: the DICOM or the converter?

I'm trying to convert a 4D DICOM image (x,y,z,time) to a different file format. Something goes wrong, because the output image has lost the time dimension. I'm trying to decide whether: the DICOM series is broken -- it's possible that a 3rd party, who anonymized data, removed critical information fr...
ajwood
1

votes
1

answer
509

Views

bwboundaries to get image borders

I used bwboundaries to get image borders. It returns integer values. But I need float pixels.(spatial pixels) how can I fix that? clc clear all close all grayImage= dicomread('diz'); subplot(1, 1, 1); imshow(grayImage, []); hFH = imfreehand(); binaryImage = hFH.createMask(); subplot(1, 1, 1); imshow...
user2938721
1

votes
2

answer
327

Views

How to load ~100 numpy arrays into django powered webpage

Well, these arrays are actually pixel data from DICOM images. When i just send them as an array (size 100) of pixel arrays (each about 1mb) it overloads the browser quite obviously. Being a newbie to programming, i would appreciate being pointed in the right direction to start working on economical...
Maelstorm
1

votes
2

answer
873

Views

DICOM image registration using ITK

I'm working on a project (VS2012 and C#) that includes image registration. I basically need to extract the points cloud from a stack of DICOM images in a directory. I've researched ActiViz, VTK, ITK etc and I can't find any example on how to do this. Has someone been able to obtain a cloud of points...
Matimont
1

votes
2

answer
479

Views

DICOM JPEG compression not yet supported in Android

DicomDroid.jar used to open a .dcm formated image in my Android application. I got the follwing exception when try to open it. java.io.IOException: DICOM JPEG compression not yet supported Adding my code below try { // Read the imagefile into a byte array (data[]) File imagefile = new File(path); by...
Shafi
1

votes
1

answer
310

Views

Mergecom Tags not in order (MC_OUT_OF_ORDER_TAG) issue

While using the MC_Open_File API of MERGECOM, MC_Open_File( applID, msgID, &cbInfo, MediaToFileObj ); The following error occurred. How to resolve this/ overcome this issue? (5124) 03-09 15:01:10.39 MC3 E: Tags not in ascending order: (0010,0010) found after (696c,6e6f) (5124) 03-09 15:01:10.39 MC3...
1

votes
1

answer
1.7k

Views

Viewing different planes from DICOM image slices

I have a 3D DICOM data (slices) and I need to display the three planes (axial, sagittal and coronal) from that data. I read all the slices in MATLAB and used that 3D matrix as follows. Axial = dicomMatrix(:, :, zIndex); Sagittal = dicomMatrix(xIndex, :, :) Coronal = dicomMatrix(:, yIndex, :) But whe...
user3462684
1

votes
1

answer
391

Views

How to implement XDS-I.b? [closed]

I am new to XDS-I.b i.e., Cross-Enterprise Document Sharing for Imaging. I am trying to search for a solution to implement it in SOAP using java. Please suggest some solution.
Sivam
1

votes
1

answer
695

Views

Dicom image window and level problems (sometimes)

I am making an image viewer using the c# ClearCanvas libraries, and I am trying to display images with their stored window center and window width values applied to the image. To do this, I read the window center, window width, and raw pixel data from the Dicom file which I convert to a byte array a...
user2943464

View additional questions