Skip to content
Snippets Groups Projects
Commit 40071b0c authored by Mathieu Deltorre's avatar Mathieu Deltorre
Browse files

*Integration exemple itkScaleInvariantFeature insight journal

parent 271f4c9e
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment