From 40071b0c5f9af71279e5fc8da59acbae2e242373 Mon Sep 17 00:00:00 2001 From: Mathieu Deltorre <mathieu.deltorre@c-s.fr> Date: Wed, 14 May 2008 14:34:10 +0000 Subject: [PATCH] *Integration exemple itkScaleInvariantFeature insight journal --- Examples/FeatureExtraction/CMakeLists.txt | 19 +++++++++---------- .../otbFeatureExtractionExamplesTests.cxx | 8 ++++---- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Examples/FeatureExtraction/CMakeLists.txt b/Examples/FeatureExtraction/CMakeLists.txt index a78112534a..1f7468a2b6 100644 --- a/Examples/FeatureExtraction/CMakeLists.txt +++ b/Examples/FeatureExtraction/CMakeLists.txt @@ -69,7 +69,6 @@ ADD_EXECUTABLE(SIFTExample SIFTExample.cxx) TARGET_LINK_LIBRARIES(SIFTExample OTBIO OTBCommon OTBFeatureExtraction ITKCommon ITKBasicFilters) - IF( NOT OTB_DISABLE_CXX_TESTING AND NOT OTB_DISABLE_CXX_EXAMPLES_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction) @@ -248,15 +247,15 @@ ADD_TEST(SeamCarvingOtherExampleTest ${EXE_TESTS} 50 ) -ADD_TEST(ImageToSIFTKeyPointSetFilterTest ${EXE_TESTS} - --compare-image ${TOL} - ${BASELINE}/ImageToSIFTKeyPointSetFilterOutput.png - ${TEMP}/ImageToSIFTKeyPointSetFilterOutput.png - ImageToSIFTKeyPointSetFilterTest - ${INPUTDATA}/Scene.png - ${TEMP}/ImageToSIFTKeyPointSetFilterOutput.png - 6 3 0.08 10 -) +#ADD_TEST(ImageToSIFTKeyPointSetFilterTest ${EXE_TESTS} +# --compare-image ${TOL} +# ${BASELINE}/ImageToSIFTKeyPointSetFilterOutput.png +# ${TEMP}/ImageToSIFTKeyPointSetFilterOutput.png +# ImageToSIFTKeyPointSetFilterTest +# ${INPUTDATA}/Scene.png +# ${TEMP}/ImageToSIFTKeyPointSetFilterOutput.png +# 6 3 0.08 10 +#) ADD_TEST(ScaleInvariantFeatureImageFilterTest ${EXE_TESTS} --compare-n-image ${TOL} 4 diff --git a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests.cxx b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests.cxx index c768f3e118..e2c027bd6b 100644 --- a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests.cxx +++ b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests.cxx @@ -38,7 +38,7 @@ REGISTER_TEST(ExtractRoadByStepsExampleTest); REGISTER_TEST(ExtractRoadExampleTest); REGISTER_TEST(SeamCarvingExampleTest); REGISTER_TEST(SeamCarvingOtherExampleTest); -REGISTER_TEST(ImageToSIFTKeyPointSetFilterTest); +//REGISTER_TEST(ImageToSIFTKeyPointSetFilterTest); REGISTER_TEST(ScaleInvariantFeatureImageFilterTest); } @@ -94,9 +94,9 @@ REGISTER_TEST(ScaleInvariantFeatureImageFilterTest); #define main SeamCarvingOtherExampleTest #include "SeamCarvingOtherExample.cxx" -#undef main -#define main ImageToSIFTKeyPointSetFilterTest -#include "ImageToSIFTKeyPointSetFilter.cxx" +//#undef main +//#define main ImageToSIFTKeyPointSetFilterTest +//#include "ImageToSIFTKeyPointSetFilter.cxx" #undef main #define main ScaleInvariantFeatureImageFilterTest -- GitLab