Commit e2716d53 authored by remi cresson's avatar remi cresson

ADD: a few regression tests that use original GRM baseline

parent 8eceb315
otb_module_test()
otb_test_application(NAME apLSGRM_BaatzCriterion
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-criterion bs
-threshold 60
-criterion.bs.cw 0.7
-criterion.bs.sw 0.3
)
otb_test_application(NAME apLSGRM_EuclideanDistanceCriterion
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-criterion ed
-threshold 30
)
otb_test_application(NAME apLSGRM_FullLambdaScheduleCriterion
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-criterion fls
-threshold 500
)
otb_test_application(NAME apLSGRM_BaatzCriterionWithFixedNumberOfIterations
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion bs
-threshold 60
-criterion.bs.cw 0.7
-criterion.bs.sw 0.3
)
otb_test_application(NAME apLSGRM_BaatzCriterionWithFixedNumberOfIterationsUserTiling
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion bs
-threshold 60
-criterion.bs.cw 0.7
-criterion.bs.sw 0.3
-tiling user
-tiling.user.sizex 250
-tiling.user.sizey 250
-tiling.user.nfirstiter 4
)
otb_test_application(NAME apLSGRM_EuclideanDistanceCriterionWithFixedNumberOfIterations
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion ed
-threshold 30
)
otb_test_application(NAME apLSGRM_EuclideanDistanceCriterionWithFixedNumberOfIterationsUserTiling
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion ed
-threshold 30
-tiling user
-tiling.user.sizex 250
-tiling.user.sizey 250
-tiling.user.nfirstiter 4
)
otb_test_application(NAME apLSGRM_FullLambdaScheduleCriterionWithFixedNumberOfIterations
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion fls
-threshold 500
)
otb_test_application(NAME apLSGRM_FullLambdaScheduleCriterionWithFixedNumberOfIterationsUserTiling
APP LSGRM
OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
-out ${TEMP}/apLSGRMLabeledImage.tif int16
-niter 75
-criterion fls
-threshold 500
-tiling user
-tiling.user.sizex 250
-tiling.user.sizey 250
-tiling.user.nfirstiter 4
)
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