From 8fb83ed23738bc6b99fa9e750b41697c8c6d0cc6 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@c-s.fr> Date: Tue, 20 Feb 2007 13:39:30 +0000 Subject: [PATCH] essai correction test en erreur (fin). --- Testing/Code/ChangeDetection/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Testing/Code/ChangeDetection/CMakeLists.txt b/Testing/Code/ChangeDetection/CMakeLists.txt index d6e5f61e12..cdb4b9e3c3 100755 --- a/Testing/Code/ChangeDetection/CMakeLists.txt +++ b/Testing/Code/ChangeDetection/CMakeLists.txt @@ -11,6 +11,7 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary) #Tolerance sur diff pixel image SET(TOL 0.0) +SET(EPSILON 0.0000000001) SET(CHANGEDETECTION_TESTS ${CXX_TEST_PATH}/otbChangeDetectionTests) @@ -37,8 +38,9 @@ ADD_TEST(cdTvCorrel ${CHANGEDETECTION_TESTS} ) ADD_TEST(cdTvMeanDiff ${CHANGEDETECTION_TESTS} - --compare-image ${TOL} ${BASELINE}/cdMeanDiffImage.hdr - ${TEMP}/cdMeanDiffImage.hdr + --compare-image ${EPSILON} + ${BASELINE}/cdMeanDiffImage.hdr + ${TEMP}/cdMeanDiffImage.hdr otbMeanDiffChangeDetectionTest ${INPUTDATA}/GomaAvant.png ${INPUTDATA}/GomaApres.png -- GitLab