Fusion of a low-resolution multi-band image with a high resolution image using the WiSpeR method. More...
#include <WisperFusion.h>
Classes | |
| class | InputParameters |
| WisperFusion input parameters. More... | |
| class | OutputParameters |
| WisperFusion 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... | |
| void | reset () throw ( te::rp::Exception ) |
| Clear all internal allocated objects and reset the algorithm to its initial state. More... | |
| WisperFusion () | |
| ~WisperFusion () | |
Protected Member Functions | |
| void | setErrorMessage (const std::string &newErrorMessage) |
| Set the current error message. 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 WiSpeR method.
Definition at line 57 of file WisperFusion.h.
| te::rp::WisperFusion::WisperFusion | ( | ) |
Definition at line 148 of file WisperFusion.cpp.
References te::rp::WisperFusion::InputParameters::reset(), and ~WisperFusion().
|
default |
Referenced by WisperFusion().
|
virtual | ||||||||||||||
Executes the algorithm using the supplied parameters.
| outputParams | Output parameters. |
Implements te::rp::Algorithm.
Definition at line 155 of file WisperFusion.cpp.
References col, te::rp::CreateWaveletAtrousFilter(), te::rp::DirectWaveletAtrous(), te::dt::DOUBLE_TYPE, te::rst::Raster::getBand(), te::rp::GetDataTypeRange(), te::rst::Raster::getGrid(), te::rp::srf::getIntersectionSRF(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::Band::getProperty(), te::rp::srf::getSRF(), te::rp::srf::getSRFArea(), te::rp::srf::getUnionSRF(), te::rst::Raster::getValue(), te::sa::Grid, te::rp::WisperFusion::InputParameters::m_enableProgress, te::rp::WisperFusion::InputParameters::m_highResRasterBand, te::rp::WisperFusion::InputParameters::m_highResRasterPtr, te::rp::WisperFusion::InputParameters::m_hiResRasterBandSensor, te::rp::WisperFusion::InputParameters::m_hiResRasterBandsSRFs, te::rp::WisperFusion::InputParameters::m_hiResRasterWaveletLevels, m_inputParameters, te::rp::WisperFusion::InputParameters::m_interpMethod, m_isInitialized, te::rp::WisperFusion::InputParameters::m_lowResRasterBands, te::rp::WisperFusion::InputParameters::m_lowResRasterBandSensors, te::rp::WisperFusion::InputParameters::m_lowResRasterBandsSRFs, te::rp::WisperFusion::InputParameters::m_lowResRasterPtr, te::rp::WisperFusion::OutputParameters::m_outputRasterPtr, te::rp::WisperFusion::OutputParameters::m_rInfo, te::rp::WisperFusion::OutputParameters::m_rType, te::rp::WisperFusion::InputParameters::m_userWaveletFilterPtr, te::rp::WisperFusion::InputParameters::m_waveletFilterType, te::rst::RasterFactory::make(), nCols, te::rp::RasterResample(), te::rp::Matrix< TemplateElementType >::reset(), te::rst::Raster::setValue(), TERP_INSTANCE_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by BOOST_AUTO_TEST_CASE(), and te::qt::widgets::FusionWizard::executeWisper().
|
inherited |
Return the current error message if there is any.
Definition at line 44 of file rp/Algorithm.cpp.
References te::rp::Algorithm::m_errorMessage.
Referenced by te::qt::widgets::FilterDialogForm::applyPreview(), te::qt::widgets::PostClassificationWidget::execute(), te::qt::widgets::ClassifierWizard::execute(), te::qt::widgets::MixtureModelWizard::execute(), te::qt::widgets::ContrastDialogForm::execute(), te::qt::widgets::FilterDialogForm::execute(), te::qt::widgets::ArithmeticOpDialogForm::execute(), te::qt::widgets::MosaicWizard::executeGeoMosaic(), te::qt::widgets::FusionWizard::executeIHS(), te::qt::widgets::FusionWizard::executePCA(), te::qt::widgets::MosaicWizard::executeSequenceMosaic(), te::qt::widgets::MosaicWizard::executeTiePointMosaic(), and te::qt::widgets::FusionWizard::executeWisper().
|
virtual | ||||||||||||||
Initialize the algorithm instance making it ready for execution.
| inputParams | Input parameters. |
Implements te::rp::Algorithm.
Definition at line 656 of file WisperFusion.cpp.
References te::rst::Raster::getAccessPolicy(), te::rst::Raster::getNumberOfBands(), te::rp::srf::InvalidSensor, te::rp::WisperFusion::InputParameters::m_highResRasterBand, te::rp::WisperFusion::InputParameters::m_highResRasterPtr, te::rp::WisperFusion::InputParameters::m_hiResRasterBandSensor, te::rp::WisperFusion::InputParameters::m_hiResRasterBandsSRFs, m_inputParameters, m_isInitialized, te::rp::WisperFusion::InputParameters::m_lowResRasterBands, te::rp::WisperFusion::InputParameters::m_lowResRasterBandSensors, te::rp::WisperFusion::InputParameters::m_lowResRasterBandsSRFs, te::rp::WisperFusion::InputParameters::m_lowResRasterPtr, te::rp::WisperFusion::InputParameters::m_userWaveletFilterPtr, te::common::RAccess, te::rp::WisperFusion::InputParameters::reset(), TERP_INSTANCE_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by BOOST_AUTO_TEST_CASE(), and te::qt::widgets::FusionWizard::executeWisper().
|
virtual |
Returns true if the algorithm instance is initialized and ready for execution.
Implements te::rp::Algorithm.
Definition at line 749 of file WisperFusion.cpp.
References m_isInitialized.
|
virtual | |||||||||||||
Clear all internal allocated objects and reset the algorithm to its initial state.
Reimplemented from te::rp::Algorithm.
Definition at line 648 of file WisperFusion.cpp.
References m_inputParameters, m_isInitialized, te::rp::Algorithm::reset(), and te::rp::WisperFusion::InputParameters::reset().
|
protectedinherited |
Set the current error message.
| newErrorMessage | New error message; |
Definition at line 49 of file rp/Algorithm.cpp.
References te::rp::Algorithm::m_errorMessage.
|
protected |
Input execution parameters.
Definition at line 161 of file WisperFusion.h.
Referenced by execute(), initialize(), and reset().
|
protected |
Tells if this instance is initialized.
Definition at line 163 of file WisperFusion.h.
Referenced by execute(), initialize(), isInitialized(), and reset().