Saturday, February 04, 2012
Google Custom Search

ClearCanvas Highlights

Download our  Software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: b3lad
New Today New Today: 6
New Yesterday New Yesterday: 26
User Count Overall: 20479

People Online People Online:
Visitors Visitors: 41
Members Members: 0
Total Total: 41

Online Now Online Now:

ClearCanvas Community Forums

Rendering a uint16 grayscale image
Last Post 2010-03-21 09:36 PM by stewart. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
jonas
Basic Member
Basic Member
Posts:17

--
2010-03-16 04:09 PM  

I know you have classes build for rendering images, but I am curious about how you render 16bit grayscale images in C#, as Windows.Form will use GDI+ which only support 8bit grayscale images.

What external library or component do you use to achieve this?

I have look in the code repository and narrowed my search down to the BilinearInterpolation and the *Render and *Buffer classes in the ImageViewer. I can also see CC can utilize VTK in some way - but i need the missing link!

Can anyone give me a short description on how CC render 16bit grayscale images in C#?

Thanks

stewart
Senior Member
Senior Member
Posts:2032

--
2010-03-21 09:36 PM  
Hi, the bilinear interpolator is the missing link you are looking for. It basically takes the original (16 bit) image data, along with lookup tables, and writes directly to the ARGB bitmap that gets rendered to the screen. VTK is used for extracting the MPR slices from a volume.

Hope this helps,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.