Commit 60a1c824 authored by Julien Malik's avatar Julien Malik

COMP: fix EPSILON definiton in Examples tests

parent bd1694d5
...@@ -43,7 +43,7 @@ otb_add_test(NAME cdTeRatioChDetTest COMMAND ${OTB_TEST_DRIVER} ...@@ -43,7 +43,7 @@ otb_add_test(NAME cdTeRatioChDetTest COMMAND ${OTB_TEST_DRIVER}
# ------- KullbackLeiblerDistanceChDetTest---------- # ------- KullbackLeiblerDistanceChDetTest----------
otb_add_test(NAME cdTeKullbackLeiblerDistanceChDetTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME cdTeKullbackLeiblerDistanceChDetTest COMMAND ${OTB_TEST_DRIVER}
--compare-n-images ${PNGEPSILON} 1 --compare-n-images ${NOTOL} 1
${BASELINE}/KullbackLeiblerDistanceChDetTest.png ${BASELINE}/KullbackLeiblerDistanceChDetTest.png
${TEMP}/KullbackLeiblerDistanceChDetTest.png ${TEMP}/KullbackLeiblerDistanceChDetTest.png
Execute $<TARGET_FILE:KullbackLeiblerDistanceChDet> Execute $<TARGET_FILE:KullbackLeiblerDistanceChDet>
......
...@@ -2,7 +2,7 @@ set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Fusion) ...@@ -2,7 +2,7 @@ set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Fusion)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples) set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME fuTeBayesianFusionImageFilterTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME fuTeBayesianFusionImageFilterTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/ImageBayesianFusion.tif ${BASELINE}/ImageBayesianFusion.tif
${TEMP}/ImageBayesianFusion.tif ${TEMP}/ImageBayesianFusion.tif
Execute $<TARGET_FILE:BayesianFusionImageFilter> Execute $<TARGET_FILE:BayesianFusionImageFilter>
...@@ -18,7 +18,7 @@ otb_add_test(NAME fuTeBayesianFusionImageFilterTest COMMAND ${OTB_TEST_DRIVER} ...@@ -18,7 +18,7 @@ otb_add_test(NAME fuTeBayesianFusionImageFilterTest COMMAND ${OTB_TEST_DRIVER}
) )
otb_add_test(NAME fuTePanSharpeningExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME fuTePanSharpeningExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/PanSharpeningExampleTest.tif ${BASELINE}/PanSharpeningExampleTest.tif
${TEMP}/PanSharpeningExampleTest.tif ${TEMP}/PanSharpeningExampleTest.tif
Execute $<TARGET_FILE:PanSharpeningExample> Execute $<TARGET_FILE:PanSharpeningExample>
......
...@@ -2,7 +2,7 @@ set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Markov) ...@@ -2,7 +2,7 @@ set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Markov)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples) set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME maTeMarkovClassification1ExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME maTeMarkovClassification1ExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/MarkovClassification1.png ${BASELINE}/MarkovClassification1.png
${TEMP}/MarkovClassification1.png ${TEMP}/MarkovClassification1.png
Execute $<TARGET_FILE:MarkovClassification1Example> Execute $<TARGET_FILE:MarkovClassification1Example>
...@@ -15,7 +15,7 @@ otb_add_test(NAME maTeMarkovClassification1ExampleTest COMMAND ${OTB_TEST_DRIVER ...@@ -15,7 +15,7 @@ otb_add_test(NAME maTeMarkovClassification1ExampleTest COMMAND ${OTB_TEST_DRIVER
) )
otb_add_test(NAME maTeMarkovClassification2ExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME maTeMarkovClassification2ExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/MarkovClassification2.png ${BASELINE}/MarkovClassification2.png
${TEMP}/MarkovClassification2.png ${TEMP}/MarkovClassification2.png
Execute $<TARGET_FILE:MarkovClassification2Example> Execute $<TARGET_FILE:MarkovClassification2Example>
...@@ -27,7 +27,7 @@ otb_add_test(NAME maTeMarkovClassification2ExampleTest COMMAND ${OTB_TEST_DRIVER ...@@ -27,7 +27,7 @@ otb_add_test(NAME maTeMarkovClassification2ExampleTest COMMAND ${OTB_TEST_DRIVER
) )
otb_add_test(NAME maTeMarkovClassification3ExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME maTeMarkovClassification3ExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/MarkovClassification3.png ${BASELINE}/MarkovClassification3.png
${TEMP}/MarkovClassification3.png ${TEMP}/MarkovClassification3.png
Execute $<TARGET_FILE:MarkovClassification3Example> Execute $<TARGET_FILE:MarkovClassification3Example>
...@@ -38,7 +38,7 @@ otb_add_test(NAME maTeMarkovClassification3ExampleTest COMMAND ${OTB_TEST_DRIVER ...@@ -38,7 +38,7 @@ otb_add_test(NAME maTeMarkovClassification3ExampleTest COMMAND ${OTB_TEST_DRIVER
) )
otb_add_test(NAME maTeMarkovRestaurationExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME maTeMarkovRestaurationExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/MarkovRestauration.png ${BASELINE}/MarkovRestauration.png
${TEMP}/MarkovRestauration.png ${TEMP}/MarkovRestauration.png
Execute $<TARGET_FILE:MarkovRestaurationExample> Execute $<TARGET_FILE:MarkovRestaurationExample>
...@@ -53,7 +53,7 @@ otb_add_test(NAME maTeMarkovRestaurationExampleTest COMMAND ${OTB_TEST_DRIVER} ...@@ -53,7 +53,7 @@ otb_add_test(NAME maTeMarkovRestaurationExampleTest COMMAND ${OTB_TEST_DRIVER}
otb_add_test(NAME maTeMarkovRegularizationExampleTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME maTeMarkovRegularizationExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/MarkovRegularization-scaled.png ${BASELINE}/MarkovRegularization-scaled.png
${TEMP}/MarkovRegularization-scaled.png ${TEMP}/MarkovRegularization-scaled.png
Execute $<TARGET_FILE:MarkovRegularizationExample> Execute $<TARGET_FILE:MarkovRegularizationExample>
......
...@@ -4,7 +4,7 @@ set(INPUTDATA ${OTB_DATA_ROOT}/Examples) ...@@ -4,7 +4,7 @@ set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ------------------------------ # ------- ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ------------------------------
otb_add_test(NAME raTeARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME raTeARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif ${BASELINE}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif ${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
Execute $<TARGET_FILE:ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter> Execute $<TARGET_FILE:ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter>
...@@ -53,7 +53,7 @@ otb_add_test(NAME raTeNDVIRAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TE ...@@ -53,7 +53,7 @@ otb_add_test(NAME raTeNDVIRAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TE
) )
otb_add_test(NAME raTeAtmosphericCorrectionSequencementTest COMMAND ${OTB_TEST_DRIVER} otb_add_test(NAME raTeAtmosphericCorrectionSequencementTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON} --compare-image ${EPSILON_8}
${BASELINE}/Example_RomaniaAtmosphericCorrectionSequencement.tif ${BASELINE}/Example_RomaniaAtmosphericCorrectionSequencement.tif
${TEMP}/Example_RomaniaAtmosphericCorrectionSequencement.tif ${TEMP}/Example_RomaniaAtmosphericCorrectionSequencement.tif
Execute $<TARGET_FILE:AtmosphericCorrectionSequencement> Execute $<TARGET_FILE:AtmosphericCorrectionSequencement>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment