Click here to Skip to main content
Licence CPOL
First Posted 5 Jul 2005
Views 50,171
Bookmarked 27 times

DICOM parser (based on DICOM server from dicomapi)

By , | 5 Jul 2005 | Article
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)

About the Authors

dicomapi

Web Developer

United States United States

Member



mike_mma

Software Developer

Romania Romania

Member

working with c/c++, Java, PHP, Perl, TCL, Jscript

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralSource code of dicomapi Pinmembersantosh10321:37 4 Aug '10  
QuestionDICOM Viewer Explanation Pinmembersandeeprattu23:31 5 Jun '09  
AnswerRe: DICOM Viewer Explanation Pinmembermike_mma5:31 6 Jun '09  
Generaldicomapid.lib Pinmembernimsrajesh18:26 19 Aug '08  
GeneralRe: dicomapid.lib Pinmembermike_mma23:26 19 Aug '08  
GeneralDevelop Dicom viewer with vb.net 2004 Pinmemberanikash20031:45 26 Apr '08  
QuestionDICOM Communication Pinmemberlalitharaj23:36 4 Sep '07  
Generalcximagecrtd files Pinmemberpicasso218:04 9 Jul '07  
QuestionCan not compile Pinmemberlova2:14 31 May '07  
GeneralCompiling release version failed with VS 2003 PinmemberJonShuler12:34 20 Nov '06  
GeneralRe: Compiling release version failed with VS 2003 Pinmemberfermangas9:15 13 Mar '07  
GeneralCompiling debug version failed Pinmemberclara018:57 23 Mar '06  
GeneralRe: Compiling debug version failed Pinmembermike_mma10:28 24 Mar '06  
GeneralRe: Compiling debug version failed Pinmemberclara014:32 26 Mar '06  
GeneralRe: Compiling debug version failed Pinmemberzuhairkhalid22:13 24 Aug '07  
GeneralIncorrect image drawing PinmemberSvilen21:31 7 Sep '05  
GeneralRe: Incorrect image drawing Pinmembermike_mma22:30 7 Sep '05  
GeneralRe: Incorrect image drawing Pinmemberdicomapi7:49 13 Sep '05  
GeneralRe: Incorrect image drawing Pinmemberpicasso218:21 9 Jul '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.5.120517.1 | Last Updated 5 Jul 2005
Article Copyright 2005 by dicomapi, mike_mma
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid