[Insight-users] Interpolate covariant vector values

Luis Ibanez luis.ibanez@kitware.com
Wed, 23 Oct 2002 13:40:03 -0400


Hi Henkjan,

The reason why the VectorInterpolateImageFunction cannot
manage CovariantVectors is because the Dimension in the
CovariantVector is named "CovariantVectorDimension".

Renaming it to "VectorDimension" gets rid of the problem.

This has been changed now to make both classes more
compatible.

You can get the new versions by updating from cvs or
by downloading the files through cvsweb.

http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/Common/itkCovariantVector.h?cvsroot=Insight
http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/Common/itkCovariantVector.txx?cvsroot=Insight

With these changes you should be able to use the
VectorInterpolator with CovariantVectors as template
parameter.

Thanks for pointing this out,


    Luis


-----------------------------------------------------------


h.huisman@rad.umcn.nl wrote:
> Hi,
> 
> Would like to interpolate in between gradient vectors that are of the 
> itkCovariantVector type. Unfortunately,  VectorInterpolateImageFunction
> does not accept this type. Somebody has a solution?
> 
> 
> Henkjan
> 
> ---------------------------------------------------------------------
> H.J. Huisman, PhD, MSEE       E : h.huisman@rad.umcn.nl
> Biomedical Physicist          T : +31 24 3617536/14545
> Dept. Radiology               F : +31 24 3540866
> UMC St. Radboud               S : 430 Radiologie/POBox 9101/
>                                   6500HB Nijmegen/Netherlands
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
> 
>