support_nifti.h
Go to the documentation of this file.
1 /*
2 * ECVL - European Computer Vision Library
3 * Version: 0.3.4
4 * copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
5 * Authors:
6 * Costantino Grana (costantino.grana@unimore.it)
7 * Federico Bolelli (federico.bolelli@unimore.it)
8 * Michele Cancilla (michele.cancilla@unimore.it)
9 * Laura Canalini (laura.canalini@unimore.it)
10 * Stefano Allegretti (stefano.allegretti@unimore.it)
11 * All rights reserved.
12 */
13 
14 #ifndef ECVL_SUPPORT_NIFTI_H_
15 #define ECVL_SUPPORT_NIFTI_H_
16 
17 #include "ecvl/core/filesystem.h"
18 #include "ecvl/core/image.h"
19 
20 namespace ecvl
21 {
34 bool NiftiRead(const ecvl::filesystem::path& filename, Image& dst);
35 
47 bool NiftiWrite(const ecvl::filesystem::path& filename, const Image& src);
48 } // namespace ecvl
49 
50 #endif // ECVL_SUPPORT_NIFTI_H_
bool NiftiWrite(const ecvl::filesystem::path &filename, const Image &src)
Saves an image into a specified nifti file.
bool NiftiRead(const ecvl::filesystem::path &filename, Image &dst)
Loads a nifti image from a file.