[Insight-users] Bug in itkImageFunction / itkRayCastInterpolateImageFunction

Paul de Bruin pauldebruin at gmail.com
Tue Sep 14 12:01:18 EDT 2004


I have been playing with DRRs in ITK and found that I could not get
DigitallyReconstructedRadiograph1.cxx to work. Apparently, the problem
is that
the IsInBuffer method in ImageFunction that is overridden in the
RayCastInterpolateImageFunction class is not declared virtual.
Consequently, the wrong IsInBuffer method is called in
ResampleImageFilter and ray casting fails for rays with begin and end
points outside the volume.

Declaring the appropriate IsInBuffer method virtual in
itkImageFunction.h solved this problem.

Regards,
Paul de Bruin


More information about the Insight-users mailing list