[ITK-users] Error while reading Unknown Image Information

scap3y scapegoat.sarthak at gmail.com
Tue Mar 17 11:10:36 EDT 2015


Hi Matt,

Thanks for your reply.

I am hesitant to do this since I just want to read image properties
automatically. Doing a manual registration seems like an overkill and to be
honest seems to mitigate the main idea behind problem in the first place. In
any case, this shouldn't be required if I am using CMake to configure the
project, correct? I am using a pretty standard CMakeLists file for attaching
ITK includes and libraries to my project (taken from the previously
mentioned example). Since the ImageIOFactory should be automatically
registered, I am confused regarding what I am doing wrong.

Best,
Sarthak


Matt McCormick-2 wrote
> 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@

> > wrote:
> [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-tp7587007p7587024.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list