A dialog used to execute image segmentation. More...
#include <SegmenterDialog.h>
Public Member Functions | |
| bool | getOutputRaster (boost::shared_ptr< te::rst::Raster > &outputRasterPtr) |
| Returns the output result raster. More... | |
| SegmenterDialog (te::rst::Raster const *inputRasterPtr, const std::string &outpuRasterDSType, const std::map< std::string, std::string > &outpuRasterInfo, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic dialog which is a child of parent, with widget flags set to f. More... | |
| ~SegmenterDialog () | |
| Destructor. More... | |
Protected Slots | |
| void | on_okPushButton_clicked () |
Private Attributes | |
| te::rst::Raster const * | m_inputRasterPtr |
| User interface. More... | |
| std::string | m_outpuRasterDSType |
| Input raster pointer. More... | |
| std::map< std::string, std::string > | m_outpuRasterInfo |
| Output raster data source type (as described in te::raster::RasterFactory ). More... | |
| boost::shared_ptr< te::rst::Raster > | m_outputRasterPtr |
| The necessary information to create the raster (as described in te::raster::RasterFactory). More... | |
| Ui::SegmenterForm * | m_uiPtr |
A dialog used to execute image segmentation.
Definition at line 66 of file SegmenterDialog.h.
| te::qt::widgets::SegmenterDialog::SegmenterDialog | ( | te::rst::Raster const * | inputRasterPtr, |
| const std::string & | outpuRasterDSType, | ||
| const std::map< std::string, std::string > & | outpuRasterInfo, | ||
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a basic dialog which is a child of parent, with widget flags set to f.
| inputRasterPtr | Input raster pointer. |
| outpuRasterDSType | Output raster data source type (as described in te::raster::RasterFactory ). |
| outpuRasterInfo | The necessary information to create the raster (as described in te::raster::RasterFactory). |
Definition at line 39 of file SegmenterDialog.cpp.
References te::rst::Raster::getNumberOfBands(), m_uiPtr, and on_okPushButton_clicked().
| te::qt::widgets::SegmenterDialog::~SegmenterDialog | ( | ) |
| bool te::qt::widgets::SegmenterDialog::getOutputRaster | ( | boost::shared_ptr< te::rst::Raster > & | outputRasterPtr | ) |
Returns the output result raster.
| outputRasterPtr | A pointer to the output result raster |
Definition at line 69 of file SegmenterDialog.cpp.
References m_outputRasterPtr.
Referenced by SegmenterDialogExample().
|
protectedslot |
Definition at line 83 of file SegmenterDialog.cpp.
References te::rp::Segmenter::execute(), te::rp::Segmenter::initialize(), te::rp::Segmenter::InputParameters::m_enableBlockProcessing, te::rp::Segmenter::InputParameters::m_enableThreadedProcessing, te::rp::Segmenter::InputParameters::m_inputRasterBands, te::rp::Segmenter::InputParameters::m_inputRasterPtr, m_inputRasterPtr, te::rp::Segmenter::InputParameters::m_maxBlockSize, te::rp::Segmenter::InputParameters::m_maxSegThreads, te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_minSegmentSize, te::rp::SegmenterRegionGrowingMeanStrategy::Parameters::m_minSegmentSize, m_outpuRasterDSType, m_outpuRasterInfo, m_outputRasterPtr, te::rp::Segmenter::OutputParameters::m_outputRasterPtr, te::rp::Segmenter::OutputParameters::m_rInfo, te::rp::Segmenter::OutputParameters::m_rType, te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_segmentsSimilarityThreshold, te::rp::SegmenterRegionGrowingMeanStrategy::Parameters::m_segmentsSimilarityThreshold, te::rp::Segmenter::InputParameters::m_strategyName, m_uiPtr, and te::rp::Segmenter::InputParameters::setSegStrategyParams().
Referenced by SegmenterDialog().
|
private |
User interface.
Definition at line 104 of file SegmenterDialog.h.
Referenced by on_okPushButton_clicked().
|
private |
Input raster pointer.
Definition at line 105 of file SegmenterDialog.h.
Referenced by on_okPushButton_clicked().
|
private |
Output raster data source type (as described in te::raster::RasterFactory ).
Definition at line 106 of file SegmenterDialog.h.
Referenced by on_okPushButton_clicked().
|
private |
The necessary information to create the raster (as described in te::raster::RasterFactory).
Definition at line 107 of file SegmenterDialog.h.
Referenced by getOutputRaster(), and on_okPushButton_clicked().
|
private |
Definition at line 103 of file SegmenterDialog.h.
Referenced by on_okPushButton_clicked(), SegmenterDialog(), and ~SegmenterDialog().