]> Creatis software - clitk.git/blobdiff - common/clitkIO.cxx
Debug nrrd and hdr IO with static compilation
[clitk.git] / common / clitkIO.cxx
index 9481d3a2ef404055ffeccc620d6fddf30f1e62dc..284afa949ea0fe0ba4eec5b717f48602d922fcf1 100644 (file)
@@ -52,7 +52,9 @@
 #include <itkStimulateImageIOFactory.h>
 #include <itkTIFFImageIOFactory.h>
 #include <itkVTKImageIOFactory.h>
-#include <itkNiftiImageIO.h>
+#include <itkNiftiImageIOFactory.h>
+#include <itkNrrdImageIOFactory.h>
+#include <itkImageIOFactory.h>
 
 //--------------------------------------------------------------------
 // Register factories
@@ -98,5 +100,7 @@ void clitk::RegisterClitkFactories()
   itk::StimulateImageIOFactory::RegisterOneFactory();
   itk::TIFFImageIOFactory::RegisterOneFactory();
   itk::VTKImageIOFactory::RegisterOneFactory();
+  itk::NiftiImageIOFactory::RegisterOneFactory();
+  itk::NrrdImageIOFactory::RegisterOneFactory();
 } ////