diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 198a02e4416a31b54af66b26ba7708ea0c8360bc..f2dbd33caee8d9b37aa394f2fbf950e3362b3ae3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -219,6 +219,46 @@ set_tests_properties(otbSARDEMProjectionTest_S1ReunionSecondary PROPERTIES ENVIR # DIN-SAR +otb_test_application(NAME otbSARCorrelationRough_S1Reunion + APP SARCorrelationRough + OPTIONS -inmaster ${BASE_TEST}/S1_Reunion/otbSARMultiLookOutput_S1ReunionReference.tif + -inslave ${BASE_TEST}/S1_Reunion/otbSARMultiLookOutput_S1ReunionSecondary.tif + -mlran 3 + -mlazi 3) + +otb_test_application(NAME otbSARCorrelationGrid_S1Reunion + APP SARCorrelationGrid + OPTIONS -inmaster ${BASE_TEST}/S1_Reunion/otbSARMultiLookOutput_S1ReunionReference.tif + -inslave ${BASE_TEST}/S1_Reunion/otbSARMultiLookOutput_S1ReunionSecondary.tif + -mlran 3 + -mlazi 3 + -gridsteprange 30 + -gridstepazimut 30 + -nooffset 1 + -out ${OUTPUT_TEST}/otbSARCorrelationGridTestOutput_S1Reunion.tif) + +otb_test_application(NAME otbSARDEMGrid_S1Reunion + APP SARDEMGrid + OPTIONS -indem ${DATA_TEST}/S1_Reunion/S22E055_extract.tiff + -insarmaster ${DATA_TEST}/S1_Reunion/s1a_s4_20160818_extract.tiff + -insarslave ${DATA_TEST}/S1_Reunion/s1b_s4_20160929_extract.tiff + -indemprojmaster ${BASE_TEST}/S1_Reunion/otbSARDEMProjectionOutput_S1ReunionReference.tif + -indemprojslave ${BASE_TEST}/S1_Reunion/otbSARDEMProjectionOutput_S1ReunionSecondary.tif + -gridsteprange 30 + -gridstepazimut 30 + -out ${OUTPUT_TEST}/otbSARDEMGridTestOutput_S1Reunion.tif) + +otb_test_application(NAME otbSARCorrectionGrid_S1Reunion + APP SARCorrectionGrid + OPTIONS -indemgrid ${OUTPUT_TEST}/otbSARDEMGridTestOutput_S1Reunion.tif + -incorgrid ${OUTPUT_TEST}/otbSARCorrelationGridTestOutput_S1Reunion.tif + -threshold 0.3 + -gap 3000 + -advantage "projection" + -out ${OUTPUT_TEST}/otbSARCorrectionGridTestOutput_S1Reunion.tif) + +set_tests_properties(otbSARCorrectionGrid_S1Reunion PROPERTIES DEPENDS "otbSARCorrelationGrid_S1Reunion;otbSARDEMGrid_S1Reunion") + otb_test_application(NAME otbSARFineDeformationGrid_S1Reunion APP SARFineDeformationGrid OPTIONS -indem ${DATA_TEST}/S1_Reunion/S22E055_extract.tiff @@ -382,6 +422,47 @@ otb_test_application(NAME otbSARDEMProjectionTest_CSKReunionSecondary set_tests_properties(otbSARDEMProjectionTest_CSKReunionSecondary PROPERTIES ENVIRONMENT OTB_GEOID_FILE=${DATA_TEST}/egm96.grd) # DIN-SAR +otb_test_application(NAME otbSARCorrelationRough_CSKReunion + APP SARCorrelationRough + OPTIONS -inmaster ${BASE_TEST}/CSK_Reunion/otbSARMultiLookOutput_CSKReunionReference.tif + -inslave ${BASE_TEST}/CSK_Reunion/otbSARMultiLookOutput_CSKReunionSecondary.tif + -mlran 3 + -mlazi 3) + +otb_test_application(NAME otbSARCorrelationGrid_CSKReunion + APP SARCorrelationGrid + OPTIONS -inmaster ${BASE_TEST}/CSK_Reunion/otbSARMultiLookOutput_CSKReunionReference.tif + -inslave ${BASE_TEST}/CSK_Reunion/otbSARMultiLookOutput_CSKReunionSecondary.tif + -mlran 3 + -mlazi 3 + -gridsteprange 30 + -gridstepazimut 30 + -nooffset 1 + -out ${OUTPUT_TEST}/otbSARCorrelationGridTestOutput_CSKReunion.tif) + +otb_test_application(NAME otbSARDEMGrid_CSKReunion + APP SARDEMGrid + OPTIONS -indem ${DATA_TEST}/CSK_Reunion/S22E055_extract.tiff + -insarmaster ${DATA_TEST}/CSK_Reunion/CSKS2_SCS_B_HI_15_VV_RA_SF_20170223023902_20170223023910_extract.tiff + -insarslave ${DATA_TEST}/CSK_Reunion/CSKS1_SCS_B_HI_15_VV_RA_SF_20170522023843_20170522023850_extract.tiff + -indemprojmaster ${BASE_TEST}/CSK_Reunion/otbSARDEMProjectionOutput_CSKReunionReference.tif + -indemprojslave ${BASE_TEST}/CSK_Reunion/otbSARDEMProjectionOutput_CSKReunionSecondary.tif + -gridsteprange 30 + -gridstepazimut 30 + -out ${OUTPUT_TEST}/otbSARDEMGridTestOutput_CSKReunion.tif) + +otb_test_application(NAME otbSARCorrectionGrid_CSKReunion + APP SARCorrectionGrid + OPTIONS -indemgrid ${OUTPUT_TEST}/otbSARDEMGridTestOutput_CSKReunion.tif + -incorgrid ${OUTPUT_TEST}/otbSARCorrelationGridTestOutput_CSKReunion.tif + -threshold 0.3 + -gap 80 + -advantage "correlation" + -out ${OUTPUT_TEST}/otbSARCorrectionGridTestOutput_CSKReunion.tif) + +set_tests_properties(otbSARCorrectionGrid_CSKReunion PROPERTIES DEPENDS "otbSARCorrelationGrid_CSKReunion;otbSARDEMGrid_CSKReunion") + + otb_test_application(NAME otbSARFineDeformationGrid_CSKReunion APP SARFineDeformationGrid OPTIONS -indem ${DATA_TEST}/CSK_Reunion/S22E055_extract.tiff