25 #ifndef __TERRALIB_RP_INTERNAL_IHSFUSION_H 26 #define __TERRALIB_RP_INTERNAL_IHSFUSION_H 30 #include "../raster/Raster.h" 31 #include "../raster/Interpolator.h" 101 AbstractParameters* clone() const;
125 void reset() throw(
te::rp::Exception );
131 AbstractParameters* clone() const;
139 bool execute( AlgorithmOutputParameters& outputParams ) throw(
te::rp::Exception );
142 void reset() throw(
te::rp::Exception );
148 bool isInitialized() const;
154 bool m_isInitialized;
162 bool getRGBRange(
double& rgbMin,
double& rgbMax ) const;
171 bool getStatistics( const
te::rp::
Matrix<
float >& matrix,
float& mean,
172 float& variance ) const;
184 bool loadIHSData( const
double& rgbMin, const
double rgbMax,
te::rp::
Matrix<
float >& intensityData,
185 te::rp::
Matrix<
float >& hueData,
te::rp::
Matrix<
float >& saturationData ) const;
192 bool swapIntensity(
te::rp::
Matrix<
float >& intensityData );
203 bool saveIHSData( const
double& rgbMin, const
double rgbMax, const
te::rp::
Matrix<
float >& intensityData,
204 const
te::rp::
Matrix<
float >& hueData, const
te::rp::
Matrix<
float >& saturationData,
205 const
std::
string& rType, const
std::map<
std::
string,
std::
string >& rInfo,
206 std::unique_ptr<
te::
rst::Raster >& outputRasterPtr ) const;
std::map< std::string, std::string > m_rInfo
The necessary information to create the output rasters (as described in te::raster::RasterFactory).
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
Fusion of a low-resolution multi-band image with a high resolution image using the IHS method...
Base exception class for plugin module.
IHSFusion output parameters.
Raster Processing algorithm output parameters base interface.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Raster Processing algorithm base interface class.
InterpolationMethod
Allowed interpolation methods.
Raster Processing algorithm base interface.
An abstract class for raster data strucutures.
std::unique_ptr< te::rst::Raster > m_outputRasterPtr
The generated output fused raster.
rasterPointer reset(te::rst::RasterFactory::make("MEM", new te::rst::Grid(nCols, nLines), bandsProps, std::map< std::string, std::string >(), 0, 0))
A generic template matrix.