support_dcmtk.h
Go to the documentation of this file.
1 /*
2 * ECVL - European Computer Vision Library
3 * Version: 1.0.3
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 SUPPORT_DCMTK_H_
15 #define SUPPORT_DCMTK_H_
16 
17 #include "ecvl/core/filesystem.h"
18 #include "ecvl/core/image.h"
19 
20 namespace ecvl
21 {
34 extern bool DicomRead(const ecvl::filesystem::path& filename, Image& dst);
35 
47 extern bool DicomWrite(const ecvl::filesystem::path& filename, const Image& src);
48 
49 struct InitDCMTK
50 {
51  InitDCMTK();
52  ~InitDCMTK();
53 };
54 
58 } // namespace ecvl
59 
60 #endif // SUPPORT_DCMTK_H_
bool DicomWrite(const ecvl::filesystem::path &filename, const Image &src)
Saves an image into a specified DICOM file.
Definition: any.h:69
bool DicomRead(const ecvl::filesystem::path &filename, Image &dst)
Loads an image from a DICOM file.