[Insight-users] DiffusionTensor3D and interpolation

Jeffrey Duda jtduda at seas.upenn.edu
Thu Jun 2 16:14:35 EDT 2005


Hi,
I'm working on writing some interpolators for diffusion tensor data and 
initially was planning on deriving from VectorInterpolateImageFunction. 
  However, this is designed to have a return pixel type of FixedArray< 
InputPixelType::ValueType, InputPixelType::Dimension >.  This is a 
problem because when using the DiffusionTensor3D class, the Dimension is 
3, but the InternalDimension is 6 which is what is actually needed in 
this case.  It would be easy enough to write a new base class ( ie.. 
TensorInterpolateImageFunction ) that uses InternalDimension instead of 
Dimension but seems like a bit of a waste since the rest of the code 
would be almost identical to the existing code.  Is there a work-around 
for this that I missed or any plans for dealing with this particular issue?

thanks
-jeffrey duda


More information about the Insight-users mailing list