This class is GUI used to define the classifier parameters for the RP constast operation. More...
#include <ClassifierWizardPage.h>
Public Slots | |
| void | onROIManagerClosed () |
| void | onRoiSetChanged (te::cl::ROISet *rs) |
| void | showROIManager (bool show) |
Public Member Functions | |
| ClassifierWizardPage (QWidget *parent=0) | |
| te::rp::Classifier::InputParameters | getInputParams () |
| te::rp::Classifier::OutputParameters | getOutputParams () |
| te::cl::ROISet * | getROISet () |
| bool | isComplete () const |
| void | set (te::map::AbstractLayerPtr layer) |
| This method is used to set the selected layer for classifier operation. More... | |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| ~ClassifierWizardPage () | |
Protected Member Functions | |
| void | fillClassifierTypes () |
| te::rp::ClassifierMAPStrategy::Parameters::MClassesSamplesCTPtr | getMAPSamples (te::cl::ROISet *rs, te::rst::Raster *raster) |
| te::rp::ClassifierSAMStrategy::ClassesSamplesTPtr | getSAMSamples (te::cl::ROISet *rs, te::rst::Raster *raster) |
| void | listBands () |
Private Types | |
| enum | ClassifierTypes { CLASSIFIER_ISOSEG, CLASSIFIER_KMEANS, CLASSIFIER_MAP, CLASSIFIER_EM, CLASSIFIER_SAM } |
Private Attributes | |
| te::map::AbstractLayerPtr | m_layer |
| std::auto_ptr< te::qt::widgets::ROIManagerDialog > | m_roiMngDlg |
| std::auto_ptr< Ui::ClassifierWizardPageForm > | m_ui |
This class is GUI used to define the classifier parameters for the RP constast operation.
Definition at line 63 of file ClassifierWizardPage.h.
| Enumerator | |
|---|---|
| CLASSIFIER_ISOSEG | |
| CLASSIFIER_KMEANS | |
| CLASSIFIER_MAP | |
| CLASSIFIER_EM | |
| CLASSIFIER_SAM | |
Definition at line 67 of file ClassifierWizardPage.h.
| te::qt::widgets::ClassifierWizardPage::ClassifierWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 53 of file ClassifierWizardPage.cpp.
References fillClassifierTypes(), m_roiMngDlg, m_ui, onROIManagerClosed(), onRoiSetChanged(), and showROIManager().
| te::qt::widgets::ClassifierWizardPage::~ClassifierWizardPage | ( | ) |
Definition at line 91 of file ClassifierWizardPage.cpp.
|
protected |
Definition at line 280 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
| te::rp::Classifier::InputParameters te::qt::widgets::ClassifierWizardPage::getInputParams | ( | ) |
Definition at line 153 of file ClassifierWizardPage.cpp.
References te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), te::gm::GeometryCollection::getGeometries(), te::gm::GeometryProperty::getGeometryType(), te::dt::Property::getName(), te::rp::ClassifierISOSegStrategy::Parameters::m_acceptanceThreshold, te::rp::ClassifierEMStrategy::Parameters::m_clustersMeans, te::rp::ClassifierKMeansStrategy::Parameters::m_epsilon, te::rp::ClassifierEMStrategy::Parameters::m_epsilon, te::rp::Classifier::InputParameters::m_inputPolygons, te::rp::Classifier::InputParameters::m_inputRasterBands, te::rp::ClassifierKMeansStrategy::Parameters::m_K, te::rp::ClassifierSAMStrategy::Parameters::m_maxAngularDistances, te::rp::ClassifierKMeansStrategy::Parameters::m_maxInputPoints, te::rp::ClassifierEMStrategy::Parameters::m_maxInputPoints, te::rp::ClassifierKMeansStrategy::Parameters::m_maxIterations, te::rp::ClassifierEMStrategy::Parameters::m_maxIterations, te::rp::ClassifierEMStrategy::Parameters::m_numberOfClusters, te::rp::Classifier::InputParameters::m_strategyName, te::rp::ClassifierMAPStrategy::Parameters::m_trainSamplesPtr, te::rp::ClassifierSAMStrategy::Parameters::m_trainSamplesPtr, te::gm::MultiPolygonType, te::dt::RASTER_TYPE, and te::rp::Classifier::InputParameters::setClassifierStrategyParams().
|
protected |
| te::rp::Classifier::OutputParameters te::qt::widgets::ClassifierWizardPage::getOutputParams | ( | ) |
Definition at line 268 of file ClassifierWizardPage.cpp.
| te::cl::ROISet * te::qt::widgets::ClassifierWizardPage::getROISet | ( | ) |
Definition at line 275 of file ClassifierWizardPage.cpp.
References te::cl::ROISet::getROISet().
|
protected |
| bool te::qt::widgets::ClassifierWizardPage::isComplete | ( | ) | const |
Definition at line 96 of file ClassifierWizardPage.cpp.
|
protected |
Definition at line 291 of file ClassifierWizardPage.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
|
slot |
Definition at line 424 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
|
slot |
Definition at line 430 of file ClassifierWizardPage.cpp.
References te::cl::ROI::getColor(), te::cl::ROI::getLabel(), te::cl::ROI::getPolygons(), and te::cl::ROISet::getROISet().
Referenced by ClassifierWizardPage().
| void te::qt::widgets::ClassifierWizardPage::set | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for classifier operation.
| layer | The layer ptr |
Definition at line 123 of file ClassifierWizardPage.cpp.
| void te::qt::widgets::ClassifierWizardPage::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 132 of file ClassifierWizardPage.cpp.
|
slot |
Definition at line 416 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
|
private |
Definition at line 126 of file ClassifierWizardPage.h.
|
private |
Definition at line 124 of file ClassifierWizardPage.h.
Referenced by ClassifierWizardPage().
|
private |
Definition at line 123 of file ClassifierWizardPage.h.
Referenced by ClassifierWizardPage().