Commit 79ece978 authored by Julien Michel's avatar Julien Michel
Browse files

TEST: Adding tests for PHR mode of both apps

No related merge requests found
Showing with 17 additions and 1 deletion
+17 -1
...@@ -9,7 +9,15 @@ otb_test_application(NAME apTvPrBundleToPerfectSensor ...@@ -9,7 +9,15 @@ otb_test_application(NAME apTvPrBundleToPerfectSensor
VALID --compare-image ${EPSILON_7} VALID --compare-image ${EPSILON_7}
${BASELINE}/apTvPrBundleToPerfectSensor.tif ${BASELINE}/apTvPrBundleToPerfectSensor.tif
${TEMP}/apTvPrBundleToPerfectSensor.tif) ${TEMP}/apTvPrBundleToPerfectSensor.tif)
otb_test_application(NAME apTvPrBundleToPerfectSensor_phr
APP BundleToPerfectSensor
OPTIONS -inp ${INPUTDATA}/phr_pan.tif
-inxs ${INPUTDATA}/phr_xs.tif
-out ${TEMP}/apTvPrBundleToPerfectSensorPHR.tif int16
VALID --compare-image ${EPSILON_7}
${BASELINE}/apTvPrBundleToPerfectSensorPHR.tif
${TEMP}/apTvPrBundleToPerfectSensorPHR.tif)
#----------- Pansharpening TESTS ---------------- #----------- Pansharpening TESTS ----------------
otb_test_application(NAME apTvFuPansharpening_LMVM otb_test_application(NAME apTvFuPansharpening_LMVM
......
...@@ -324,3 +324,11 @@ otb_test_application(NAME apTvPrSuperimpose ...@@ -324,3 +324,11 @@ otb_test_application(NAME apTvPrSuperimpose
${BASELINE}/apTvPrSuperimpose.tif ${BASELINE}/apTvPrSuperimpose.tif
${TEMP}/apTvPrSuperimpose.tif) ${TEMP}/apTvPrSuperimpose.tif)
otb_test_application(NAME apTvPrSuperimpose_phr
APP Superimpose
OPTIONS -inr ${INPUTDATA}/phr_pan.tif
-inm ${INPUTDATA}/phr_xs.tif
-out ${TEMP}/apTvPrSuperimposePHR.tif int16
VALID --compare-image ${EPSILON_7}
${BASELINE}/apTvPrSuperimposePHR.tif
${TEMP}/apTvPrSuperimposePHR.tif)
Supports Markdown
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