25#ifndef __TERRALIB_RP_INTERNAL_POSTCLASSIFICATION_H
26#define __TERRALIB_RP_INTERNAL_POSTCLASSIFICATION_H
89 std::map< std::string, std::string >
m_rInfo;
142 unsigned int weight,
unsigned int threshold);
AbstractParameters()
Constructor.
Raster Processing algorithm output parameters base interface.
AlgorithmOutputParameters()
InputParameters(const InputParameters &)
bool serialize(AlgorithmParametersSerializer &serializer) const
Returns a parameter serialization object.
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated resources and reset the parameters instance to its initial state.
unsigned int m_weight
The weight value defines the number of times the frequency of the central point has to be considered.
te::rst::Raster const * m_inRasterPtr
Input raster.
AbstractParameters * clone() const
Create a clone copy of this instance.
unsigned int m_threshold
The threshold value is the frequency value above which the central point is modified.
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
OutputParameters(const OutputParameters &)
std::map< std::string, std::string > m_rInfo
The necessary information to create the raster (as described in te::raster::RasterFactory).
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated resources and reset the parameters instance to its initial state.
std::unique_ptr< te::rst::Raster > m_outputRasterPtr
A pointer the ge generated output raster (label image).
AbstractParameters * clone() const
Create a clone copy of this instance.
bool execute(AlgorithmOutputParameters &outputParams) _NOEXCEPT_OP(false)
Executes the algorithm using the supplied parameters.
bool initialize(const AlgorithmInputParameters &inputParams) _NOEXCEPT_OP(false)
Initialize the algorithm instance making it ready for execution.
PostClassification::InputParameters m_inputParameters
Input parameters.
bool runPostClassification(const te::rst::Raster &srcRaster, te::rst::Raster &dstRaster, unsigned int weight, unsigned int threshold)
Apply the post classification.
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated objects and reset the algorithm to its initial state.
bool m_isInitialized
Is this instance already initialized?
bool isInitialized() const
Returns true if the algorithm instance is initialized and ready for execution.
An abstract class for raster data strucutures.
Namespace for Raster Processing module of TerraLib.
Namespace for the Raster module of TerraLib.
An abstract class for raster data strucutures.
Raster Processing algorithm base interface class.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.