25 #ifndef __TERRALIB_RP_INTERNAL_PCAFUSION_H
26 #define __TERRALIB_RP_INTERNAL_PCAFUSION_H
29 #include "../raster/Raster.h"
30 #include "../raster/Band.h"
31 #include "../raster/Interpolator.h"
32 #include "../raster/RasterSynchronizer.h"
34 #include <boost/numeric/ublas/matrix.hpp>
71 MeanStdDevHistoFitMethod = 1,
72 MinMaxHistoFitMethod = 2
174 std::vector< std::tuple< bool, unsigned int, unsigned int > >*
197 const unsigned int highResRasterBand,
Raster Processing algorithm output parameters base interface.
Raster Processing algorithm base interface.
PCAFusion output parameters.
const OutputParameters & operator=(const OutputParameters ¶ms)
OutputParameters(const OutputParameters &)
AbstractParameters * clone() const
Create a clone copy of this instance.
std::map< std::string, std::string > m_rInfo
The necessary information to create the output rasters (as described in te::raster::RasterFactory).
void reset()
Clear all internal allocated resources and reset the parameters instance to its initial state.
std::unique_ptr< te::rst::Raster > m_outputRasterPtr
The generated output fused raster.
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
boost::numeric::ublas::matrix< double > m_directPCAMatrix
The calculated direct PCA transformation matrix.
Fusion of a low-resolution multi-band image with a high resolution image using the PCA (Principal com...
void reset()
Clear all internal allocated objects and reset the algorithm to its initial state.
bool m_isInitialized
Tells if this instance is initialized.
bool initialize(const AlgorithmInputParameters &inputParams)
Initialize the algorithm instance making it ready for execution.
static void swapBandByHighResRasterThreadEntry(SwapBandByHighResRasterThreadParameters *paramsPtr)
bool execute(AlgorithmOutputParameters &outputParams)
Executes the algorithm using the supplied parameters.
bool swapBandByHighResRaster(const te::rst::Raster &highResRaster, const unsigned int highResRasterBand, te::rst::Raster &pcaRaster, const unsigned int pcaRasterBandIdx)
Swap the band values by the normalized high resolution raster data.
InputParameters m_inputParameters
Input execution parameters.
bool isInitialized() const
Returns true if the algorithm instance is initialized and ready for execution.
An access synchronizer to be used in SynchronizedRaster raster instances.
An abstract class for raster data strucutures.
InterpolationMethod
Allowed interpolation methods.
te::rst::RasterSynchronizer * m_inputRasterSyncPtr
std::vector< std::tuple< bool, unsigned int, unsigned int > > * m_rasterBlocksStatusPtr
te::rst::RasterSynchronizer * m_outputRasterSyncPtr
unsigned int m_outputRasterBandIdx
unsigned int m_inputRasterBandIdx
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.