From 4df8ce04086b36aa19f2a86ce1c9515b34e4f9dc Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Thu, 13 Jun 2024 08:30:17 +0200 Subject: [PATCH] #3332 Add niftimage to ReadImages box --- src/creaImageIOImageReader.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- 2.47.1