[Insight-users] VectorImage Writing Problem

Luis Ibanez luis.ibanez@kitware.com
Tue, 21 Jan 2003 10:17:36 -0500


Hi Raluca,

Yeap, there is a limitation in the DefaultPixelTraits used
as default parameter for the ImageFileReader.  I'm trying
to add the support for PixelType=Offset.

It may be interesting to add it for VectorPixelType too
but it will look ugly due to the lack of support for
partial specialization in VC++...


Luis


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

Raluca wrote:
> Hi everyone,
> 
> I'm trying to write the VectorDistanceMap image produced by the Danielsson
> Filter, which has a PixelType of Offset<3>, as a Meta Image. After having
> updated the ImageIOBase.cxx file in ITK the program produces the .mha and
> .mha.raw files but I have just noticed that the .mha file only contains the
> header and the .raw file is empty! I get no writing error. I also checked if
> the filter updates correctly and it does ... the image is created and I can
> access pixel values.
> 
> Can anyone help?
> Thanks
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
> 
>