Skip to content
Snippets Groups Projects
Commit ea52e3f0 authored by OTB Bot's avatar OTB Bot
Browse files

ENH: use siftfast in examples only when libsftfast is enabled

parent ad76945c
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,11 @@ TARGET_LINK_LIBRARIES(FuzzyConnectednessImageFilter OTBIO OTBCommon ITKNumerics)
#TARGET_LINK_LIBRARIES(HybridSegmentationFuzzyVoronoi OTBIO OTBCommon ITKNumerics)
#Examples using SIFT
IF(OTB_USE_SIFTFAST)
ADD_EXECUTABLE(SIFTDisparityMapEstimation SIFTDisparityMapEstimation.cxx )
TARGET_LINK_LIBRARIES(SIFTDisparityMapEstimation OTBFeatureExtraction OTBCommon OTBIO
ITKIO)
ENDIF(OTB_USE_SIFTFAST)
ADD_EXECUTABLE(EstimateAffineTransformationExample EstimateAffineTransformationExample.cxx )
TARGET_LINK_LIBRARIES(EstimateAffineTransformationExample OTBFeatureExtraction OTBCommon OTBIO OTBProjections
......@@ -72,6 +74,7 @@ ADD_TEST(dmTeEstimateAffineTransformationExampleTest ${EXE_TESTS}
)
# -----SIFTDisparityMapEstimationTest---------
IF(OTB_USE_SIFTFAST)
ADD_TEST(dmTeSIFTDisparityMapEstimationTest ${EXE_TESTS}
--compare-image ${TOL}
${BASELINE}/SIFTdeformationFieldOutput.png
......@@ -81,7 +84,7 @@ SIFTDisparityMapEstimationTest
${INPUTDATA}/ROISpot5Warped.png
${TEMP}/SIFTdeformationFieldOutput.png
)
ENDIF(OTB_USE_SIFTFAST)
ADD_TEST(feTeScaleInvariantFeatureImageFilterTest ${EXE_TESTS}
--compare-n-images ${TOL} 4
......
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