plastimatch
Loading...
Searching...
No Matches
itk_image_type.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_type_h_
5#define _itk_image_type_h_
6
7#include "plmbase_config.h"
8
9/* itkImage.h emits warnings on gcc when used with itkKernelTransform */
10//#if (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6)
11//#pragma GCC diagnostic push
12//#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
13//#endif
14#include "itkImage.h"
15//#if (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6)
16//#pragma GCC diagnostic pop
17//#endif
18
19#include "itkImageIOBase.h"
20#include "itkVectorImage.h"
21
22#include "itk_point.h"
23
24
25/* 4D images */
26typedef itk::Image < unsigned char, 4 > UCharImage4DType;
27
28/* 3D images */
29typedef itk::Image < char, 3 > CharImageType;
30typedef itk::Image < unsigned char, 3 > UCharImageType;
31typedef itk::Image < short, 3 > ShortImageType;
32typedef itk::Image < unsigned short, 3 > UShortImageType;
33typedef itk::Image < int32_t, 3 > Int32ImageType;
34typedef itk::Image < uint32_t, 3 > UInt32ImageType;
35typedef itk::Image < int64_t, 3 > Int64ImageType;
36typedef itk::Image < uint64_t, 3 > UInt64ImageType;
37typedef itk::Image < float, 3 > FloatImageType;
38typedef itk::Image < double, 3 > DoubleImageType;
39
40typedef itk::VectorImage < unsigned char, 3 > UCharVecImageType;
41
42/* 2D images */
43typedef itk::Image < unsigned char, 2 > UCharImage2DType;
44typedef itk::Image < short, 2 > ShortImage2DType;
45typedef itk::Image < unsigned short, 2 > UShortImage2DType;
46typedef itk::Image < int32_t, 2 > Int32Image2DType;
47typedef itk::Image < uint32_t, 2 > UInt32Image2DType;
48typedef itk::Image < int64_t, 2 > Int64Image2DType;
49typedef itk::Image < uint64_t, 2 > UInt64Image2DType;
50typedef itk::Image < float, 2 > FloatImage2DType;
51typedef itk::Image < double, 2 > DoubleImage2DType;
52
53typedef itk::VectorImage < unsigned char, 2 > UCharVecImage2DType;
54/* Vector field */
55typedef itk::Image < FloatVector3DType, 3 > DeformationFieldType;
56
57#endif
itk::Image< uint32_t, 3 > UInt32ImageType
Definition itk_image_type.h:34
itk::Image< int64_t, 3 > Int64ImageType
Definition itk_image_type.h:35
itk::Image< uint32_t, 2 > UInt32Image2DType
Definition itk_image_type.h:47
itk::Image< FloatVector3DType, 3 > DeformationFieldType
Definition itk_image_type.h:55
itk::Image< short, 2 > ShortImage2DType
Definition itk_image_type.h:44
itk::VectorImage< unsigned char, 3 > UCharVecImageType
Definition itk_image_type.h:40
itk::VectorImage< unsigned char, 2 > UCharVecImage2DType
Definition itk_image_type.h:53
itk::Image< char, 3 > CharImageType
Definition itk_image_type.h:29
itk::Image< uint64_t, 3 > UInt64ImageType
Definition itk_image_type.h:36
itk::Image< unsigned char, 4 > UCharImage4DType
Definition itk_image_type.h:26
itk::Image< unsigned char, 2 > UCharImage2DType
Definition itk_image_type.h:43
itk::Image< uint64_t, 2 > UInt64Image2DType
Definition itk_image_type.h:49
itk::Image< int32_t, 2 > Int32Image2DType
Definition itk_image_type.h:46
itk::Image< unsigned char, 3 > UCharImageType
Definition itk_image_type.h:30
itk::Image< unsigned short, 3 > UShortImageType
Definition itk_image_type.h:32
itk::Image< double, 3 > DoubleImageType
Definition itk_image_type.h:38
itk::Image< double, 2 > DoubleImage2DType
Definition itk_image_type.h:51
itk::Image< int32_t, 3 > Int32ImageType
Definition itk_image_type.h:33
itk::Image< int64_t, 2 > Int64Image2DType
Definition itk_image_type.h:48
itk::Image< unsigned short, 2 > UShortImage2DType
Definition itk_image_type.h:45
itk::Image< short, 3 > ShortImageType
Definition itk_image_type.h:31
itk::Image< float, 3 > FloatImageType
Definition itk_image_type.h:37
itk::Image< float, 2 > FloatImage2DType
Definition itk_image_type.h:50