[Insight-users] Error in writing a file mha and mhd format

Vu Hong Thuan thuanvh at gmail.com
Thu Nov 17 20:28:51 EST 2011


Hi,
I built the example of writing file:
http://www.vtk.org/Wiki/ITK/Examples/IO/ImageFileWriter
with visual C++ and I get the error of writing file png.

And I think the reason that m_RegisteredFactories is not initialized well?
Thuan,


2011/11/18 Bill Lorensen <bill.lorensen at gmail.com>

> ITKv4 supports the writing of .mha and .mhd.
>
> Can you provide an example that fails?
>
> On Thu, Nov 17, 2011 at 4:30 AM, Vu Hong Thuan <thuanvh at gmail.com> wrote:
> > Hi all,
> > I start to use the latest version of itk (4.0rc20). But I meet an error
> in
> > creating file mha or mhd format.
> > Description:  Could not create IO object for file
> outputImageBsplineFine.mhd
> >   Tried to create one of the following:
> >   You probably failed to set a file suffix, or
> >     set the suffix to an unsupported type.
> > I think this is bug of itk. Do you support the writing .mha or .mhd
> format
> > in this version?
> > Thanks.
> > Thuan.
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.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
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111118/e037676e/attachment.htm>


More information about the Insight-users mailing list