src/terralib/raster/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.
HSL indexed palette interpretation.
Palette indexes color interpretation.
Near neighborhood interpolation method.
Hue channel color interpretation.
Alpha channel color interpretation.
Index into a lookup table.
Lightness color interpretation.
ColorInterp
Color model component use.
RGB indexed palette interpretation.
Gray indexed palette interpretation.
Red channel color interpretation.
Cyan color interpretation.
InterpolationMethod
Allowed interpolation methods.
YCbCr Cr Band color interpretation.
Calculate the standard deviation value.
SummaryTypes
Types for the BandSummary.
URI C++ Library.
Definition: Attributes.h:37
No color interpretation is associated with the band.
Undefined palette interpretation.
Key (black) color interpretation.
Yellow color interpretation.
Bicubic interpolation method.
YCbCr Y Band color interpretation.
Bilinear interpolation method.
CMYK indexed palette interpretation.
Saturation color interpretation.
Blue channel color interpretation.
PaletteInterpretation
Palette interpratation types.
Calculate the min value.
Undefined interpolation method.
Green channel color interpretation.
Calculate the max value.
Calculate the mean value.
Magenta color interpretation.
YCbCr Cb Band color interpretation.
Calculate the histogram for the real part.
Calculate all the summary types.