Commit b0c7c470b8e74cbd1c93b8d2e5e25273b3e275ad

Authored by Pierre Lassalle
1 parent 12ee593b
Exists in master

Conflicted merge

Showing 1 changed file with 85 additions and 0 deletions   Show diff stats
test/CMakeLists.txt~ 0 → 100644
... ... @@ -0,0 +1,85 @@
  1 +otb_module_test()
  2 +
  3 +otb_test_application(NAME apOTBGRM_BaatzCriterion
  4 + APP GRM
  5 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  6 + -out ${TEMP}/apGRMLabeledImage.tif int16
  7 + -criterion bs
  8 + -threshold 60
  9 + -cw 0.7
  10 + -sw 0.3
  11 +)
  12 +
  13 +otb_test_application(NAME apOTBGRM_EuclideanDistanceCriterion
  14 + APP GRM
  15 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  16 + -out ${TEMP}/apGRMLabeledImage.tif int16
  17 + -criterion ed
  18 + -threshold 30
  19 +)
  20 +
  21 +otb_test_application(NAME apOTBGRM_FullLambdaScheduleCriterion
  22 + APP GRM
  23 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  24 + -out ${TEMP}/apGRMLabeledImage.tif int16
  25 + -criterion fls
  26 + -threshold 500
  27 +)
  28 +
  29 +otb_test_application(NAME apOTBGRM_BaatzCriterionWithSpeed
  30 + APP GRM
  31 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  32 + -out ${TEMP}/apGRMLabeledImage.tif int16
  33 + -speed 1
  34 + -criterion bs
  35 + -threshold 60
  36 + -cw 0.7
  37 + -sw 0.3
  38 +)
  39 +
  40 +otb_test_application(NAME apOTBGRM_EuclideanDistanceCriterionWithSpeed
  41 + APP GRM
  42 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  43 + -out ${TEMP}/apGRMLabeledImage.tif int16
  44 + -speed 1
  45 + -criterion ed
  46 + -threshold 30
  47 +)
  48 +
  49 +otb_test_application(NAME apOTBGRM_FullLambdaScheduleCriterionWithSpeed
  50 + APP GRM
  51 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  52 + -out ${TEMP}/apGRMLabeledImage.tif int16
  53 + -speed 1
  54 + -criterion fls
  55 + -threshold 500
  56 +)
  57 +
  58 +otb_test_application(NAME apOTBGRM_BaatzCriterionWithFixedNumberOfIterations
  59 + APP GRM
  60 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  61 + -out ${TEMP}/apGRMLabeledImage.tif int16
  62 + -niter 75
  63 + -criterion bs
  64 + -threshold 60
  65 + -cw 0.7
  66 + -sw 0.3
  67 +)
  68 +
  69 +otb_test_application(NAME apOTBGRM_EuclideanDistanceCriterionWithFixedNumberOfIterations
  70 + APP GRM
  71 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  72 + -out ${TEMP}/apGRMLabeledImage.tif int16
  73 + -niter 75
  74 + -criterion ed
  75 + -threshold 30
  76 +)
  77 +
  78 +otb_test_application(NAME apOTBGRM_FullLambdaScheduleCriterionWithFixedNumberOfIterations
  79 + APP GRM
  80 + OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
  81 + -out ${TEMP}/apGRMLabeledImage.tif int16
  82 + -niter 75
  83 + -criterion fls
  84 + -threshold 500
  85 +)
... ...