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... | |
| struct | SwapBandByHighResRasterThreadParameters |
Public Member Functions | |
| bool | execute (AlgorithmOutputParameters &outputParams) |
| Executes the algorithm using the supplied parameters. | |
| const std::string & | getErrorMessage () const |
| Return the current error message if there is any. | |
| bool | initialize (const AlgorithmInputParameters &inputParams) |
| Initialize the algorithm instance making it ready for execution. | |
| bool | isInitialized () const |
| Returns true if the algorithm instance is initialized and ready for execution. | |
| PCAFusion () | |
| void | reset () |
| Clear all internal allocated objects and reset the algorithm to its initial state. | |
| ~PCAFusion () | |
Protected Member Functions | |
| void | setErrorMessage (const std::string &newErrorMessage) |
| Set the current error message. | |
| 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. | |
Static Protected Member Functions | |
| static void | swapBandByHighResRasterThreadEntry (SwapBandByHighResRasterThreadParameters *paramsPtr) |
Protected Attributes | |
| InputParameters | m_inputParameters |
| Input execution parameters. | |
| bool | m_isInitialized |
| Tells if this instance is initialized. | |
Private Attributes | |
| std::string | m_errorMessage |
| Current error message. | |
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 53 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.
|
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.
| highResRaster | High resolution raster. |
| highResRaster | High resolution raster. |
| pcaRaster | The PCA raster. |
| pcaRasterBandIdx | The band index where the values will be swapped. |
|
staticprotected |
|
privateinherited |
Current error message.
Definition at line 104 of file Algorithm.h.
|
protected |
Input execution parameters.
Definition at line 189 of file PCAFusion.h.
|
protected |
Tells if this instance is initialized.
Definition at line 191 of file PCAFusion.h.