[Insight-developers] using VectorInterpolateImageFunction with images of CovariantVectors
Luis Ibanez
luis.ibanez@kitware.com
Wed, 13 Nov 2002 10:02:16 -0500
Hi Josh,
The changes on:
FixedArray, Vector, CovariantVector, and RGBPixel
were made last night. All these classes are now
using "Dimension". Other classes that used references
to "VectorDimension" were modified as well.
A test for interpolating a RGB image was added to
Insight/Testing/Code/Common/
as:
itkRGBInterpolateImageFunctionTest.cxx
This seems to be working ok.
I may have missed some changes though...
please let me know if there is any problem.
Luis
=====================================
Joshua Cates wrote:
> Hi Luis,
>
>
>>The first probably need to be a bit different since types are not
>>inherited on the SGI's. In principle from the Vector we don't have
>>access to the "Length" defined in the FixedArray. We will have to
>>explicitly ask for the Superclass type instead of T::
>>something like
>>
>>itkStaticConstMacro(VectorDimension,int,SuperClass::Length);
>>
>
> The drawback of this approach is that images of FixedArrays will not be
> supported, only FixedArray subclasses. Maybe it is better to add a
> Dimension enum to all classes as you first suggested.
>
>
>
> Josh.
>
>
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>
>