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 62 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 38 of file SegmenterDialog.cpp.
References te::rst::Raster::getNumberOfBands(), m_uiPtr, and on_okPushButton_clicked().
| te::qt::widgets::SegmenterDialog::~SegmenterDialog | ( | ) | 
Destructor.
Definition at line 63 of file SegmenterDialog.cpp.
| 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 68 of file SegmenterDialog.cpp.
      
  | 
  protectedslot | 
Definition at line 82 of file SegmenterDialog.cpp.
References te::rp::Segmenter::execute(), te::rp::Segmenter::initialize(), te::rp::Segmenter::InputParameters::m_enableBlockMerging, te::rp::Segmenter::InputParameters::m_enableBlockProcessing, te::rp::Segmenter::InputParameters::m_enableThreadedProcessing, te::rp::Segmenter::InputParameters::m_inputRasterBands, te::rp::Segmenter::InputParameters::m_inputRasterPtr, te::rp::Segmenter::InputParameters::m_maxBlockSize, te::rp::Segmenter::InputParameters::m_maxSegThreads, te::rp::SegmenterRegionGrowingStrategy::Parameters::m_minSegmentSize, te::rp::Segmenter::OutputParameters::m_outputRasterPtr, te::rp::Segmenter::OutputParameters::m_rInfo, te::rp::Segmenter::OutputParameters::m_rType, te::rp::SegmenterRegionGrowingStrategy::Parameters::m_segmentsSimilarityThreshold, te::rp::Segmenter::InputParameters::m_strategyName, and te::rp::Segmenter::InputParameters::setSegStrategyParams().
Referenced by SegmenterDialog().
      
  | 
  private | 
User interface.
Definition at line 100 of file SegmenterDialog.h.
      
  | 
  private | 
Input raster pointer.
Definition at line 101 of file SegmenterDialog.h.
      
  | 
  private | 
Output raster data source type (as described in te::raster::RasterFactory ).
Definition at line 102 of file SegmenterDialog.h.
      
  | 
  private | 
The necessary information to create the raster (as described in te::raster::RasterFactory).
Definition at line 103 of file SegmenterDialog.h.
      
  | 
  private | 
Definition at line 99 of file SegmenterDialog.h.
Referenced by SegmenterDialog().