This class is GUI used to define the fusion parameters for the RP fusion operation. More...
#include <FusionWizardPage.h>
Public Member Functions | |
| bool | cropRasters () |
| FusionWizardPage (QWidget *parent=0) | |
| te::rp::IHSFusion::InputParameters | getInputIHSParams () |
| te::rp::PCAFusion::InputParameters | getInputPCAParams () |
| te::rp::WisperFusion::InputParameters | getInputWisperParams () |
| te::rp::IHSFusion::OutputParameters | getOutputIHSParams () |
| te::rp::PCAFusion::OutputParameters | getOutputPCAParams () |
| te::rp::WisperFusion::OutputParameters | getOutputWisperParams () |
| bool | isComplete () const |
| bool | isIHSFusion () |
| bool | isPCAFusion () |
| bool | isWisperFusion () |
| void | setHigher (te::map::AbstractLayerPtr layer) |
| This method is used to set the selected layer for classifier operation. More... | |
| void | setLower (te::map::AbstractLayerPtr layer) |
| This method is used to set the selected layer for classifier operation. More... | |
| ~FusionWizardPage () | |
Protected Slots | |
| void | onHighCsvToolButtonClicked () |
| void | onHighResSensorTypeActivated (int idx) |
| void | onLowCsvToolButtonClicked () |
| void | onLowResSensorTypeActivated (int idx) |
Protected Member Functions | |
| void | fillFusionTypes () |
| void | fillSensorTypes (QComboBox *combo) |
| void | fillWaveletTypes () |
| std::map< double, double > | getSRFMap (const int &st, std::string stName) |
| void | listBandsHigher () |
| void | listBandsLower () |
Private Attributes | |
| std::map< QToolButton *, int > | m_buttonMap |
| QDialog * | m_chartDialog |
| te::qt::widgets::ChartDisplay * | m_chartDisplay |
| std::map< QComboBox *, int > | m_comboMap |
| te::map::AbstractLayerPtr | m_layerHigher |
| te::map::AbstractLayerPtr | m_layerLower |
| te::qt::widgets::ScatterChart * | m_scatterChartHighRes |
| std::vector< te::qt::widgets::ScatterChart * > | m_scatterChartLowResVec |
| te::qt::widgets::Scatter * | m_scatterHighRes |
| std::vector< te::qt::widgets::Scatter * > | m_scatterLowResVec |
| std::unique_ptr< Ui::FusionWizardPageForm > | m_ui |
This class is GUI used to define the fusion parameters for the RP fusion operation.
Definition at line 71 of file FusionWizardPage.h.
| te::qt::widgets::FusionWizardPage::FusionWizardPage | ( | QWidget * | parent = 0 | ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| bool te::qt::widgets::FusionWizardPage::cropRasters | ( | ) |
Definition at line 160 of file FusionWizardPage.cpp.
References m_ui.
|
protected |
Definition at line 410 of file FusionWizardPage.cpp.
References te::rst::Bicubic, te::rst::Bilinear, te::qt::widgets::FUSION_IHS, te::qt::widgets::FUSION_PCA, te::qt::widgets::FUSION_WISPER, m_ui, and te::rst::NearestNeighbor.
|
protected |
Definition at line 425 of file FusionWizardPage.cpp.
References te::rp::srf::CBERS2BCCDB1Sensor, te::rp::srf::CBERS2BCCDB2Sensor, te::rp::srf::CBERS2BCCDB3Sensor, te::rp::srf::CBERS2BCCDB4Sensor, te::rp::srf::CBERS2BCCDB5PANSensor, te::rp::srf::CBERS4MUXB5Sensor, te::rp::srf::CBERS4MUXB6Sensor, te::rp::srf::CBERS4MUXB7Sensor, te::rp::srf::CBERS4MUXB8Sensor, te::rp::srf::LANDSAT7ETMB1Sensor, te::rp::srf::LANDSAT7ETMB2Sensor, te::rp::srf::LANDSAT7ETMB3Sensor, te::rp::srf::LANDSAT7ETMB4Sensor, te::rp::srf::LANDSAT7ETMB5Sensor, te::rp::srf::LANDSAT7ETMB7Sensor, te::rp::srf::LANDSAT7ETMB8PANSensor, te::rp::srf::LANDSAT8OLIB10Sensor, te::rp::srf::LANDSAT8OLIB11Sensor, te::rp::srf::LANDSAT8OLIB1Sensor, te::rp::srf::LANDSAT8OLIB2Sensor, te::rp::srf::LANDSAT8OLIB3Sensor, te::rp::srf::LANDSAT8OLIB4Sensor, te::rp::srf::LANDSAT8OLIB5Sensor, te::rp::srf::LANDSAT8OLIB6Sensor, te::rp::srf::LANDSAT8OLIB7Sensor, te::rp::srf::LANDSAT8OLIB8Sensor, and te::rp::srf::LANDSAT8OLIB9Sensor.
Referenced by listBandsLower().
|
protected |
Definition at line 462 of file FusionWizardPage.cpp.
References te::rp::B3SplineWAFilter, te::rp::InvalidWAFilter, m_ui, and te::rp::TriangleWAFilter.
| te::rp::IHSFusion::InputParameters te::qt::widgets::FusionWizardPage::getInputIHSParams | ( | ) |
Definition at line 165 of file FusionWizardPage.cpp.
References te::rp::IHSFusion::InputParameters::m_enableProgress, te::rp::IHSFusion::InputParameters::m_highResRasterBand, te::rp::IHSFusion::InputParameters::m_interpMethod, te::rp::IHSFusion::InputParameters::m_lowResRasterBlueBandIndex, te::rp::IHSFusion::InputParameters::m_lowResRasterGreenBandIndex, te::rp::IHSFusion::InputParameters::m_lowResRasterRedBandIndex, and m_ui.
| te::rp::PCAFusion::InputParameters te::qt::widgets::FusionWizardPage::getInputPCAParams | ( | ) |
| te::rp::WisperFusion::InputParameters te::qt::widgets::FusionWizardPage::getInputWisperParams | ( | ) |
Definition at line 220 of file FusionWizardPage.cpp.
References getSRFMap(), te::rp::WisperFusion::InputParameters::m_enableProgress, te::rp::WisperFusion::InputParameters::m_highResRasterBand, te::rp::WisperFusion::InputParameters::m_hiResRasterBandsSRFs, te::rp::WisperFusion::InputParameters::m_hiResRasterWaveletLevels, te::rp::WisperFusion::InputParameters::m_interpMethod, te::rp::WisperFusion::InputParameters::m_lowResRasterBands, te::rp::WisperFusion::InputParameters::m_lowResRasterBandsSRFs, m_ui, and te::rp::WisperFusion::InputParameters::m_waveletFilterType.
| te::rp::IHSFusion::OutputParameters te::qt::widgets::FusionWizardPage::getOutputIHSParams | ( | ) |
Definition at line 184 of file FusionWizardPage.cpp.
| te::rp::PCAFusion::OutputParameters te::qt::widgets::FusionWizardPage::getOutputPCAParams | ( | ) |
Definition at line 213 of file FusionWizardPage.cpp.
| te::rp::WisperFusion::OutputParameters te::qt::widgets::FusionWizardPage::getOutputWisperParams | ( | ) |
Definition at line 267 of file FusionWizardPage.cpp.
|
protected |
Definition at line 572 of file FusionWizardPage.cpp.
References file(), te::rp::srf::getSRF(), te::rp::srf::InvalidSensor, line, and te::common::Tokenize().
Referenced by getInputWisperParams(), onHighResSensorTypeActivated(), and onLowResSensorTypeActivated().
| bool te::qt::widgets::FusionWizardPage::isComplete | ( | ) | const |
Definition at line 97 of file FusionWizardPage.cpp.
| bool te::qt::widgets::FusionWizardPage::isIHSFusion | ( | ) |
Definition at line 124 of file FusionWizardPage.cpp.
References te::qt::widgets::FUSION_IHS, and m_ui.
| bool te::qt::widgets::FusionWizardPage::isPCAFusion | ( | ) |
Definition at line 136 of file FusionWizardPage.cpp.
References te::qt::widgets::FUSION_PCA, and m_ui.
| bool te::qt::widgets::FusionWizardPage::isWisperFusion | ( | ) |
Definition at line 148 of file FusionWizardPage.cpp.
References te::qt::widgets::FUSION_WISPER, and m_ui.
|
protected |
Definition at line 543 of file FusionWizardPage.cpp.
References ds, te::da::GetFirstPropertyPos(), m_layerHigher, m_ui, and te::dt::RASTER_TYPE.
Referenced by setHigher().
|
protected |
Definition at line 471 of file FusionWizardPage.cpp.
References ds, fillSensorTypes(), te::da::GetFirstPropertyPos(), m_buttonMap, m_comboMap, m_layerLower, m_scatterChartLowResVec, m_scatterLowResVec, m_ui, onLowCsvToolButtonClicked(), onLowResSensorTypeActivated(), and te::dt::RASTER_TYPE.
Referenced by setLower().
|
protectedslot |
Definition at line 374 of file FusionWizardPage.cpp.
References m_ui, and onHighResSensorTypeActivated().
|
protectedslot |
Definition at line 274 of file FusionWizardPage.cpp.
References te::qt::widgets::Scatter::calculateMinMaxValues(), getSRFMap(), m_chartDisplay, m_scatterChartHighRes, m_scatterHighRes, m_ui, te::qt::widgets::ScatterChart::setData(), te::qt::widgets::Scatter::setXValues(), and te::qt::widgets::Scatter::setYValues().
Referenced by onHighCsvToolButtonClicked().
|
protectedslot |
Definition at line 387 of file FusionWizardPage.cpp.
References m_buttonMap, and m_ui.
Referenced by listBandsLower().
|
protectedslot |
Definition at line 314 of file FusionWizardPage.cpp.
References te::qt::widgets::Scatter::calculateMinMaxValues(), te::se::GenerateRandomColor(), getSRFMap(), m_chartDisplay, m_comboMap, m_scatterChartLowResVec, m_scatterLowResVec, te::qt::widgets::ScatterChart::setData(), te::qt::widgets::Scatter::setXValues(), and te::qt::widgets::Scatter::setYValues().
Referenced by listBandsLower().
| void te::qt::widgets::FusionWizardPage::setHigher | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for classifier operation.
| layer | The layer ptr |
Definition at line 113 of file FusionWizardPage.cpp.
References listBandsHigher(), m_layerHigher, and m_ui.
| void te::qt::widgets::FusionWizardPage::setLower | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for classifier operation.
| layer | The layer ptr |
Definition at line 102 of file FusionWizardPage.cpp.
References listBandsLower(), m_layerLower, and m_ui.
|
private |
Definition at line 162 of file FusionWizardPage.h.
Referenced by listBandsLower(), and onLowCsvToolButtonClicked().
|
private |
Definition at line 151 of file FusionWizardPage.h.
|
private |
Definition at line 153 of file FusionWizardPage.h.
Referenced by onHighResSensorTypeActivated(), and onLowResSensorTypeActivated().
|
private |
Definition at line 161 of file FusionWizardPage.h.
Referenced by listBandsLower(), and onLowResSensorTypeActivated().
|
private |
Definition at line 165 of file FusionWizardPage.h.
Referenced by listBandsHigher(), and setHigher().
|
private |
Definition at line 164 of file FusionWizardPage.h.
Referenced by listBandsLower(), and setLower().
|
private |
Definition at line 156 of file FusionWizardPage.h.
Referenced by onHighResSensorTypeActivated().
|
private |
Definition at line 159 of file FusionWizardPage.h.
Referenced by listBandsLower(), and onLowResSensorTypeActivated().
|
private |
Definition at line 155 of file FusionWizardPage.h.
Referenced by onHighResSensorTypeActivated().
|
private |
Definition at line 158 of file FusionWizardPage.h.
Referenced by listBandsLower(), and onLowResSensorTypeActivated().
|
private |
Definition at line 149 of file FusionWizardPage.h.
Referenced by cropRasters(), fillFusionTypes(), fillWaveletTypes(), getInputIHSParams(), getInputPCAParams(), getInputWisperParams(), isIHSFusion(), isPCAFusion(), isWisperFusion(), listBandsHigher(), listBandsLower(), onHighCsvToolButtonClicked(), onHighResSensorTypeActivated(), onLowCsvToolButtonClicked(), setHigher(), and setLower().