Segmenter Input Parameters. More...
#include <Segmenter.h>
  
 Public Member Functions | |
| AbstractParameters * | clone () const | 
| Create a clone copy of this instance.  More... | |
| SegmenterStrategyParameters const * | getSegStrategyParams () const | 
| Returns a pointer to the internal specific segmenter strategy parameters.  More... | |
| InputParameters () | |
| InputParameters (const InputParameters &other) | |
| const Segmenter::InputParameters & | operator= (const Segmenter::InputParameters ¶ms) | 
| void | reset () throw ( te::rp::Exception ) | 
| Clear all internal allocated resources and reset the parameters instance to its initial state.  More... | |
| void | setSegStrategyParams (const SegmenterStrategyParameters &segStratParams) | 
| Set specific segmenter strategy parameters.  More... | |
| ~InputParameters () | |
Public Attributes | |
| bool | m_enableBlockMerging | 
| If true, a block merging procedure will be performed (default:true).  More... | |
| bool | m_enableBlockProcessing | 
| If true, the original raster will be splitted into small blocks, each one will be segmented independently and the result will be merged (if possible) at the end (default:true).  More... | |
| bool | m_enableProgress | 
| Enable/Disable the progress interface (default:false).  More... | |
| bool | m_enableRasterCache | 
| Enable/Disable the use of raster data cache (default:true).  More... | |
| bool | m_enableThreadedProcessing | 
| If true, threaded processing will be performed (best with multi-core or multi-processor systems (default:true).  More... | |
| std::vector< unsigned int > | m_inputRasterBands | 
| Bands to be processed from the input raster.  More... | |
| te::rst::Raster const * | m_inputRasterPtr | 
| Input raster.  More... | |
| unsigned int | m_maxBlockSize | 
| The input image will be split into blocks with this width for processing, this parameter tells the maximum block lateral size (width or height), the default: 0 - the size will be defined following the current system resources and physical processors number).  More... | |
| unsigned int | m_maxSegThreads | 
| The maximum number of concurrent segmenter threads (default:0 - automatically found).  More... | |
| std::string | m_strategyName | 
| The segmenter strategy name see each te::rp::SegmenterStrategyFactory inherited classes documentation for reference.  More... | |
Protected Attributes | |
| SegmenterStrategyParameters * | m_segStratParamsPtr | 
| A pointer to the internal specific segmenter strategy parameters or NULL if no parameters are present.  More... | |
Segmenter Input Parameters.
Definition at line 80 of file Segmenter.h.
| te::rp::Segmenter::InputParameters::InputParameters | ( | ) | 
Definition at line 55 of file Segmenter.cpp.
References m_segStratParamsPtr, and reset().
| te::rp::Segmenter::InputParameters::InputParameters | ( | const InputParameters & | other | ) | 
Definition at line 61 of file Segmenter.cpp.
References te::rp::Algorithm::operator=(), and te::rp::Segmenter::reset().
| te::rp::Segmenter::InputParameters::~InputParameters | ( | ) | 
Definition at line 68 of file Segmenter.cpp.
References te::rp::Segmenter::reset().
      
  | 
  virtual | 
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 116 of file Segmenter.cpp.
| SegmenterStrategyParameters const * te::rp::Segmenter::InputParameters::getSegStrategyParams | ( | ) | const | 
Returns a pointer to the internal specific segmenter strategy parameters.
Definition at line 134 of file Segmenter.cpp.
Referenced by te::rp::Segmenter::execute(), and te::rp::Segmenter::segmenterThreadEntry().
| const Segmenter::InputParameters & te::rp::Segmenter::InputParameters::operator= | ( | const Segmenter::InputParameters & | params | ) | 
Definition at line 93 of file Segmenter.cpp.
References te::common::AbstractParameters::clone(), m_enableBlockMerging, m_enableBlockProcessing, m_enableProgress, m_enableRasterCache, m_enableThreadedProcessing, m_inputRasterBands, m_inputRasterPtr, m_maxBlockSize, m_maxSegThreads, m_segStratParamsPtr, m_strategyName, and te::rp::Segmenter::reset().
      
  | 
  virtual | |||||||||||||
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
Definition at line 73 of file Segmenter.cpp.
Referenced by InputParameters(), and te::rp::Segmenter::reset().
| void te::rp::Segmenter::InputParameters::setSegStrategyParams | ( | const SegmenterStrategyParameters & | segStratParams | ) | 
Set specific segmenter strategy parameters.
| params | The specific segmenter strategy parameters. | 
Definition at line 121 of file Segmenter.cpp.
References te::common::AbstractParameters::clone().
Referenced by te::qt::widgets::SegmenterWizardPage::getInputParams(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), and te::idl::rp::RegionGrowingSegmenter().
| bool te::rp::Segmenter::InputParameters::m_enableBlockMerging | 
If true, a block merging procedure will be performed (default:true).
Definition at line 94 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizardPage::apply(), te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::SegmenterAdvancedOptionsWizardPage(), and te::rp::Segmenter::segmenterThreadEntry().
| bool te::rp::Segmenter::InputParameters::m_enableBlockProcessing | 
If true, the original raster will be splitted into small blocks, each one will be segmented independently and the result will be merged (if possible) at the end (default:true).
Definition at line 92 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizardPage::apply(), te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::SegmenterAdvancedOptionsWizardPage(), and te::rp::Segmenter::segmenterThreadEntry().
| bool te::rp::Segmenter::InputParameters::m_enableProgress | 
Enable/Disable the progress interface (default:false).
Definition at line 100 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), and operator=().
| bool te::rp::Segmenter::InputParameters::m_enableRasterCache | 
Enable/Disable the use of raster data cache (default:true).
Definition at line 102 of file Segmenter.h.
Referenced by te::rp::Segmenter::execute(), and operator=().
| bool te::rp::Segmenter::InputParameters::m_enableThreadedProcessing | 
If true, threaded processing will be performed (best with multi-core or multi-processor systems (default:true).
Definition at line 88 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizardPage::apply(), te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), and te::qt::widgets::SegmenterAdvancedOptionsWizardPage::SegmenterAdvancedOptionsWizardPage().
| std::vector< unsigned int > te::rp::Segmenter::InputParameters::m_inputRasterBands | 
Bands to be processed from the input raster.
Definition at line 86 of file Segmenter.h.
Referenced by te::rp::Segmenter::createCutOffLinesTiff(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::rp::Segmenter::initialize(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::idl::rp::RegionGrowingSegmenter(), and te::rp::Segmenter::segmenterThreadEntry().
| te::rst::Raster const* te::rp::Segmenter::InputParameters::m_inputRasterPtr | 
Input raster.
Definition at line 84 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizardPage::apply(), te::rp::Segmenter::createCutOffLinesTiff(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::rp::Segmenter::initialize(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::idl::rp::RegionGrowingSegmenter(), and te::rp::Segmenter::segmenterThreadEntry().
| unsigned int te::rp::Segmenter::InputParameters::m_maxBlockSize | 
The input image will be split into blocks with this width for processing, this parameter tells the maximum block lateral size (width or height), the default: 0 - the size will be defined following the current system resources and physical processors number).
Definition at line 96 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), and te::qt::widgets::SegmenterAdvancedOptionsWizardPage::SegmenterAdvancedOptionsWizardPage().
| unsigned int te::rp::Segmenter::InputParameters::m_maxSegThreads | 
The maximum number of concurrent segmenter threads (default:0 - automatically found).
Definition at line 90 of file Segmenter.h.
Referenced by te::qt::widgets::SegmenterWizard::execute(), te::rp::Segmenter::execute(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), and te::qt::widgets::SegmenterAdvancedOptionsWizardPage::SegmenterAdvancedOptionsWizardPage().
      
  | 
  protected | 
A pointer to the internal specific segmenter strategy parameters or NULL if no parameters are present.
Definition at line 139 of file Segmenter.h.
Referenced by InputParameters(), and operator=().
| std::string te::rp::Segmenter::InputParameters::m_strategyName | 
The segmenter strategy name see each te::rp::SegmenterStrategyFactory inherited classes documentation for reference.
Definition at line 98 of file Segmenter.h.
Referenced by te::rp::Segmenter::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::idl::rp::RegionGrowingSegmenter(), and te::rp::Segmenter::segmenterThreadEntry().