Fusion of a low-resolution multi-band image with a high resolution image using the PCA (Principal components analysis) method. More...
#include <PCAFusion.h>
Classes | |
| class | InputParameters |
| PCAFusion input parameters. More... | |
| class | OutputParameters |
| PCAFusion output parameters. More... | |
Public Member Functions | |
| bool | execute (AlgorithmOutputParameters &outputParams) throw ( te::rp::Exception ) |
| Executes the algorithm using the supplied parameters. More... | |
| const std::string & | getErrorMessage () const |
| Return the current error message if there is any. More... | |
| bool | initialize (const AlgorithmInputParameters &inputParams) throw ( te::rp::Exception ) |
| Initialize the algorithm instance making it ready for execution. More... | |
| bool | isInitialized () const |
| Returns true if the algorithm instance is initialized and ready for execution. More... | |
| PCAFusion () | |
| void | reset () throw ( te::rp::Exception ) |
| Clear all internal allocated objects and reset the algorithm to its initial state. More... | |
| ~PCAFusion () | |
Protected Member Functions | |
| bool | loadRessampledRaster (std::unique_ptr< te::rst::Raster > &ressampledRasterPtr) const |
| Load resampled data from the input image. More... | |
| void | setErrorMessage (const std::string &newErrorMessage) |
| Set the current error message. More... | |
| bool | swapBandByHighResRaster (te::rst::Raster &pcaRaster, const unsigned int pcaRasterBandIdx) |
| Swap the band values by the normalized high resolution raster data. More... | |
Protected Attributes | |
| InputParameters | m_inputParameters |
| Input execution parameters. More... | |
| bool | m_isInitialized |
| Tells if this instance is initialized. More... | |
Fusion of a low-resolution multi-band image with a high resolution image using the PCA (Principal components analysis) method.
The PCA performs image fusion where the first principal component of the multi-spectral image is replaced by the histogram matched panchromatic imagery.
Definition at line 50 of file PCAFusion.h.
| te::rp::PCAFusion::PCAFusion | ( | ) |
| te::rp::PCAFusion::~PCAFusion | ( | ) |
|
virtual | ||||||||||||||
Executes the algorithm using the supplied parameters.
| outputParams | Output parameters. |
Implements te::rp::Algorithm.
|
inherited |
Return the current error message if there is any.
|
virtual | ||||||||||||||
Initialize the algorithm instance making it ready for execution.
| inputParams | Input parameters. |
Implements te::rp::Algorithm.
|
virtual |
Returns true if the algorithm instance is initialized and ready for execution.
Implements te::rp::Algorithm.
|
protected |
Load resampled data from the input image.
| ressampledRasterPtr | The loaded and ressampled raster data. |
|
virtual | |||||||||||||
Clear all internal allocated objects and reset the algorithm to its initial state.
Reimplemented from te::rp::Algorithm.
|
protectedinherited |
Set the current error message.
| newErrorMessage | New error message; |
|
protected |
Swap the band values by the normalized high resolution raster data.
| pcaRaster | The PCA raster. |
| pcaRasterBandIdx | The band index where the values will be swapped. |
|
protected |
Input execution parameters.
Definition at line 140 of file PCAFusion.h.
|
protected |
Tells if this instance is initialized.
Definition at line 142 of file PCAFusion.h.