#include "../Config.h"#include <terralib/rp.h>#include <terralib/raster.h>#include <terralib/dataaccess.h>#include <boost/test/unit_test.hpp>#include <boost/shared_ptr.hpp>Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_NO_MAIN |
Functions | |
| BOOST_AUTO_TEST_CASE (histogramEqualizationContrast_test) | |
| BOOST_AUTO_TEST_CASE (histogramEqualizationContrastFloat_test) | |
| BOOST_AUTO_TEST_CASE (squareContrast_test) | |
| BOOST_AUTO_TEST_CASE (squareRootContrast_test) | |
| BOOST_AUTO_TEST_CASE (logContrast_test) | |
| BOOST_AUTO_TEST_CASE (setMeanAndStdContrast_test) | |
| BOOST_AUTO_TEST_CASE (decorrelationEnhancementTContrast_test) | |
| BOOST_AUTO_TEST_SUITE (contrast_tests) BOOST_AUTO_TEST_CASE(linearContrast_test) | |
| #define BOOST_TEST_NO_MAIN |
Definition at line 33 of file TsContrast.cpp.
| BOOST_AUTO_TEST_CASE | ( | histogramEqualizationContrast_test | ) |
Definition at line 77 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_hECMaxInput, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_type, and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | histogramEqualizationContrastFloat_test | ) |
Definition at line 115 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_hECMaxInput, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_type, and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | squareContrast_test | ) |
Definition at line 153 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_squareCMaxInput, te::rp::Contrast::InputParameters::m_squareCMinInput, te::rp::Contrast::InputParameters::m_type, te::rst::RasterFactory::open(), and te::rp::Contrast::InputParameters::SquareContrastT.
| BOOST_AUTO_TEST_CASE | ( | squareRootContrast_test | ) |
Definition at line 191 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_squareRootCMaxInput, te::rp::Contrast::InputParameters::m_squareRootCMinInput, te::rp::Contrast::InputParameters::m_type, te::rst::RasterFactory::open(), and te::rp::Contrast::InputParameters::SquareRootContrastT.
| BOOST_AUTO_TEST_CASE | ( | logContrast_test | ) |
Definition at line 229 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_logCMaxInput, te::rp::Contrast::InputParameters::m_logCMinInput, te::rp::Contrast::InputParameters::m_type, and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | setMeanAndStdContrast_test | ) |
Definition at line 267 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_sMASCMeanInput, te::rp::Contrast::InputParameters::m_sMASCStdInput, te::rp::Contrast::InputParameters::m_type, te::rp::Contrast::InputParameters::MeanAndStdContrastT, and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | decorrelationEnhancementTContrast_test | ) |
Definition at line 305 of file TsContrast.cpp.
References te::rp::Contrast::InputParameters::DecorrelationEnhancementT, te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_type, and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_SUITE | ( | contrast_tests | ) |
Definition at line 37 of file TsContrast.cpp.
References te::rp::Contrast::execute(), te::rp::Contrast::initialize(), te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_inRasterPtr, te::rp::Contrast::InputParameters::m_lCMaxInput, te::rp::Contrast::InputParameters::m_lCMinInput, te::rp::Contrast::InputParameters::m_type, and te::rst::RasterFactory::open().