#include "../Config.h"#include <terralib/rp.h>#include <terralib/raster.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 (moravecStrategySameImage_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategyUpsampledImage_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategy90ClkWRotationImage_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategyHalfRotated90Image_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategySameImageDifBoxes_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategyMultipleThreads_test) | |
| BOOST_AUTO_TEST_CASE (moravecStrategyRescaleFactor_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategySameImage_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategyUpsampledImage_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategy90ClkWRotationImage_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategySameImageDifBoxes_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategyHalfRotated90Image_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategyMultipleThreads_test) | |
| BOOST_AUTO_TEST_CASE (surfStrategyRescaleFactor_test) | |
| BOOST_AUTO_TEST_SUITE (tiePointsLocator_tests) void saveImagesAndTiePoints(const te | |
| #define BOOST_TEST_NO_MAIN |
Definition at line 32 of file TsTiePointsLocator.cpp.
| BOOST_AUTO_TEST_CASE | ( | moravecStrategySameImage_test | ) |
Definition at line 123 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategyUpsampledImage_test | ) |
Definition at line 167 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategy90ClkWRotationImage_test | ) |
Definition at line 223 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategyHalfRotated90Image_test | ) |
Definition at line 275 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategySameImageDifBoxes_test | ) |
Definition at line 329 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategyMultipleThreads_test | ) |
Definition at line 381 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | moravecStrategyRescaleFactor_test | ) |
Definition at line 425 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationRescaleFactor, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategySameImage_test | ) |
Definition at line 470 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategyUpsampledImage_test | ) |
Definition at line 514 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategy90ClkWRotationImage_test | ) |
Definition at line 570 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategySameImageDifBoxes_test | ) |
Definition at line 622 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategyHalfRotated90Image_test | ) |
Definition at line 674 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategyMultipleThreads_test | ) |
Definition at line 728 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_CASE | ( | surfStrategyRescaleFactor_test | ) |
Definition at line 772 of file TsTiePointsLocator.cpp.
References te::rp::TiePointsLocator::execute(), te::rp::TiePointsLocator::initialize(), te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategyName, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationRescaleFactor, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::rst::RasterFactory::open(), and te::rp::TiePointsLocatorInputParameters::setSpecStrategyParams().
| BOOST_AUTO_TEST_SUITE | ( | tiePointsLocator_tests | ) | const |
Definition at line 36 of file TsTiePointsLocator.cpp.
References te::rst::BlueCInt, col, te::rst::GreenCInt, te::sa::Grid, line, te::rst::RasterFactory::make(), te::rst::RedCInt, and te::dt::UCHAR_TYPE.