Filter input parameters. More...
#include <Filter.h>
Public Types | |
enum | FilterType { InvalidFilterT = 0, SobelFilterT = 1, RobertsFilterT = 2, MeanFilterT = 3, ModeFilterT = 4, MedianFilterT = 5, DilationFilterT = 6, ErosionFilterT = 7, UserDefinedWindowT = 8 } |
Public Member Functions | |
AbstractParameters * | clone () const |
Create a clone copy of this instance. More... | |
InputParameters () | |
InputParameters (const InputParameters &) | |
const InputParameters & | operator= (const InputParameters ¶ms) |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated resources and reset the parameters instance to its initial state. More... | |
~InputParameters () | |
Public Attributes | |
bool | m_enableProgress |
Enable/Disable the progress interface (default:false). More... | |
FilterType | m_filterType |
The edge filter type. More... | |
std::vector< unsigned int > | m_inRasterBands |
Bands to be used from the input raster 1. More... | |
te::rst::Raster const * | m_inRasterPtr |
Input raster. More... | |
unsigned int | m_iterationsNumber |
The number of iterations to perform (default:1). More... | |
boost::numeric::ublas::matrix < double > | m_window |
User defined convolution window. (The size must be equal to m_windowH x m_windowW) More... | |
unsigned int | m_windowH |
The height of the convolution window. (commonly 3, with W=3 to make a 3x3 window, and so on) More... | |
unsigned int | m_windowW |
The width of the convolution window. More... | |
te::rp::Filter::InputParameters::InputParameters | ( | ) |
Definition at line 45 of file Filter.cpp.
References reset().
te::rp::Filter::InputParameters::InputParameters | ( | const InputParameters & | other | ) |
Definition at line 50 of file Filter.cpp.
References te::rp::Algorithm::operator=(), and te::rp::Filter::reset().
te::rp::Filter::InputParameters::~InputParameters | ( | ) |
Definition at line 56 of file Filter.cpp.
References te::rp::Filter::reset().
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 92 of file Filter.cpp.
const Filter::InputParameters & te::rp::Filter::InputParameters::operator= | ( | const InputParameters & | params | ) |
Definition at line 73 of file Filter.cpp.
References m_enableProgress, m_filterType, m_inRasterBands, m_inRasterPtr, m_iterationsNumber, m_window, m_windowH, m_windowW, te::rp::Filter::reset(), and UserDefinedWindowT.
|
virtual |
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
Definition at line 61 of file Filter.cpp.
References InvalidFilterT.
Referenced by InputParameters(), and te::rp::Filter::reset().
bool te::rp::Filter::InputParameters::m_enableProgress |
Enable/Disable the progress interface (default:false).
Definition at line 85 of file Filter.h.
Referenced by te::rp::Filter::execute(), te::qt::widgets::FilterWizardPage::getInputParams(), and operator=().
FilterType te::rp::Filter::InputParameters::m_filterType |
The edge filter type.
Definition at line 73 of file Filter.h.
Referenced by te::rp::Filter::execute(), te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), and operator=().
std::vector< unsigned int > te::rp::Filter::InputParameters::m_inRasterBands |
Bands to be used from the input raster 1.
Definition at line 77 of file Filter.h.
Referenced by te::rp::Filter::execute(), te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), and operator=().
te::rst::Raster const* te::rp::Filter::InputParameters::m_inRasterPtr |
Input raster.
Definition at line 75 of file Filter.h.
Referenced by te::qt::widgets::FilterWizardPage::apply(), te::qt::widgets::FilterWizard::execute(), te::rp::Filter::execute(), te::rp::Filter::initialize(), and operator=().
unsigned int te::rp::Filter::InputParameters::m_iterationsNumber |
The number of iterations to perform (default:1).
Definition at line 79 of file Filter.h.
Referenced by te::rp::Filter::execute(), te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), and operator=().
boost::numeric::ublas::matrix<double> te::rp::Filter::InputParameters::m_window |
User defined convolution window. (The size must be equal to m_windowH x m_windowW)
Definition at line 87 of file Filter.h.
Referenced by te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), operator=(), and te::rp::Filter::UserDefinedFilter().
unsigned int te::rp::Filter::InputParameters::m_windowH |
The height of the convolution window. (commonly 3, with W=3 to make a 3x3 window, and so on)
Definition at line 81 of file Filter.h.
Referenced by te::rp::Filter::DilationFilter(), te::rp::Filter::ErosionFilter(), te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), te::rp::Filter::MeanFilter(), te::rp::Filter::MedianFilter(), te::rp::Filter::ModeFilter(), operator=(), and te::rp::Filter::UserDefinedFilter().
unsigned int te::rp::Filter::InputParameters::m_windowW |
The width of the convolution window.
Definition at line 83 of file Filter.h.
Referenced by te::rp::Filter::DilationFilter(), te::rp::Filter::ErosionFilter(), te::qt::widgets::FilterWizardPage::getInputParams(), te::rp::Filter::initialize(), te::rp::Filter::MeanFilter(), te::rp::Filter::MedianFilter(), te::rp::Filter::ModeFilter(), operator=(), and te::rp::Filter::UserDefinedFilter().