Image Component Library (ICL)
Types.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLCore/src/ICLCore/Types.h **
10 ** Module : ICLCore **
11 ** Authors: Christof Elbrechter, Robert Haschke **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #include <ICLUtils/BasicTypes.h>
34 
35 namespace icl {
36  namespace core{
37 
38  //forward declaration for the Image interface \ingroup TYPES
39  class ImgBase;
40 
42  template<class T> class Img;
43 
45  typedef Img<icl8u> Img8u;
46 
49 
52 
55 
58 
60  enum depth{
61  depth8u = 0,
62  depth16s = 1,
63  depth32s = 2,
64  depth32f = 3,
65  depth64f = 4,
67  };
68 
70  enum format{
71  formatGray = 0,
72  formatRGB = 1,
73  formatHLS = 2,
74  formatYUV = 3,
75  formatLAB = 4,
79  };
80 
81 
82  #ifdef ICL_HAVE_IPP
83  enum scalemode{
85  interpolateNN=IPPI_INTER_NN,
86  interpolateLIN=IPPI_INTER_LINEAR,
87  interpolateRA=IPPI_INTER_SUPER
88  };
89  #else
90  enum scalemode{
95  };
96  #endif
97 
99  enum axis{
100  #ifdef ICL_HAVE_IPP
101  axisHorz=ippAxsHorizontal,
102  axisVert=ippAxsVertical,
103  axisBoth=ippAxsBoth
104  #else
105  axisHorz,
106  axisVert,
107  axisBoth
108  #endif
109  };
110  } // namespace core
111 }
112 
Definition: Types.h:65
undocument this line if you encounter any issues!
Definition: Any.h:37
Img< icl32s > Img32s
typedef for 8bit integer images
Definition: Types.h:51
Definition: Types.h:78
Img< icl64f > Img64f
typedef for 64bit float images
Definition: Types.h:57
Definition: Types.h:63
Definition: Types.h:103
Definition: Types.h:74
Definition: Types.h:64
format
determines the color-format, that is associated with the images channels
Definition: Types.h:70
Definition: Types.h:62
Definition: Types.h:61
Img< icl8u > Img8u
typedef for 8bit integer images
Definition: Types.h:42
Img< icl16s > Img16s
typedef for 16bit integer images
Definition: Types.h:48
Definition: Types.h:66
scalemode
for scaling of Img images theses functions are provided
Definition: Types.h:84
Definition: Types.h:101
depth
determines the pixel type of an image (8Bit-int or 32Bit-float)
Definition: Types.h:60
Definition: Types.h:71
Definition: Types.h:85
Definition: Types.h:76
Img< icl32f > Img32f
typedef for 32bit float images
Definition: Types.h:54
axis
for flipping of images
Definition: Types.h:99
Definition: Types.h:75
Definition: Types.h:73
Definition: Types.h:102
Definition: Types.h:86
The Img class implements the ImgBase Image interface with type specific functionalities .
Definition: Img.h:49
Definition: Types.h:72
Definition: Types.h:77
Definition: Types.h:87