From 76cb56bd218174617a59ed4076b1f6b3060448fa Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 9 Jun 2016 10:28:47 +0200 Subject: [PATCH] Allow to open mhd/jpeg/... images with a static compilation with a .pro file --- common/clitkIO.cxx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx index 63e3be1..9f3fa11 100644 --- a/common/clitkIO.cxx +++ b/common/clitkIO.cxx @@ -43,8 +43,15 @@ #include "clitkUSVoxImageIOFactory.h" #include "clitkSvlImageIOFactory.h" #endif -#include "itkGDCMImageIOFactory.h" -#include "itkPNGImageIOFactory.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include //-------------------------------------------------------------------- // Register factories @@ -81,7 +88,14 @@ void clitk::RegisterClitkFactories() rtk::ImagXImageIOFactory::RegisterOneFactory(); rtk::XRadImageIOFactory::RegisterOneFactory(); clitk::EsrfHstImageIOFactory::RegisterOneFactory(); + itk::BMPImageIOFactory::RegisterOneFactory(); itk::GDCMImageIOFactory::RegisterOneFactory(); + itk::GiplImageIOFactory::RegisterOneFactory(); + itk::JPEGImageIOFactory::RegisterOneFactory(); + itk::MetaImageIOFactory::RegisterOneFactory(); itk::PNGImageIOFactory::RegisterOneFactory(); + itk::StimulateImageIOFactory::RegisterOneFactory(); + itk::TIFFImageIOFactory::RegisterOneFactory(); + itk::VTKImageIOFactory::RegisterOneFactory(); } //// -- 2.47.1