SegmenterRegionGrowingStrategyParameters.h
Go to the documentation of this file.
1 /* Copyright (C) 2015 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/rp/SegmenterRegionGrowingMeanStrategy.h
22  \brief Raster region growing segmenter Mean strategy.
23  */
24 
25 #ifndef __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSTRATEGYPARAMETERS_H
26 #define __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSTRATEGYPARAMETERS_H
27 
29 #include "Config.h"
30 
31 namespace te
32 {
33  namespace rp
34  {
35  /*!
36  \class SegmenterRegionGrowingStrategyParameters
37  \brief Segmenter Region Growing Strategy Parameters
38  */
41  {
42  public:
43 
44  unsigned int m_minSegmentSize; //!< A positive minimum segment size (pixels number - default: 1).
45 
46  double m_segmentsSimilarityThreshold; //!< Segments similarity treshold - Use lower values to merge only those segments that are more similar - Higher values will allow more segments to be merged - valid values range: positive values - default: 0 ).
47 
48  unsigned int m_segmentsSimIncreaseSteps; //!< The maximum number of steps to increment the similarity threshold value for the cases where no segment merge occurred - zero will disable segment similarity threshold increments - defaul: 2.
49 
50  bool m_enableLocalMutualBestFitting; //!< If enabled, a merge only occurs between two segments if the minimum dissimilarity criteria is best fulfilled mutually (default: false).
51 
53 
54  //overload
57 
58  //overload
59  virtual void reset() _NOEXCEPT_OP(false);
60 
61  protected :
62 
64  };
65  } // end namespace rp
66 } // end namespace te
67 
68 #endif // __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSTRATEGYPARAMETERS_H
unsigned int m_minSegmentSize
A positive minimum segment size (pixels number - default: 1).
unsigned int m_segmentsSimIncreaseSteps
The maximum number of steps to increment the similarity threshold value for the cases where no segmen...
#define _NOEXCEPT_OP(x)
TerraLib.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:139
bool m_enableLocalMutualBestFitting
If enabled, a merge only occurs between two segments if the minimum dissimilarity criteria is best fu...
Configuration flags for the Raster Processing module of TerraLib.
Raster segmenter strategy parameters base class.
double m_segmentsSimilarityThreshold
Segments similarity treshold - Use lower values to merge only those segments that are more similar - ...