Go to the documentation of this file.
   25 #ifndef __TERRALIB_RP_INTERNAL_SEGMENTERSTRATEGY_H 
   26 #define __TERRALIB_RP_INTERNAL_SEGMENTERSTRATEGY_H 
   34 #include "../raster/Raster.h" 
   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;          
 
  111           const unsigned int pixelsNumber ) 
const = 0;  
 
  167 #endif  // __TERRALIB_RP_INTERNAL_ALGORITHM_H 
  
 
Raster segmenter strategy base class.
 
virtual ~SegmenterStrategy()
 
An abstract class for raster data strucutures.
 
void setErrorMessage(const std::string &newErrorMessage)
Set the current error message.
 
virtual bool initialize(SegmenterStrategyParameters const *const strategyParams)=0
Initialize the segmentation strategy.
 
Segmenter Strategy Parameters.
 
SegmenterStrategy & operator=(const SegmenterStrategy &)
 
Raster segmenter strategy parameters base class.
 
virtual void reset()
Clear all internal allocated resources and go back to the initial not-initialized state.
 
const std::string & getErrorMessage() const
Return the current error message if there is any.
 
An exception class for the XML module.
 
std::string m_errorMessage
Current error message.
 
virtual unsigned int getOptimalBlocksOverlapSize() const =0
Returns a optimal blocks overlap size (number of border pixels overlapped between blocks,...
 
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
virtual bool shouldComputeMinMaxValues() const =0
Returns if the min and max pixel values should be computed.
 
virtual bool execute(SegmenterIdsManager &segmenterIdsManager, const te::rp::SegmenterSegmentsBlock &block2ProcessInfo, const te::rst::Raster &inputRaster, const std::vector< unsigned int > &inputRasterBands, const std::vector< std::complex< double > > &inputRasterNoDataValues, const std::vector< std::complex< double > > &inputRasterBandMinValues, const std::vector< std::complex< double > > &inputRasterBandMaxValues, te::rst::Raster &outputRaster, const unsigned int outputRasterBand, const bool enableProgressInterface)=0
Executes the segmentation strategy over region delimited by the given block.
 
Proxy configuration file for TerraView (see terraview_config.h).
 
SegmenterStrategy(const SegmenterStrategy &)
 
BlocksMergingMethod
Blocks merging method.
 
virtual double getMemUsageEstimation(const unsigned int bandsToProcess, const unsigned int pixelsNumber) const =0
Returns a memory estimation (bytes).
 
Segmenter segments IDs manager.
 
Segmenter segments block description class.
 
virtual BlocksMergingMethod getBlocksMergingMethod() const =0
Return the strategy blocks merging method.