#include "../Config.h"#include <terralib/rp.h>#include <terralib/raster.h>#include <terralib/dataaccess.h>#include <memory>#include <string>#include <boost/test/unit_test.hpp>#include <boost/lexical_cast.hpp>#include <boost/timer.hpp>Go to the source code of this file.
Macros | |
| #define | BOOST_TEST_NO_MAIN |
Functions | |
| BOOST_AUTO_TEST_CASE (rasterSlicing_test) | |
| BOOST_AUTO_TEST_CASE (ihs_test) | |
| BOOST_AUTO_TEST_CASE (hls_test) | |
| BOOST_AUTO_TEST_CASE (getMeanValue_test) | |
| BOOST_AUTO_TEST_CASE (getMeanValueOptimized_test) | |
| BOOST_AUTO_TEST_CASE (getCovarianceValue_test) | |
| BOOST_AUTO_TEST_CASE (getCovarianceValueOptimized_test) | |
| BOOST_AUTO_TEST_CASE (principalComponents_test) | |
| BOOST_AUTO_TEST_CASE (principalComponentsOptimized_test) | |
| BOOST_AUTO_TEST_CASE (getStdDevValue_test) | |
| BOOST_AUTO_TEST_CASE (getStdDevValueOptimized_test) | |
| BOOST_AUTO_TEST_CASE (decomposeBands_test) | |
| BOOST_AUTO_TEST_CASE (composeBandsSameSRID_test) | |
| BOOST_AUTO_TEST_CASE (composeBandsDifSRID_test) | |
| BOOST_AUTO_TEST_CASE (getDetailedExtent_test) | |
| BOOST_AUTO_TEST_CASE (getIndexedDetailedExtent_test) | |
| BOOST_AUTO_TEST_CASE (waveletAtrous_test) | |
| BOOST_AUTO_TEST_SUITE (functions_tests) BOOST_AUTO_TEST_CASE(createFixedStepPalette_test) | |
| #define BOOST_TEST_NO_MAIN |
Definition at line 37 of file TsFunctions.cpp.
| BOOST_AUTO_TEST_CASE | ( | rasterSlicing_test | ) |
Definition at line 82 of file TsFunctions.cpp.
References te::rst::RasterFactory::open(), and te::rp::RasterSlicing().
| BOOST_AUTO_TEST_CASE | ( | ihs_test | ) |
Definition at line 133 of file TsFunctions.cpp.
References band, col, te::rp::ConvertIHS2RGB(), te::rp::ConvertRGB2IHS(), te::rp::Copy2DiskRaster(), te::dt::DOUBLE_TYPE, te::rst::RasterFactory::make(), nCols, te::rst::RasterFactory::open(), and te::dt::UCHAR_TYPE.
| BOOST_AUTO_TEST_CASE | ( | hls_test | ) |
Definition at line 206 of file TsFunctions.cpp.
References band, col, te::rp::ConvertHLS2RGB(), te::rp::ConvertRGB2HLS(), te::rp::Copy2DiskRaster(), te::dt::DOUBLE_TYPE, te::rst::RasterFactory::make(), nCols, te::rst::RasterFactory::open(), and te::dt::UCHAR_TYPE.
| BOOST_AUTO_TEST_CASE | ( | getMeanValue_test | ) |
Definition at line 279 of file TsFunctions.cpp.
References te::rp::GetMeanValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | getMeanValueOptimized_test | ) |
Definition at line 298 of file TsFunctions.cpp.
References te::rp::GetMeanValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | getCovarianceValue_test | ) |
Definition at line 317 of file TsFunctions.cpp.
References te::rp::GetCovarianceValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | getCovarianceValueOptimized_test | ) |
Definition at line 337 of file TsFunctions.cpp.
References te::rp::GetCovarianceValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | principalComponents_test | ) |
Definition at line 357 of file TsFunctions.cpp.
References te::rp::Copy2DiskRaster(), te::rp::DirectPrincipalComponents(), te::dt::DOUBLE_TYPE, te::rp::InversePrincipalComponents(), te::rst::RasterFactory::make(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | principalComponentsOptimized_test | ) |
Definition at line 431 of file TsFunctions.cpp.
References te::rp::Copy2DiskRaster(), te::rp::DirectPrincipalComponents(), te::dt::DOUBLE_TYPE, te::rp::InversePrincipalComponents(), te::rst::RasterFactory::make(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | getStdDevValue_test | ) |
Definition at line 493 of file TsFunctions.cpp.
References te::rp::GetStdDevValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | getStdDevValueOptimized_test | ) |
Definition at line 512 of file TsFunctions.cpp.
References te::rp::GetStdDevValue(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | decomposeBands_test | ) |
Definition at line 531 of file TsFunctions.cpp.
References te::rp::DecomposeBands(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_CASE | ( | composeBandsSameSRID_test | ) |
Definition at line 556 of file TsFunctions.cpp.
References te::rp::ComposeBands(), te::rst::NearestNeighbor, te::rst::RasterFactory::open(), and compose::rasters.
| BOOST_AUTO_TEST_CASE | ( | composeBandsDifSRID_test | ) |
Definition at line 592 of file TsFunctions.cpp.
References te::rp::ComposeBands(), te::rst::NearestNeighbor, te::rst::RasterFactory::open(), and compose::rasters.
| BOOST_AUTO_TEST_CASE | ( | getDetailedExtent_test | ) |
Definition at line 628 of file TsFunctions.cpp.
References te::rp::GetDetailedExtent(), te::rst::Grid::getExtent(), te::gm::LineString::getX(), te::gm::LineString::getY(), te::gm::LineStringType, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, and te::gm::LineString::size().
| BOOST_AUTO_TEST_CASE | ( | getIndexedDetailedExtent_test | ) |
Definition at line 670 of file TsFunctions.cpp.
References te::rst::Grid::getExtent(), te::rp::GetIndexedDetailedExtent(), te::gm::LineString::getX(), te::gm::LineString::getY(), te::gm::LineStringType, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, and te::gm::LineString::size().
| BOOST_AUTO_TEST_CASE | ( | waveletAtrous_test | ) |
Definition at line 712 of file TsFunctions.cpp.
References te::rp::B3SplineWAFilter, te::rp::Copy2DiskRaster(), te::rp::CreateWaveletAtrousFilter(), te::rp::DirectWaveletAtrous(), te::dt::DOUBLE_TYPE, te::rp::InverseWaveletAtrous(), te::rst::RasterFactory::make(), and te::rst::RasterFactory::open().
| BOOST_AUTO_TEST_SUITE | ( | functions_tests | ) |
Definition at line 42 of file TsFunctions.cpp.
References te::rst::BlueCInt, col, te::rp::CreateFixedStepPalette(), te::rst::GreenCInt, line, te::rst::RasterFactory::make(), rasterPointer, te::rst::RedCInt, and te::dt::UCHAR_TYPE.