Commit 832879c3 authored by Cédric Traizet's avatar Cédric Traizet

Merge branch 'fix-missing-ram-parameter' into 'develop'

Missing RAM parameter in StereoRectificationGridGenerator application

See merge request !654
parents 32b26f4c 1323cf1a
Pipeline #3323 passed with stage
in 9 minutes and 6 seconds
......@@ -253,6 +253,8 @@ private:
SetDefaultParameterInt("inverse.ssrate", 16);
SetMinimumParameterIntValue("inverse.ssrate", 1);
AddRAMParameter();
// Doc example
SetDocExampleParameterValue("io.inleft", "wv2_xs_left.tif");
SetDocExampleParameterValue("io.inright", "wv2_xs_left.tif");
......
......@@ -92,6 +92,24 @@ otb_test_application(NAME apTvDmStereoRectificationGridGeneratorTest
)
otb_test_application(NAME apTvDmStereoRectificationGridGeneratorTestAvgDEM
APP StereoRectificationGridGenerator
OPTIONS -io.inleft ${INPUTDATA}/sensor_stereo_left.tif
-io.inright ${INPUTDATA}/sensor_stereo_right.tif
-io.outleft ${TEMP}/apTvDmStereoRectificationGridGeneratorLeftTestAvgDEM.tif
-io.outright ${TEMP}/apTvDmStereoRectificationGridGeneratorRightTestAvgDEM.tif
-inverse.outleft ${TEMP}/apTvDmStereoRectificationGridGeneratorInverseLeftTestAvgDEM.tif
-inverse.outright ${TEMP}/apTvDmStereoRectificationGridGeneratorInverseRightTestAvgDEM.tif
-epi.elevation.dem ${INPUTDATA}/DEM/srtm_directory
-epi.elevation.geoid ${INPUTDATA}/DEM/egm96.grd
-epi.elevation.avgdem.step 10
-epi.scale 1.0
-epi.step 4
# No validation here, purpose is only to see that te avgdem mode works without errors
)
#----------- FineRegistration TESTS ----------------
otb_test_application(NAME apTvDmFineRegistrationTest
APP FineRegistration
......
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