[Insight-users] Re: help: converting MetaImage to VTK

Luis Ibanez luis.ibanez@kitware.com
Mon, 24 Mar 2003 09:12:35 -0500


Hi Zhuo,

ImageReadWrite will select the file format
based on the extension of the filename you
give to it.

Make sure that you put ".vtk" as extension
for the output filename.

The command line should simply be:


   ImageReadWrite  image.mha   image.vtk


What command line are you using now ?



Regards,


  Luis


-------------------------------------------------
zhuo Chen wrote:
> I have already executed ImageReadWrite.cxx. But I
> think it is the same as program MetaImageImporter,no
> matter the procedure(all the input information) or the
> result.the result is a .mhd file as large as
> MetaImageImporter, and I don't find any .vtk file.
> Why?
> Do you have MSN address?
> 
> _________________________________________________________
> Do You Yahoo!? 
> 更多惊喜,同样精彩,NetVista A30 热卖
> http://ad.cn.doubleclick.net/clk;5313999;7930402;p?http://www.ibm.com/cn/promotion/pc/netvista_a30/index.shtml
>