[Insight-users] Bug in itkImageFunction / itkRayCastInterpolateImageFunction

Paul de Bruin pauldebruin at gmail.com
Wed Sep 15 02:19:00 EDT 2004


> Hi Paul,

Hi Luis,

> This topic was discussed among developers a while ago
> and was pending on a performance evaluation.

Missed that while looking for solutions/answers, sorry.

> What happens is that the RayCastInterpolator is the only
> interpolator that relies on this function to be virtual.
 
> Converting this method to virtual will incurr in some
> performance penalty for all the other interpolators, in
> a method that is called once per every pixel per every
> iteration of the registration methods. This is a function
> that is invoked millions of times during a registration.

Yes, that would have been my next question :-)  It is a bit of a 
silly/tricky problem because all the IsInBuffer in the
RayCastInterpolateImageFunction
does is to return true. In any case, I am going to tinker a bit with it.

> Could you please log this as a bug/feature request in
> the bug tracker ?

Done.

Thanks,
Paul


More information about the Insight-users mailing list