25#ifndef __TERRALIB_RP_INTERNAL_PCAFUSION_H
26#define __TERRALIB_RP_INTERNAL_PCAFUSION_H
34#include <boost/numeric/ublas/matrix.hpp>
179 std::vector< std::tuple< bool, unsigned int, unsigned int > >*
204 const unsigned int highResRasterBand,
217 std::vector< double >& gains, std::vector< double >& offsets );
It interpolates one pixel based on a selected algorithm.
An access synchronizer to be used in SynchronizedRaster raster instances.
AbstractParameters()
Constructor.
Raster Processing algorithm output parameters base interface.
AlgorithmOutputParameters()
OutputParameters(const OutputParameters &)
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.
const OutputParameters & operator=(const OutputParameters ¶ms)
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ).
AbstractParameters * clone() const
Create a clone copy of this instance.
boost::numeric::ublas::matrix< double > m_directPCAMatrix
The calculated direct PCA transformation matrix.
bool applyGainsAndOffsets(te::rst::Raster &raster, std::vector< double > &gains, std::vector< double > &offsets)
Apply a gain to each band values.
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.
InterpolationMethod Method
Allowed interpolation methods.
An access synchronizer to be used in SynchronizedRaster raster instances.
An abstract class for raster data strucutures.
Namespace for Raster Processing module of TerraLib.
It gives access to values in one band (dimension) of a raster.
An abstract class for raster data strucutures.
Raster Processing algorithm base interface class.
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.