From: eduardo.davila@creatis.insa-lyon.fr Date: Thu, 13 Jun 2024 06:30:17 +0000 (+0200) Subject: #3332 Add niftimage to ReadImages box X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4df8ce04086b36aa19f2a86ce1c9515b34e4f9dc;p=creaImageIO.git #3332 Add niftimage to ReadImages box --- diff --git a/src/creaImageIOImageReader.cpp b/src/creaImageIOImageReader.cpp index 4eb7fa3..3dec1c2 100644 --- a/src/creaImageIOImageReader.cpp +++ b/src/creaImageIOImageReader.cpp @@ -45,6 +45,8 @@ #include #include #include +#include + //#include #include "boost/filesystem/path.hpp" @@ -68,6 +70,8 @@ namespace creaImageIO Register(boost::shared_ptr(new VtkImageReader(vtkBMPReader::New(), "BMP", ".bmp"))); Register(boost::shared_ptr(new VtkImageReader(vtkSLCReader::New()))); Register(boost::shared_ptr(new VtkImageReader(vtkMetaImageReader::New(),"MHD",".mhd"))); + Register(boost::shared_ptr(new VtkImageReader(vtkNIFTIImageReader::New(),"NIF",".nii.gz"))); + // Register(new VtkImageReader(vtkGESignalReader::New())); Register(boost::shared_ptr(new DicomImageReader)); Register(boost::shared_ptr(new UltrasonixImageReader));