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... | |
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 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 reset().
te::rp::WisperFusion::~WisperFusion | ( | ) |
Definition at line 153 of file WisperFusion.cpp.
|
virtual |
Executes the algorithm using the supplied parameters.
outputParams | Output parameters. |
Implements te::rp::Algorithm.
Definition at line 157 of file WisperFusion.cpp.
References 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(), te::rp::RasterResample(), te::rp::Matrix< TemplateElementType >::reset(), te::rst::Raster::setValue(), TERP_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by 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, reset(), TERP_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by 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.
Implements te::rp::Algorithm.
Definition at line 650 of file WisperFusion.cpp.
References m_inputParameters, m_isInitialized, and te::rp::WisperFusion::InputParameters::reset().
Referenced by initialize(), te::rp::WisperFusion::InputParameters::InputParameters(), te::rp::WisperFusion::InputParameters::operator=(), te::rp::WisperFusion::OutputParameters::operator=(), te::rp::WisperFusion::OutputParameters::OutputParameters(), WisperFusion(), te::rp::WisperFusion::InputParameters::~InputParameters(), and te::rp::WisperFusion::OutputParameters::~OutputParameters().
|
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().