114#ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELWIZARDPAGE_H
115#define __TERRALIB_QT_WIDGETS_RP_INTERNAL_MIXTUREMODELWIZARDPAGE_H
138#include <QWizardPage>
139#include <QTableWidget>
140#include <QActionGroup>
141#include <qgridlayout.h>
142#include <QSignalMapper>
143#include <QTreeWidget>
144#include <QTreeWidgetItem>
147#include <qwt_plot_curve.h>
150namespace Ui {
class MixtureModelWizardPageForm; }
154 namespace se {
class Mark; }
208 void set(std::list<te::map::AbstractLayerPtr> layers);
214 std::list<te::map::AbstractLayerPtr>
get();
290 std::unique_ptr<Ui::MixtureModelWizardPageForm>
m_ui;
This is the base class for Layers.
A class to represent a chart display.
A class used to define a chartDisplay's style.
Raster Processing functions.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Raster decomposition using mixture model.
A helper class for 24-bit RGBA (Red-Green-Blue-Alpha channel) color.
A ROISet is a set of ROI's.
A ROISet is a set of ROI's.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
void loadMixtureModelComponents(const std::string &fileName)
void addGeometryComponent()
QColor m_color
Current component color.
void fillMixtureModelTypes()
void PlotSpectralSignature()
std::vector< double > m_maxValue
vector to store maximum value of each band
~MixtureModelWizardPage()
MixtureModelWizardPage(QWidget *parent=0)
void onMapDisplayExtentChanged()
void onLoadToolButtonClicked()
void set(std::list< te::map::AbstractLayerPtr > layers)
This method is used to set the selected layer for mixture model operation.
std::list< te::map::AbstractLayerPtr > m_layers
list of input layers
te::color::RGBAColor ** m_rgbaMark
component color
void onEnvelopeAcquired(te::gm::Envelope env)
void onGeomAquired(te::gm::Polygon *poly)
void showROIManager(bool show)
std::string m_json_out
Json filename to save components.
void setActionGroup(QActionGroup *actionGroup)
QSignalMapper m_ButtonSignalMapper
te::rp::MixtureModel::InputParameters getInputParams()
std::map< std::string, te::rp::SpectralSensorParams > m_SensorParams
map with sensor parameters
void oncolorToolButtonClicked()
void onMixturetypeChanged()
void onSaveToolButtonClicked()
void saveMixtureModelComponents()
te::qt::widgets::SensorManagerDialog * m_sensorManagerDialog
Dialog to select/edit spectral sensors.
te::gm::Geometry * m_geom
Current geometry/envelope component.
MixModelTypes
Available Algorithms for Mixture Model.
@ MIXMODEL_LINEAR
Linear (Least Square Method).
@ MIXMODEL_PCA
Principal Components Mixture Model.
@ MIXMODEL_LINEAR_RLS3T
Linear (Resticted Least Square Method (only 3 components, 4 bands).
boost::numeric::ublas::matrix< double > getTransfMatrix()
void onPointPicked(double x, double y)
void onMixturetabChanged(int)
void onselectedEnabled(bool)
void onROIManagerClosed(te::cl::ROISet *rs)
std::unique_ptr< te::qt::widgets::ROIManagerDialog > m_roiMngDlg
te::rp::MixtureModel::OutputParameters getOutputParams()
std::unique_ptr< te::qt::widgets::RpToolsWidget > m_navigator
boost::numeric::ublas::matrix< double > m_transfMatrix
Transformation matrix;.
std::string m_comp
Current component.
void oncomponentChanged()
te::qt::widgets::MapDisplay * m_mapDisplay
int m_type
algorithm mixture model type (MIXMODEL_LINEAR or MIXMODEL_PCA)
void onRemoveToolButtonClicked()
void printTransMatrix() const
void onComponentItemClicked(QTreeWidgetItem *item, int column)
void setMapDisplay(te::qt::widgets::MapDisplay *mapDisplay)
std::unique_ptr< Ui::MixtureModelWizardPageForm > m_ui
te::cl::ROISet * getROISet()
std::map< std::string, MixModelComponent > m_components
The map of selected components.
te::qt::widgets::ChartDisplayWidget * m_displayWidget
te::se::Mark * m_mark
component point mark type
std::list< te::map::AbstractLayerPtr > get()
double GetMediumWavelength(std::string sensor)
void onSensorToolButtonClicked(int)
unsigned int m_countComponents
The maximum number of components inserted.
MixtureModel output parameters.
A Mark specifies a geometric shape and applies coloring to it.
Namespace for the Qt module of TerraLib.
Namespace for the Symbology Encoding module of TerraLib.
An abstract class for raster data strucutures.
Defines component attributes.
te::gm::Geometry * m_geomGeo
component coordinates in geografic coordinates
std::vector< double > m_values
raster values
te::color::RGBAColor m_color
color
te::gm::Geometry * m_geomGrid
component coordinades in raster lineXcolumn