Click here to Skip to main content
15,881,248 members
Articles / Programming Languages / C++
Article

DICOM parser (based on DICOM server from dicomapi)

,
Rate me:
Please Sign up or sign in to vote.
4.64/5 (10 votes)
5 Jul 2005CPOL1 min read 105.8K   7.2K   37   24
DICOM parser is the DICOM server version provided by dicomapi from which I've eliminated the network part and I've added some new features.

Introduction

DICOM parser has the minimum functions for an application to read, modify and compose DICOM datasets. It is based on the "DICOM server" project but because I was not so much interested in the network part of this project, I've eliminated it and added new features that support modifying the current opened DICOM file through this application.

Although there are more than 100 modules based on the DICOM dictionary, I've implemented only four of them, those that I've considered the most important ones:

  • Patient info
  • Patient study module
  • General study module
  • General equipment module

But, of course, here you can implement all the modules that can be accessed by this application. Through a tree control, you can easily access and modify the info from these modules.

I've added small features on the image processing (you can easily drag the mouse with the left or the right mouse down to change the contrast, brightness or the zoom of the current frame from the currently opened file).

Now, you can easily jump to a specific frame and export it as a BMP or JPEG file (or you can select different frames in order to export them as a DICOM dataset).

Despite the "DICOM server" which, in the case where you selected 5 frames and chose to save them as a DICOM dataset - the resulted file contained only the selected frames, I've made some changes here so that when you want to save these frames as a dataset - the resulted file will also contain the patient info from the original file.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Written By
Software Developer
Romania Romania
working with c/c++, Java, PHP, Perl, TCL, Jscript

Comments and Discussions

 
Questionfatal error LNK1104: can't open file './bin/dicomapid.lib' Pin
Member 1218846816-Dec-15 3:06
Member 1218846816-Dec-15 3:06 
Questioni can not down it , help me thanks Pin
EaseStartOff27-Oct-14 5:18
EaseStartOff27-Oct-14 5:18 
GeneralMy vote of 5 Pin
EaseStartOff27-Oct-14 5:09
EaseStartOff27-Oct-14 5:09 
Questioni need dicom images viewer coding Pin
babubalajibalaji11-Aug-12 0:22
babubalajibalaji11-Aug-12 0:22 
AnswerRe: i need dicom images viewer coding Pin
mike_mma11-Aug-12 1:14
mike_mma11-Aug-12 1:14 
GeneralSource code of dicomapi Pin
santosh1034-Aug-10 21:37
santosh1034-Aug-10 21:37 
QuestionDICOM Viewer Explanation Pin
sandeeprattu5-Jun-09 23:31
sandeeprattu5-Jun-09 23:31 
AnswerRe: DICOM Viewer Explanation Pin
mike_mma6-Jun-09 5:31
mike_mma6-Jun-09 5:31 
Generaldicomapid.lib Pin
nimsrajesh19-Aug-08 18:26
nimsrajesh19-Aug-08 18:26 
GeneralRe: dicomapid.lib PinPopular
mike_mma19-Aug-08 23:26
mike_mma19-Aug-08 23:26 
GeneralDevelop Dicom viewer with vb.net 2004 Pin
Gandhi Ashish26-Apr-08 1:45
Gandhi Ashish26-Apr-08 1:45 
QuestionDICOM Communication Pin
lalitharaj4-Sep-07 23:36
lalitharaj4-Sep-07 23:36 
Generalcximagecrtd files Pin
picasso29-Jul-07 18:04
picasso29-Jul-07 18:04 
QuestionCan not compile Pin
lova31-May-07 2:14
lova31-May-07 2:14 
GeneralCompiling release version failed with VS 2003 Pin
JonShuler20-Nov-06 12:34
JonShuler20-Nov-06 12:34 
GeneralRe: Compiling release version failed with VS 2003 Pin
fermangas13-Mar-07 9:15
fermangas13-Mar-07 9:15 
GeneralCompiling debug version failed Pin
clara023-Mar-06 18:57
clara023-Mar-06 18:57 
GeneralRe: Compiling debug version failed Pin
mike_mma24-Mar-06 10:28
mike_mma24-Mar-06 10:28 
GeneralRe: Compiling debug version failed Pin
clara026-Mar-06 14:32
clara026-Mar-06 14:32 
GeneralRe: Compiling debug version failed Pin
zuhairkhalid24-Aug-07 22:13
zuhairkhalid24-Aug-07 22:13 
GeneralIncorrect image drawing Pin
Svilen7-Sep-05 21:31
Svilen7-Sep-05 21:31 
GeneralRe: Incorrect image drawing Pin
mike_mma7-Sep-05 22:30
mike_mma7-Sep-05 22:30 
GeneralRe: Incorrect image drawing Pin
dicomapi13-Sep-05 7:49
dicomapi13-Sep-05 7:49 
GeneralRe: Incorrect image drawing Pin
picasso29-Jul-07 18:21
picasso29-Jul-07 18:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.