Tuesday, May 21, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: ASDFASD
New Today New Today: 1
New Yesterday New Yesterday: 10
User Count Overall: 28645

People Online People Online:
Visitors Visitors: 10
Members Members: 1
Total Total: 11

Online Now Online Now:
01: hammoo

ClearCanvas Community Forums

We've moved our Developer Forums!
To better assist our open source community, we have moved our repository and developer forums to GitHub. You can access the new developer forums on our ClearCanvas GitHub issues board.

DICOM Viewer & Annotator widget.. Where to start?
Last Post 2011-01-06 11:42 AM by jasper.yeh. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
zezba9000
New Member
New Member
Posts:11

--
2010-12-27 06:47 PM

 Hi i'm new to DICOM & i'm trying to write a DICOM Viewer/Annotation widget that can be plugged into our EHR application.

What class & or classes do I start with for making a simple WinForms app display a DICOM image using the built in CC objects??

Ive downloaded the source code for CC & im just stuck on what to start with. I wish there was some simple sample App to demonstrate the basics. Is there? Or is the Workstation app the only code to go off of?

jasper.yeh
Senior Member
Senior Member
Posts:525
Avatar

--
2011-01-06 11:42 AM
Hi zezba9000,

Unfortunately, our code isn't structured in a such a way as to make creating custom viewer applications easy - the image viewing code is very much tied to the Workstation at the moment. You can use the DrawToBitmap function of an IPresentationImage object to dump images to GDI Bitmaps, and then render them to your WinForms surface - other people on the forums have reported some success in making simple web viewers using this method.

Most of the knowledge base concerning making custom viewer apps is contained on the forums - try searching on the keywords "web viewer", "DrawToBitmap", "ImageBox control". Someday, we will get around to refactoring the framework to make this easier, and when that happens we will likely create code examples and detail it in the developer's guide, but for now this is all there is.

Hope this helps,
// Jasper
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved