Add reader/writer for NIFTIv1 and NIFTIv2 files.
This patch adds support for reading and writing NIFTI files, as well as full access to the NIFTI header. Versions 1 and 2 of the NIFTI header are supported, and the reader can also be used to read Analyze 7.5 files, though the only Analyze header elements that are supported are the ones that overlap with NIFTI. Automatic compression and expansion for gzipped files is also provided whenever the filename ends with a .gz extension. Change-Id: Iead3afb1a65d8c01aa52f3ca55c6da2f08703375
Showing
- IO/Image/CMakeLists.txt 8 additions, 0 deletionsIO/Image/CMakeLists.txt
- IO/Image/Testing/Cxx/CMakeLists.txt 3 additions, 0 deletionsIO/Image/Testing/Cxx/CMakeLists.txt
- IO/Image/Testing/Cxx/TestNIFTI2.cxx 183 additions, 0 deletionsIO/Image/Testing/Cxx/TestNIFTI2.cxx
- IO/Image/Testing/Cxx/TestNIFTIReaderAnalyze.cxx 146 additions, 0 deletionsIO/Image/Testing/Cxx/TestNIFTIReaderAnalyze.cxx
- IO/Image/Testing/Cxx/TestNIFTIReaderWriter.cxx 345 additions, 0 deletionsIO/Image/Testing/Cxx/TestNIFTIReaderWriter.cxx
- IO/Image/Testing/Data/Baseline/TestNIFTI2.png.md5 1 addition, 0 deletionsIO/Image/Testing/Data/Baseline/TestNIFTI2.png.md5
- IO/Image/Testing/Data/Baseline/TestNIFTIReaderAnalyze.png.md5 1 addition, 0 deletions...mage/Testing/Data/Baseline/TestNIFTIReaderAnalyze.png.md5
- IO/Image/Testing/Data/Baseline/TestNIFTIReaderWriter.png.md5 1 addition, 0 deletionsIO/Image/Testing/Data/Baseline/TestNIFTIReaderWriter.png.md5
- IO/Image/Testing/Python/CMakeLists.txt 1 addition, 0 deletionsIO/Image/Testing/Python/CMakeLists.txt
- IO/Image/Testing/Python/TestNIFTIReaderWriter.py 154 additions, 0 deletionsIO/Image/Testing/Python/TestNIFTIReaderWriter.py
- IO/Image/module.cmake 1 addition, 0 deletionsIO/Image/module.cmake
- IO/Image/vtkNIFTIImageHeader.cxx 453 additions, 0 deletionsIO/Image/vtkNIFTIImageHeader.cxx
- IO/Image/vtkNIFTIImageHeader.h 383 additions, 0 deletionsIO/Image/vtkNIFTIImageHeader.h
- IO/Image/vtkNIFTIImagePrivate.h 277 additions, 0 deletionsIO/Image/vtkNIFTIImagePrivate.h
- IO/Image/vtkNIFTIImageReader.cxx 1337 additions, 0 deletionsIO/Image/vtkNIFTIImageReader.cxx
- IO/Image/vtkNIFTIImageReader.h 212 additions, 0 deletionsIO/Image/vtkNIFTIImageReader.h
- IO/Image/vtkNIFTIImageWriter.cxx 930 additions, 0 deletionsIO/Image/vtkNIFTIImageWriter.cxx
- IO/Image/vtkNIFTIImageWriter.h 177 additions, 0 deletionsIO/Image/vtkNIFTIImageWriter.h
- Testing/Data/ANALYZE.HDR.md5 1 addition, 0 deletionsTesting/Data/ANALYZE.HDR.md5
- Testing/Data/ANALYZE.IMG.GZ.md5 1 addition, 0 deletionsTesting/Data/ANALYZE.IMG.GZ.md5
Loading
Please register or sign in to comment