26#ifndef __TERRALIB_RP_INTERNAL_MIXTUREMODEL_H
27#define __TERRALIB_RP_INTERNAL_MIXTUREMODEL_H
36#include <boost/numeric/ublas/matrix.hpp>
Abstract parameters base interface.
Raster Processing algorithm output parameters base interface.
Raster Processing algorithm base interface.
Mixture model strategy parameters base class.
MixtureModel output parameters.
double m_normalMin
Lower limit to normalized.
std::unique_ptr< te::rst::Raster > m_outputRasterPtr
A pointer to the generated output raster, one band per component plus one error band per component (w...
void reset()
Reset all variables.
OutputParameters(const OutputParameters &rhs)
Copy constructor.
te::common::AbstractParameters * clone() const
Copy paramters.
double m_normalMax
Upper limit to normalized.
const MixtureModel::OutputParameters & operator=(const MixtureModel::OutputParameters ¶ms)
assigment operator
bool m_createErrorRaster
A flag to indicate that output raster will include the error bands.
std::vector< double > m_minerror
Minimun value calculeted in output raster.
std::vector< double > m_maxerror
Maximum value calculeted in output raster.
std::unique_ptr< te::rst::Raster > m_errorRasterPtr
A pointer to the generated output error raster, one band per component plus one error band per compon...
std::map< std::string, std::string > m_rInfo
The necessary information to create the output raster (as described in te::raster::RasterFactory).
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
std::vector< double > m_min
Minimun value calculeted in output raster.
OutputParameters()
Default constructor.
bool m_normalizeOutput
A flag to indicate that output raster will be normalized , default [0, 1].
std::map< std::string, std::string > m_rInfoError
The necessary information to create the error raster (as described in te::raster::RasterFactory).
std::vector< double > m_max
Maximum value calculeted in output raster.
Raster decomposition using mixture model.
bool execute(AlgorithmOutputParameters &outputParams)
Executes the mixing model using the parameters defined in inputParams and outputParams.
bool setTransformMatrix(boost::numeric::ublas::matrix< double > &matrix)
Sets Transform Matrix, read from a file or pre-calculated.
bool generateTransformMatrix(boost::numeric::ublas::matrix< double > &matrix)
Generates a Transform Matrix.
MixtureModel::InputParameters m_inputParameters
Mixture model execution parameters.
bool initialize(const AlgorithmInputParameters &inputParams)
Initializes model with paramters defined in inputParams.
void reset()
Resets all variables.
bool isInitialized() const
Model already initialized?
bool m_instanceInitialized
Is this instance already initialized?
Raster strategy parameters base class.
An abstract class for raster data strucutures.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).