plastimatch
Loading...
Searching...
No Matches
itk_image_load.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_load_h_
5#define _itk_image_load_h_
6
7#include "plmbase_config.h"
8#include "itk_image_type.h"
9#include "plm_image_type.h"
10
11/* -----------------------------------------------------------------------
12 Function prototypes
13 ----------------------------------------------------------------------- */
14PLMBASE_API CharImageType::Pointer itk_image_load_char (const char* fname, Plm_image_type* original_type);
15PLMBASE_API UCharImageType::Pointer itk_image_load_uchar (const char* fname, Plm_image_type* original_type);
16PLMBASE_API UCharImageType::Pointer itk_image_load_uchar (const std::string& fname, Plm_image_type* original_type);
17PLMBASE_API ShortImageType::Pointer itk_image_load_short (const char* fname, Plm_image_type* original_type);
18PLMBASE_API UShortImageType::Pointer itk_image_load_ushort (const char* fname, Plm_image_type* original_type);
19PLMBASE_API Int32ImageType::Pointer itk_image_load_int32 (const char* fname, Plm_image_type* original_type);
20PLMBASE_API UInt32ImageType::Pointer itk_image_load_uint32 (const char* fname, Plm_image_type* original_type);
21PLMBASE_API Int64ImageType::Pointer itk_image_load_int64 (const char* fname, Plm_image_type* original_type);
22PLMBASE_API UInt64ImageType::Pointer itk_image_load_uint64 (const char* fname, Plm_image_type* original_type);
23PLMBASE_API FloatImageType::Pointer itk_image_load_float (const char* fname, Plm_image_type* original_type);
24PLMBASE_API FloatImageType::Pointer itk_image_load_float (const std::string& fname, Plm_image_type* original_type);
25PLMBASE_API DoubleImageType::Pointer itk_image_load_double (const char* fname, Plm_image_type* original_type);
26
27PLMBASE_API DeformationFieldType::Pointer itk_image_load_float_field (const char* fname);
28PLMBASE_API DeformationFieldType::Pointer itk_image_load_float_field (const std::string& fname);
29PLMBASE_API UCharVecImageType::Pointer itk_image_load_uchar_vec (const char* fname);
30
31template<class T> PLMBASE_API void get_image_header (int dim[3], float offset[3], float spacing[3], T image);
32
33#endif
ShortImageType::Pointer itk_image_load_short(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_short.cxx:9
Int32ImageType::Pointer itk_image_load_int32(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_int32.cxx:9
UInt32ImageType::Pointer itk_image_load_uint32(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_uint32.cxx:9
UCharVecImageType::Pointer itk_image_load_uchar_vec(const char *fname)
Definition itk_image_load_vec.cxx:9
FloatImageType::Pointer itk_image_load_float(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_float.cxx:9
CharImageType::Pointer itk_image_load_char(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_char.cxx:10
DeformationFieldType::Pointer itk_image_load_float_field(const char *fname)
Definition itk_image_load_vec.cxx:17
UInt64ImageType::Pointer itk_image_load_uint64(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_uint64.cxx:9
UShortImageType::Pointer itk_image_load_ushort(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_ushort.cxx:9
void get_image_header(int dim[3], float offset[3], float spacing[3], T image)
Int64ImageType::Pointer itk_image_load_int64(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_int64.cxx:9
UCharImageType::Pointer itk_image_load_uchar(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_uchar.cxx:9
DoubleImageType::Pointer itk_image_load_double(const char *fname, Plm_image_type *original_type)
Definition itk_image_load_double.cxx:9
Plm_image_type
Definition plm_image_type.h:11
#define PLMBASE_API
Definition plmbase_config.h:19