diff --git a/Examples/FeatureExtraction/CMakeLists.txt b/Examples/FeatureExtraction/CMakeLists.txt index a78112534ac541be15f3af6c66b1ed1cb32918d1..1f7468a2b6a61374ee42a9d4d7c3db97c9f6a52a 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 c768f3e1185875ec72eb4def3e245df719b0af93..e2c027bd6bc3ce9bdda8a365c1c4f664cfc94c74 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