#endif
#if ITK_VERSION_MAJOR >= 4
#include "itkGDCMImageIOFactory.h"
+ #include "itkPNGImageIOFactory.h"
#endif
//--------------------------------------------------------------------
itk::GDCMImageIOFactory::UnRegisterFactory(*it);
break;
}
+
+ std::list< itk::ObjectFactoryBase * > flpng = itk::PNGImageIOFactory::GetRegisteredFactories();
+ for (std::list< itk::ObjectFactoryBase * >::iterator it = flpng.begin(); it != flpng.end(); ++it)
+ if (dynamic_cast<itk::PNGImageIOFactory *>(*it))
+ {
+ itk::PNGImageIOFactory::UnRegisterFactory(*it);
+ break;
+ }
#endif
#if CLITK_PRIVATE_FEATURES
clitk::UsfImageIOFactory::RegisterOneFactory();
clitk::EsrfHstImageIOFactory::RegisterOneFactory();
#if ITK_VERSION_MAJOR >= 4
itk::GDCMImageIOFactory::RegisterOneFactory();
+ itk::PNGImageIOFactory::RegisterOneFactory();
#endif
} ////