Enums.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18 */
19 
20 /*!
21  \file terralib/raster/Enums.h
22 
23  \brief Enumerations for the Raster module.
24 */
25 
26 #ifndef __TERRALIB_RASTER_INTERNAL_ENUMS_H
27 #define __TERRALIB_RASTER_INTERNAL_ENUMS_H
28 
29 namespace te
30 {
31  namespace rst
32  {
33  /*!
34  \enum SummaryTypes
35 
36  \brief Types for the BandSummary.
37  */
39  {
40  SUMMARY_MIN = 1, //!< Calculate the min value.
41  SUMMARY_MAX = 2, //!< Calculate the max value.
42  SUMMARY_STD = 4, //!< Calculate the standard deviation value.
43  SUMMARY_MEAN = 8, //!< Calculate the mean value.
44  SUMMARY_R_HISTOGRAM = 16, //!< Calculate the histogram for the real part.
45  SUMMARY_I_HISTOGRAM = 32, //!< Calculate the histogram for the imaginary part.
46  SUMMARY_ALL = 63 //!< Calculate all the summary types.
47  };
48 
49  /*!
50  \enum ColorInterp
51 
52  \brief Color model component use.
53  */
55  {
56  UndefCInt, //!< No color interpretation is associated with the band.
57  GrayIdxCInt, //!< Index into a lookup table.
58  PaletteIdxCInt, //!< Palette indexes color interpretation.
59  RedCInt, //!< Red channel color interpretation.
60  GreenCInt, //!< Green channel color interpretation.
61  BlueCInt, //!< Blue channel color interpretation.
62  AlphaCInt, //!< Alpha channel color interpretation.
63  HueCInt, //!< Hue channel color interpretation.
64  SatCInt, //!< Saturation color interpretation.
65  LigCInt, //!< Lightness color interpretation.
66  CyanCInt, //!< Cyan color interpretation.
67  MagentaCInt, //!< Magenta color interpretation.
68  YellowCInt, //!< Yellow color interpretation.
69  KeyCInt, //!< Key (black) color interpretation.
70  YCInt, //!< YCbCr Y Band color interpretation.
71  CbCInt, //!< YCbCr Cb Band color interpretation.
72  CrCInt //!< YCbCr Cr Band color interpretation.
73  };
74 
75  /*!
76  \enum PaletteInterpretation
77 
78  \brief Palette interpratation types.
79  */
81  {
82  UndefPalInt, //!< Undefined palette interpretation.
83  GrayPalInt, //!< Gray indexed palette interpretation.
84  RGBPalInt, //!< RGB indexed palette interpretation.
85  CMYKPalInt, //!< CMYK indexed palette interpretation.
86  HSLPalInt //!< HSL indexed palette interpretation.
87  };
88 
89  /*!
90  \brief Allowed interpolation methods.
91  */
93  {
94  UndefInterpMethod = 0, //!< Undefined interpolation method.
95  NearestNeighbor = 1, //!< Near neighborhood interpolation method.
96  Bilinear = 2, //!< Bilinear interpolation method.
97  Bicubic = 3 //!< Bicubic interpolation method.
98  };
99 
100  } // end namespace rst
101 } // end namespace te
102 
103 #endif // __TERRALIB_RASTER_INTERNAL_ENUMS_H
Calculate the histogram for the imaginary part.
Definition: Enums.h:45
HSL indexed palette interpretation.
Definition: Enums.h:86
Palette indexes color interpretation.
Definition: Enums.h:58
Near neighborhood interpolation method.
Definition: Enums.h:95
Hue channel color interpretation.
Definition: Enums.h:63
Alpha channel color interpretation.
Definition: Enums.h:62
Index into a lookup table.
Definition: Enums.h:57
Lightness color interpretation.
Definition: Enums.h:65
ColorInterp
Color model component use.
Definition: Enums.h:54
RGB indexed palette interpretation.
Definition: Enums.h:84
Gray indexed palette interpretation.
Definition: Enums.h:83
Red channel color interpretation.
Definition: Enums.h:59
Cyan color interpretation.
Definition: Enums.h:66
InterpolationMethod
Allowed interpolation methods.
Definition: Enums.h:92
YCbCr Cr Band color interpretation.
Definition: Enums.h:72
Calculate the standard deviation value.
Definition: Enums.h:42
SummaryTypes
Types for the BandSummary.
Definition: Enums.h:38
URI C++ Library.
No color interpretation is associated with the band.
Definition: Enums.h:56
Undefined palette interpretation.
Definition: Enums.h:82
Key (black) color interpretation.
Definition: Enums.h:69
Yellow color interpretation.
Definition: Enums.h:68
Bicubic interpolation method.
Definition: Enums.h:97
YCbCr Y Band color interpretation.
Definition: Enums.h:70
Bilinear interpolation method.
Definition: Enums.h:96
CMYK indexed palette interpretation.
Definition: Enums.h:85
Saturation color interpretation.
Definition: Enums.h:64
Blue channel color interpretation.
Definition: Enums.h:61
PaletteInterpretation
Palette interpratation types.
Definition: Enums.h:80
Calculate the min value.
Definition: Enums.h:40
Undefined interpolation method.
Definition: Enums.h:94
Green channel color interpretation.
Definition: Enums.h:60
Calculate the max value.
Definition: Enums.h:41
Calculate the mean value.
Definition: Enums.h:43
Magenta color interpretation.
Definition: Enums.h:67
YCbCr Cb Band color interpretation.
Definition: Enums.h:71
Calculate the histogram for the real part.
Definition: Enums.h:44
Calculate all the summary types.
Definition: Enums.h:46