[ITK-users] Error while reading Unknown Image Information

Matt McCormick matt.mccormick at kitware.com
Tue Mar 17 10:49:21 EDT 2015


Hi Sarthak,

To perform manual registration call the static RegisterOneFactory()
method on the ImageIO class.  See, e.g.,

 http://www.itk.org/Doxygen/html/classitk_1_1VTKImageIOFactory.html#abd26950373ca63c737794504f09bb18a

HTH,
Matt

On Tue, Mar 17, 2015 at 9:53 AM, scap3y <scapegoat.sarthak at gmail.com> wrote:
> Hi Matt,
>
> Thanks for your reply.
>
> I am indeed using CMake for configuring my project (I don't think I have
> used anything else since the past 3-odd years; I am a huge CMake fan). Could
> you give me the details on how to do the registration for the different file
> formats?
>
> Much appreciated,
> Sarthak
>
>
> Matt McCormick-2 wrote
>> Hi Sarthak,
>>
>> It looks like a good improvement.
>>
>> The ImageIO's classes for the different file formats must be
>> registered to the factory.  When using CMake to configure your
>> project, this is done automatically.  When not using CMake, it must be
>> done manually.  Are you using CMake to configure your project?
>>
>> HTH,
>> Matt
>>
>> On Tue, Mar 17, 2015 at 9:14 AM, scap3y <
>
>> scapegoat.sarthak@
>
>> > wrote:
>>> Hi Matt,
>> [snip!]
>> _____________________________________
>> 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.php
>>
>> 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://public.kitware.com/mailman/listinfo/insight-users
>
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Error-while-reading-Unknown-Image-Information-tp7587007p7587022.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users


More information about the Insight-users mailing list