This file contains functions containing the algorithms for grouping values. More...
#include "Config.h"#include "../core/translator/Translator.h"#include "../common/StringUtils.h"#include "../fe/Utils.h"#include "../se/Description.h"#include "../se/Rule.h"#include <string>#include <vector>#include <cmath>#include <stdlib.h>Go to the source code of this file.
Namespaces | |
| te | |
| URI C++ Library. | |
| te::map | |
| Namespace for the Map Tools module of TerraLib. | |
Macros | |
| #define | MAX(a, b) ( (a>b) ? a : b ) |
| Macro that returns max between two values. More... | |
| #define | MIN(a, b) ( (a<b) ? a : b ) |
| Macro that returns min between two values. More... | |
Functions | |
| TEMAPEXPORT double | te::map::AdjustToPrecision (double val, int precision, bool reduce=false) |
| It adjusts a value to the precision specified. More... | |
| template<class iterator > | |
| void | te::map::GroupingByEqualSteps (std::string attrName, iterator begin, iterator end, int nSteps, std::vector< te::se::Rule * > &rules, int precision=0) |
| It groups the values defined by a range of iterators using the equal steps algorithm. More... | |
| template<class iterator > | |
| void | te::map::GroupingByQuantil (std::string attrName, iterator begin, iterator end, int nSteps, std::vector< te::se::Rule * > &rules, int precision=0) |
| It groups the values defined by a range of iterators using the quantil algorithm. More... | |
| template<class iterator > | |
| void | te::map::GroupingByStdDeviation (std::string attrName, iterator begin, iterator end, double nDevs, std::vector< te::se::Rule * > &rules, std::string &meanTitle, int precision=0) |
| It groups the values defined by a range of iterators using the standard deviation algorithm. More... | |
| TEMAPEXPORT void | te::map::GroupingByUniqueValues (std::string attrName, std::vector< std::string > &inputValues, int dataType, std::vector< te::se::Rule * > &rules, int precision) |
| It groups the values using the unique value algorithm. More... | |
This file contains functions containing the algorithms for grouping values.
Definition in file GroupingAlgorithms.h.
Macro that returns max between two values.
Definition at line 50 of file GroupingAlgorithms.h.
Referenced by te::rp::ConvertIHS2RGB(), te::rp::ConvertRGB2HLS(), te::rp::ArithmeticOperations::execute(), te::rp::TiePointsLocatorStrategy::features2Tiff(), te::rp::Segmenter::genImageHCutOffProfile(), te::rp::Segmenter::genImageVCutOffProfile(), te::map::GroupingByEqualSteps(), te::map::GroupingByStdDeviation(), te::rp::TiePointsLocatorStrategy::loadRasterData(), te::mnt::Max(), te::rp::IHSFusion::saveIHSData(), and te::rp::Segmenter::updateBlockCutOffProfiles().
Macro that returns min between two values.
Definition at line 46 of file GroupingAlgorithms.h.
Referenced by te::rp::Blender::blendIntoRaster1(), te::rp::ConvertIHS2RGB(), te::rp::ConvertRGB2HLS(), te::rp::ArithmeticOperations::execute(), te::rp::Segmenter::execute(), te::rp::TiePointsLocatorStrategy::features2Tiff(), te::rp::Segmenter::genImageHCutOffProfile(), te::rp::Segmenter::genImageVCutOffProfile(), te::map::GroupingByEqualSteps(), te::map::GroupingByStdDeviation(), te::mnt::Min(), te::rp::IHSFusion::saveIHSData(), and te::rp::Segmenter::updateBlockCutOffProfiles().