plastimatch
Loading...
Searching...
No Matches
itk_image_save.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _itk_image_save_h_
5#define _itk_image_save_h_
6
7#include "plmbase_config.h"
8#include "itk_image_type.h"
9#include "plm_image_type.h"
10
11class Metadata;
13
14/* -----------------------------------------------------------------------
15 Function prototypes
16 ----------------------------------------------------------------------- */
17PLMBASE_API void itk_image_save (const FloatImageType::Pointer& img_ptr,
18 const std::string& fname, Plm_image_type image_type);
19PLMBASE_API void itk_image_save (const FloatImageType::Pointer& img_ptr,
20 const char* fname, Plm_image_type image_type);
21template<class T> PLMBASE_API void itk_image_save (T img_ptr, const char* fname);
22template<class T> PLMBASE_API void itk_image_save (T img_ptr, const std::string& fname);
23template<class T> PLMBASE_API void itk_image_save_short_dicom (T image, const char* dir_name, Rt_study_metadata *);
24
25template<class T> PLMBASE_API void itk_image_save_char (T img_ptr, const char* fname);
26template<class T> PLMBASE_API void itk_image_save_uchar (const T img_ptr, const char* fname);
27template<class T> PLMBASE_API void itk_image_save_short (T img_ptr, const char* fname);
28template<class T> PLMBASE_API void itk_image_save_ushort (T img_ptr, const char* fname);
29template<class T> PLMBASE_API void itk_image_save_int32 (T img_ptr, const char* fname);
30template<class T> PLMBASE_API void itk_image_save_uint32 (T img_ptr, const char* fname);
31template<class T> PLMBASE_API void itk_image_save_float (T img_ptr, const char* fname);
32template<class T> PLMBASE_API void itk_image_save_double (T img_ptr, const char* fname);
33#endif
The Metadata class encapsulate DICOM metadata for a single series. It is implemented as a map from st...
Definition metadata.h:24
The Rt_study_metadata encapsulate DICOM metadata for an Rt_study. The Rt_study_metadata includes sepa...
Definition rt_study_metadata.h:27
void itk_image_save_int32(T img_ptr, const char *fname)
Definition itk_image_save.cxx:145
void itk_image_save_double(T img_ptr, const char *fname)
Definition itk_image_save.cxx:169
void itk_image_save_char(T img_ptr, const char *fname)
Definition itk_image_save.cxx:99
void itk_image_save_float(T img_ptr, const char *fname)
Definition itk_image_save.cxx:161
void itk_image_save_uint32(T img_ptr, const char *fname)
Definition itk_image_save.cxx:153
void itk_image_save_ushort(T img_ptr, const char *fname)
Definition itk_image_save.cxx:123
void itk_image_save_uchar(const T img_ptr, const char *fname)
Definition itk_image_save.cxx:107
void itk_image_save(const FloatImageType::Pointer &img_ptr, const std::string &fname, Plm_image_type image_type)
Definition itk_image_save.cxx:27
void itk_image_save_short(T img_ptr, const char *fname)
Definition itk_image_save.cxx:115
void itk_image_save_short_dicom(T image, const char *dir_name, Rt_study_metadata *)
Plm_image_type
Definition plm_image_type.h:11
#define PLMBASE_API
Definition plmbase_config.h:19