Click here to Skip to main content
13,350,506 members (56,972 online)
Click here to Skip to main content
Add your own
alternative version


37 bookmarked
Posted 5 Jul 2005

DICOM parser (based on DICOM server from dicomapi)

, , 5 Jul 2005
Rate this:
Please Sign up or sign in to vote.
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.


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.


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


About the Authors

Web Developer
United States United States
No Biography provided

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

You may also be interested in...


Comments and Discussions

Questionfatal error LNK1104: can't open file './bin/dicomapid.lib' Pin
Member 1218846816-Dec-15 4:06
memberMember 1218846816-Dec-15 4:06 
Questioni can not down it , help me thanks Pin
EaseStartOff27-Oct-14 6:18
memberEaseStartOff27-Oct-14 6:18 
GeneralMy vote of 5 Pin
EaseStartOff27-Oct-14 6:09
memberEaseStartOff27-Oct-14 6:09 
Questioni need dicom images viewer coding Pin
babubalajibalaji11-Aug-12 1:22
memberbabubalajibalaji11-Aug-12 1:22 
AnswerRe: i need dicom images viewer coding Pin
mike_mma11-Aug-12 2:14
membermike_mma11-Aug-12 2:14 
GeneralSource code of dicomapi Pin
santosh1034-Aug-10 22:37
membersantosh1034-Aug-10 22:37 
QuestionDICOM Viewer Explanation Pin
sandeeprattu6-Jun-09 0:31
membersandeeprattu6-Jun-09 0:31 
AnswerRe: DICOM Viewer Explanation Pin
mike_mma6-Jun-09 6:31
membermike_mma6-Jun-09 6:31 
Generaldicomapid.lib Pin
nimsrajesh19-Aug-08 19:26
membernimsrajesh19-Aug-08 19:26 
GeneralRe: dicomapid.lib Pin
mike_mma20-Aug-08 0:26
membermike_mma20-Aug-08 0:26 
GeneralDevelop Dicom viewer with 2004 Pin
anikash200326-Apr-08 2:45
memberanikash200326-Apr-08 2:45 
QuestionDICOM Communication Pin
lalitharaj5-Sep-07 0:36
memberlalitharaj5-Sep-07 0:36 
Generalcximagecrtd files Pin
picasso29-Jul-07 19:04
memberpicasso29-Jul-07 19:04 
QuestionCan not compile Pin
lova31-May-07 3:14
memberlova31-May-07 3:14 
GeneralCompiling release version failed with VS 2003 Pin
JonShuler20-Nov-06 13:34
memberJonShuler20-Nov-06 13:34 
GeneralRe: Compiling release version failed with VS 2003 Pin
fermangas13-Mar-07 10:15
memberfermangas13-Mar-07 10:15 
GeneralCompiling debug version failed Pin
clara023-Mar-06 19:57
memberclara023-Mar-06 19:57 
GeneralRe: Compiling debug version failed Pin
mike_mma24-Mar-06 11:28
membermike_mma24-Mar-06 11:28 
GeneralRe: Compiling debug version failed Pin
clara026-Mar-06 15:32
memberclara026-Mar-06 15:32 
GeneralRe: Compiling debug version failed Pin
zuhairkhalid24-Aug-07 23:13
memberzuhairkhalid24-Aug-07 23:13 
GeneralIncorrect image drawing Pin
Svilen7-Sep-05 22:31
memberSvilen7-Sep-05 22:31 
GeneralRe: Incorrect image drawing Pin
mike_mma7-Sep-05 23:30
membermike_mma7-Sep-05 23:30 
GeneralRe: Incorrect image drawing Pin
dicomapi13-Sep-05 8:49
memberdicomapi13-Sep-05 8:49 
GeneralRe: Incorrect image drawing Pin
picasso29-Jul-07 19:21
memberpicasso29-Jul-07 19: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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180111.1 | Last Updated 5 Jul 2005
Article Copyright 2005 by dicomapi, mike_mma
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid