Skip to content
Snippets Groups Projects
Commit fa4dc209 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : right angle test add

parent 9ec8f28c
No related branches found
No related tags found
No related merge requests found
......@@ -337,6 +337,21 @@ ADD_TEST(CloudDetectionExampleTest ${EXE_TESTS2}
553 467 734 581 0.4 0.6 1.0
)
# ------- Right Angle Detection test----------
ADD_TEST(RightAngleDetectionExample ${EXE_TESTS2}
--compare-image ${TOL}
${BASELINE}/RightAngleOutput.png
${TEMP}/PrettyRightAngleOutput.png
RightAngleDetectionExample
${INPUTDATA}/qb_RoadExtract2.tif
${TEMP}/RighAngleOutput.tif
${TEMP}/PrettyRightAngleInput.png
${TEMP}/PrettyRightAngleOutput.png
0.09
20.
)
ADD_EXECUTABLE(otbFeatureExtractionExamplesTests1 otbFeatureExtractionExamplesTests1.cxx)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests1 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
......
......@@ -29,9 +29,10 @@ void RegisterTests()
REGISTER_TEST(ExtractRoadExampleTest);
REGISTER_TEST(SeamCarvingExampleTest);
REGISTER_TEST(SeamCarvingOtherExampleTest);
//REGISTER_TEST(ImageToSIFTKeyPointSetFilterTest);
//REGISTER_TEST(ImageToSIFTKeyPointSetFilterTest);
REGISTER_TEST(ScaleInvariantFeatureImageFilterTest);
REGISTER_TEST(CloudDetectionExampleTest);
REGISTER_TEST( RightAngleDetectionExample);
}
#undef main
......@@ -62,3 +63,6 @@ void RegisterTests()
#define main CloudDetectionExampleTest
#include "CloudDetectionExample.cxx"
#undef main
#define main RightAngleDetectionExample
#include "RightAngleDetectionExample.cxx"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment