Contrast input parameters. More...
#include <Contrast.h>
Public Member Functions | |
| AbstractParameters * | clone () const |
| Create a clone copy of this instance. More... | |
| 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 | |
Linear contrast parameters | |
| std::vector< double > | m_lCMinInput |
| The contrast minimum input greyscale value of each band. More... | |
| std::vector< double > | m_lCMaxInput |
| The contrast maximum input greyscale value of each band. More... | |
Histogram equalization contrast parameters | |
| std::vector< double > | m_hECMaxInput |
| The contrast maximum input greyscale value of each band. More... | |
Square contrast parameters | |
| std::vector< double > | m_squareCMinInput |
| The contrast minimum input greyscale value of each band. More... | |
| std::vector< double > | m_squareCMaxInput |
| The contrast maximum input greyscale value of each band. More... | |
Square root contrast parameters | |
| std::vector< double > | m_squareRootCMinInput |
| The contrast minimum input greyscale value of each band. More... | |
| std::vector< double > | m_squareRootCMaxInput |
| The contrast maximum input greyscale value of each band. More... | |
Log contrast parameters | |
| std::vector< double > | m_logCMinInput |
| The contrast minimum input greyscale value of each band. More... | |
| std::vector< double > | m_logCMaxInput |
| The contrast maximum input greyscale value of each band. More... | |
Mean and standard deviation normalization contrast parameters | |
| std::vector< double > | m_sMASCMeanInput |
| The mean greyscale to be applied in each band. More... | |
| std::vector< double > | m_sMASCStdInput |
| The standard deviation to be applied in each band. More... | |
Global parameters | |
| enum | ContrastType { InvalidContrastT, LinearContrastT, HistogramEqualizationContrastT, SquareContrastT, SquareRootContrastT, LogContrastT, MeanAndStdContrastT, DecorrelationEnhancementT } |
| ContrastType | m_type |
| The contrast type to be applied. More... | |
| te::rst::Raster const * | m_inRasterPtr |
| Input raster. More... | |
| std::vector< unsigned int > | m_inRasterBands |
| Bands to be processed from the input raster. More... | |
| double | m_outRangeMin |
| Minimum value of data type range (default: -1.0 * std::numeric_limits<double>::max() ). More... | |
| double | m_outRangeMax |
| Maximum value of data type range (default: std::numeric_limits<double>::max(). More... | |
| bool | m_enableProgress |
| Enable/Disable the progress interface (default:false). More... | |
Contrast input parameters.
Definition at line 65 of file Contrast.h.
Definition at line 75 of file Contrast.h.
| te::rp::Contrast::InputParameters::InputParameters | ( | ) |
Definition at line 51 of file src/terralib/rp/Contrast.cpp.
References reset().
Referenced by clone().
| te::rp::Contrast::InputParameters::~InputParameters | ( | ) |
Definition at line 56 of file src/terralib/rp/Contrast.cpp.
References reset().
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 124 of file src/terralib/rp/Contrast.cpp.
References InputParameters().
| const Contrast::InputParameters & te::rp::Contrast::InputParameters::operator= | ( | const InputParameters & | params | ) |
Definition at line 90 of file src/terralib/rp/Contrast.cpp.
References m_enableProgress, m_hECMaxInput, m_inRasterBands, m_inRasterPtr, m_lCMaxInput, m_lCMinInput, m_logCMaxInput, m_logCMinInput, m_outRangeMax, m_outRangeMin, m_sMASCMeanInput, m_sMASCStdInput, m_squareCMaxInput, m_squareCMinInput, m_squareRootCMaxInput, m_squareRootCMinInput, m_type, and reset().
Referenced by te::rp::Contrast::OutputParameters::OutputParameters().
|
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 src/terralib/rp/Contrast.cpp.
References InvalidContrastT, m_enableProgress, m_hECMaxInput, m_inRasterBands, m_inRasterPtr, m_lCMaxInput, m_lCMinInput, m_logCMaxInput, m_logCMinInput, m_outRangeMax, m_outRangeMin, m_sMASCMeanInput, m_sMASCStdInput, m_squareCMaxInput, m_squareCMinInput, m_squareRootCMaxInput, m_squareRootCMinInput, and m_type.
Referenced by te::rp::Contrast::Contrast(), te::rp::Contrast::initialize(), InputParameters(), operator=(), te::rp::Contrast::OutputParameters::operator=(), te::rp::Contrast::OutputParameters::OutputParameters(), te::rp::Contrast::reset(), ~InputParameters(), and te::rp::Contrast::OutputParameters::~OutputParameters().
| bool te::rp::Contrast::InputParameters::m_enableProgress |
Enable/Disable the progress interface (default:false).
Definition at line 97 of file Contrast.h.
Referenced by te::rp::Contrast::execDecorrelationEnhancement(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::execute(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_hECMaxInput |
The contrast maximum input greyscale value of each band.
Definition at line 117 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execHistogramEqualizationContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| std::vector< unsigned int > te::rp::Contrast::InputParameters::m_inRasterBands |
Bands to be processed from the input raster.
Definition at line 91 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE(), Contrast(), te::rp::Contrast::execDecorrelationEnhancement(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::execute(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| te::rst::Raster const* te::rp::Contrast::InputParameters::m_inRasterPtr |
Input raster.
Definition at line 89 of file Contrast.h.
Referenced by te::qt::widgets::ContrastDialogForm::applyPreview(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE(), Contrast(), te::rp::Contrast::execDecorrelationEnhancement(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::execute(), te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), te::rp::Contrast::remapBandLevels(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_lCMaxInput |
The contrast maximum input greyscale value of each band.
Definition at line 108 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_SUITE(), Contrast(), te::rp::Contrast::execLinearContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_lCMinInput |
The contrast minimum input greyscale value of each band.
Definition at line 106 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_SUITE(), Contrast(), te::rp::Contrast::execLinearContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_logCMaxInput |
The contrast maximum input greyscale value of each band.
Definition at line 150 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execLogContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_logCMinInput |
The contrast minimum input greyscale value of each band.
Definition at line 148 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execLogContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| double te::rp::Contrast::InputParameters::m_outRangeMax |
Maximum value of data type range (default: std::numeric_limits<double>::max().
Definition at line 95 of file Contrast.h.
Referenced by te::qt::widgets::ContrastDialogForm::applyPreview(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::execute(), te::rp::Contrast::initialize(), operator=(), te::rp::Contrast::remapBandLevels(), and reset().
| double te::rp::Contrast::InputParameters::m_outRangeMin |
Minimum value of data type range (default: -1.0 * std::numeric_limits<double>::max() ).
Definition at line 93 of file Contrast.h.
Referenced by te::qt::widgets::ContrastDialogForm::applyPreview(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::execute(), te::rp::Contrast::initialize(), operator=(), te::rp::Contrast::remapBandLevels(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_sMASCMeanInput |
The mean greyscale to be applied in each band.
Definition at line 159 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSetMeanAndStdContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_sMASCStdInput |
The standard deviation to be applied in each band.
Definition at line 161 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSetMeanAndStdContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_squareCMaxInput |
The contrast maximum input greyscale value of each band.
Definition at line 128 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSquareContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_squareCMinInput |
The contrast minimum input greyscale value of each band.
Definition at line 126 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSquareContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_squareRootCMaxInput |
The contrast maximum input greyscale value of each band.
Definition at line 139 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| std::vector< double > te::rp::Contrast::InputParameters::m_squareRootCMinInput |
The contrast minimum input greyscale value of each band.
Definition at line 137 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), operator=(), and reset().
| ContrastType te::rp::Contrast::InputParameters::m_type |
The contrast type to be applied.
Definition at line 87 of file Contrast.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE(), Contrast(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialogForm::getInputParams(), te::rp::Contrast::initialize(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), operator=(), te::rp::RasterSlicing(), and reset().