[Insight-users] ITK-TIF-support: 3D supported but float not?
Luis Ibanez
luis.ibanez at kitware.com
Tue Jul 28 07:34:38 EDT 2009
Hi Lynx,
The ITK implementation of TIFF only supports
* signed char
* unsigned char
* signed short
* unsigned short
(a grep for "m_ComponentType" in the itkTIFFImageIO
will reveal as much).
It is possible, however, that the underlying "tiff" libraries
support "float" as a pixel type.
But that functionality is not exposed at this point.
As Dan suggested, you may want to use the MetaImage
file format instead of TIFF.
Regards,
Luis
---------------------------------------------
On Sun, Jul 26, 2009 at 7:21 AM, <lynx.abraxas at freenet.de> wrote:
> Hello!
>
>
> Using TIF as my input and output file format I noticed that I can load
> 3D-TIF
> with itk::ImageFileReader. (It says only 2D is possible in the
> wiki
> http://www.itk.org/Wiki/ITK_File_Formats.) However I was not able to
> save a
> TIF in pixel type float (for a more exact distance map). Weren't both
> float
> and 3D introduced with TIFF 6.0?
>
> Is there no "popular" file format supported together with float or doulbe
> in
> ITK?
> What file format should I use for float or double and what viewer?
> I tried the vtk image format (suffix: .vtk) but ParaView seems to
> destinguish
> between diffrent vtk types. Would I just have to rename *.vtk to *.vti for
> my
> floats?
>
>
> Thanks.
> Lynx
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090728/ab162fd7/attachment.htm>
More information about the Insight-users
mailing list