21#ifndef __TERRALIB_RP_INTERNAL_RESTORATION_H
22#define __TERRALIB_RP_INTERNAL_RESTORATION_H
153 double& resSamplingFactor );
216 const
unsigned int bandDesignation,
217 std::vector<
double >& XCoefs,
218 std::vector<
double >& YCoefs ) const;
229 const std::vector< std::vector<
double > >& bandsXCoefs,
230 const std::vector< std::vector<
double > >& bandsYCoefs,
231 const
te::
rst::Raster& inputRaster,
232 te::
rst::Raster& outputRaster );
243 unsigned int& upperValue,
244 unsigned int& lowerValue );
AbstractParameters()
Constructor.
Raster Processing algorithm output parameters base interface.
AlgorithmOutputParameters()
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated resources and reset the parameters instance to its initial state.
std::map< std::string, std::string > m_rInfo
The necessary information to create the raster (as described in te::raster::RasterFactory).
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
OutputParameters(const OutputParameters &)
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.
static void getDecomposedSamplingFactor(const InputParameters::SamplingFactorType &sFactortype, unsigned int &upperValue, unsigned int &lowerValue)
Decompose sampling factor.
unsigned int getFilterSize() const
Return the target filter size following the current sensor.
bool getFilterCoefs(const unsigned int bandDesignation, std::vector< double > &XCoefs, std::vector< double > &YCoefs) const
Calculate the weights of the restoration filter in the vertical and horizontal directions.
bool execute(AlgorithmOutputParameters &outputParams) _NOEXCEPT_OP(false)
Executes the algorithm using the supplied parameters.
bool isInitialized() const
Returns true if the algorithm instance is initialized and ready for execution.
bool initialize(const AlgorithmInputParameters &inputParams) _NOEXCEPT_OP(false)
Initialize the algorithm instance making it ready for execution.
bool m_isInitialized
Is this instance already initialized?
Restoration::InputParameters m_inputParameters
Input parameters.
bool applyFilterCoefs(const std::vector< std::vector< double > > &bandsXCoefs, const std::vector< std::vector< double > > &bandsYCoefs, const te::rst::Raster &inputRaster, te::rst::Raster &outputRaster)
Apply the restorafion filter on the input rasters.
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated objects and reset the algorithm to its initial state.
An abstract class for raster data strucutures.
Namespace for the Map Tools module of TerraLib.
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.