dicom

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 support reading (a subset) of DICOM files. ...

C# ushort[] to string conversion; is this possible?

Hi all, I have a very painful library which, at the moment, is accepting a C# string as a way to get arrays of data; apparently, this makes marshalling for pinvokes easier. So how do I make a ushort array into a string by bytes? I've tried: int i; String theOutData = ""; ushort[] theImageData = inImageData.DataArray; //this is as ...

What C++ library can I use to read pixels from DICOM images?

In C++ I want to read individual pixel values from DICOM images. ...

How to Create a Image from a rawdata of dicom image

Hi, I have a raw pixel data in a byte[] from a dicom image, Now how to convert this byte[] to a Image object. I tried Image img = Image.FromStream(new MemoryStream(byteArray)); but not successful. Please can anybody help me ...

Problem in displaying sequence of DICOM images using QT

Hello, i'm working in Linux [GCC Compiler] , i'm using Eclipse with CDT + QT to compile I need to display sequence of DICOM images using QT window and OpenGL functions pls let me know which is the function to display sequence of images i'm using 3 functions 1) initiallizeGL() to initallize OpenGL functions. 2) resizeGL() instead of g...

.NET DICOM Libraries

I have used DICOM using MERGECOM when I was in GE Healthcare in 2005. After that I don't have much knowledge in the DICOM system. Now we have a requirement for implementing PACS system using .NET platform. Can you recommend a decent, good, community supported .NET based DICOM library or framework? or Do you know any commercial librarie...

Parse DICOM files in VC++

How can I parse DICOM files in VC++? How to edit the DICOM tags? ...

Dicom: What's the point of SOPInstanceUID tag?

There is already a unique enough identifier - the SeriesUID. So why have this one? What I find really annoying is the fact that when referencing other objects - for example when RTPlan object references RTStruct object via ReferencedStructureSetSequence/ReferencedSOPInstanceUID - it's done using the SOPInstanceUID. However any of the ...

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 viewer. We'd like to use a 3rd party component to handle the Dicom stuff, and ClearCanvas is ...

Convert Pixels to mm/cm from DICOM Tags (Ultrasound)

I am working on a custom PACS solution and I need to implement a measurement tool for multi-frame ultrasounds (each study has multiple motion and still-frame components). I have done this for X-rays using the "Pixel Spacing" tag, but that is not present in the ultrasound. How can I calculate the distance between two points using the dat...

DICOM dataset folder to .dcm file

I have a folder filled with DICOM structures. It starts with a DICOMDIR and goes on from there. I want to encapsulate this as a single .dcm file for easy sharing and uploading. Does anyone know how to do this? Tools that utilize pydicom, dcm4chee2 toolkit, or DCMTK are preferable since I already have these things installed and functiona...

Types of DICOM image formats...

I am aware of single frame and multi-frame dicom image files. I want to know about a cine dicom image, and are there any other dicom image formats. ...

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? ...

How to implement Dicom attribute dictionary in my own API

Greetings, I am currently trying to learn some Java programming. To do this I'm trying to make something actually useful. Because I'm studying Medical Imaging, I though I would write my own Dicom Api in Java. Part of the Dicom Standard is a Data Dictionary containing attributes used in Dicom Files. These attributes have to following pr...

What is the attribute that identifies that a study is complete.

I wanted to use StudyCompletionDate but since it is retired I would like to know the attribute to be used to determine whether a study is complete or is ready for Archival. ...

Tool/script to generate DICOMDIR

I am looking for a standalone tool (for Windows XP) that generates a DICOMDIR file from a directory containing DICOM images. I have looked at http://www.tomovision.com/products/dicom_dir.htm but it gives me a runtime error. Can anyone recommend any tool for this purpose? ...

I want to create an application to read and write DICOM files without using any third party software

I want to create an application to read and write DICOM files without using any third party software How can I do that? Can any one help me? ...

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 of Binary Data Elements. The first 128 bytes are unused (set to zero), followed by the st...

C# .dcm(dicom) file converter

Hi, I would like to know if there's some library or API to convert a .dcm file to something more common? we are using c#, so the library or API needs to support this language. please... ...

Export JPG out of Dicom File With mDCM

Hello, I'm using mDCM with C# to view dicom tags, but I'm trying to convert the pixel data to a Bitmap and eventually out to a JPG file. I have read all of the posts on the mDCM Google Group on the subject and all of the code examples either don't work or are missing important lines of code. The image I am working with is a 16 bit monoch...