Thursday, February 09, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source 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: tchlee
New Today New Today: 16
New Yesterday New Yesterday: 26
User Count Overall: 20579

People Online People Online:
Visitors Visitors: 13
Members Members: 3
Total Total: 16

Online Now Online Now:
01: larrywiding
02: ShaffstallK706
03: tchlee

ClearCanvas Community Forums

Rotation at arbitrary angle
Last Post 2010-04-09 11:18 AM by stewart. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
vaibhav2383
Advanced Member
Advanced Member
Posts:40

--
2010-04-01 03:01 AM  

Hi Guys,

CC Workstation currently supports rotation at 90 deg only. I want to rotate the image at random angles. Some debugging took me to BililearInterpolation.DLL.
My question is that do I need to update the BilinearInterpolation class or there is some other way of doing it?

Any pointers will be helpful.

Thanks,
Vaibhav

stewart
Senior Member
Senior Member
Posts:2032

--
2010-04-09 11:18 AM  
Hi, the BilinearInterpolation.dll actually renders the image, applying all it's transforms, LUTs etc, directly to the buffer that is ultimately rendered to the screen. As you've discovered, it does not support arbitrary rotations because that would greatly complicate things, and there would also be performance implications, as the amount of additional math that would have to be done is likely considerable. There are a couple of approaches you could take:

- Modify the interpolator to support arbitrary rotations
- Write your own interpolator (maybe use a toolkit that exploits GPUs :)
- Write a custom renderer plugin using OpenGL or WPF

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.