[Insight-developers] Template metaprogramming magic coming toitk::Image?

Lorensen, William E (Research) lorensen at crd.ge.com
Thu Jun 30 21:22:15 EDT 2005


Zach,
This was our first attempt at metaprogramming magic. I expect that we will look to applying similar techniques in itkImage and maybe even some of the index calculations. As always we'll look for portable solutions.

Bill

-----Original Message-----
From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
[mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
Of Zachary Pincus
Sent: Thursday, June 30, 2005 4:56 PM
To: insight-developers at itk.org
Subject: [Insight-developers] Template metaprogramming magic coming
toitk::Image?


I'm quite impressed with the efforts to make the itk::OrientedImage 
TransformPhysicalPointToIndex (etc.) methods fast through the use of 
clever template meta-programming.

Is there any plan to bring this technique to itk::Image? I've got some 
calls to these methods in some inner loops that really slows things 
down. I've resorted to partial-specialization type hacks, but it would 
be great to know if this was in the pipeline. (Or conversely, to know 
that it wasn't, so that maybe I'd give a crack at bringing them over to 
itk::Image myself.)

Zach

_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list