25 #ifndef __TERRALIB_RP_INTERNAL_SEGMENTERSTRATEGY_H 26 #define __TERRALIB_RP_INTERNAL_SEGMENTERSTRATEGY_H 34 #include "../raster/Raster.h" 66 virtual bool initialize(
68 throw( te::rp::Exception ) = 0;
95 const std::vector< unsigned int >& inputRasterBands,
96 const std::vector< std::complex< double > >& inputRasterNoDataValues,
97 const std::vector< std::complex< double > >& inputRasterBandMinValues,
98 const std::vector< std::complex< double > >& inputRasterBandMaxValues,
100 const unsigned int outputRasterBand,
101 const bool enableProgressInterface )
throw( te::rp::Exception ) = 0;
110 virtual double getMemUsageEstimation(
const unsigned int bandsToProcess,
111 const unsigned int pixelsNumber )
const = 0;
120 virtual unsigned int getOptimalBlocksOverlapSize()
const = 0;
126 virtual bool shouldComputeMinMaxValues()
const = 0;
139 const std::string& getErrorMessage()
const;
150 void setErrorMessage(
const std::string& newErrorMessage );
167 #endif // __TERRALIB_RP_INTERNAL_ALGORITHM_H Segmenter segments IDs manager.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_errorMessage
Current error message.
Segmenter Strategy Parameters.
An abstract class for raster data strucutures.
Raster segmenter strategy base class.
rasterPointer reset(te::rst::RasterFactory::make("MEM", new te::rst::Grid(nCols, nLines), bandsProps, std::map< std::string, std::string >(), 0, 0))
Raster segmenter strategy parameters base class.
BlocksMergingMethod
Blocks merging method.
Segmenter segments block description class.
Configuration flags for the Raster Processing module of TerraLib.