CMakeLists.txt 2.29 KB
otb_module_test()

otb_test_application(NAME apGRM_BaatzCriterion
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-criterion bs
					-threshold 60
					-cw 0.7
					-sw 0.3
)

otb_test_application(NAME apGRM_EuclideanDistanceCriterion
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-criterion ed
					-threshold 30
)

otb_test_application(NAME apGRM_FullLambdaScheduleCriterion
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-criterion fls
					-threshold 500
)

otb_test_application(NAME apGRM_BaatzCriterionWithSpeed
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-speed 1
					-criterion bs
					-threshold 60
					-cw 0.7
					-sw 0.3
)

otb_test_application(NAME apGRM_EuclideanDistanceCriterionWithSpeed
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-speed 1
					-criterion ed
					-threshold 30
)

otb_test_application(NAME apGRM_FullLambdaScheduleCriterionWithSpeed
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-speed 1
					-criterion fls
					-threshold 500
)

otb_test_application(NAME apGRM_BaatzCriterionWithFixedNumberOfIterations
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-niter 75
					-criterion bs
					-threshold 60
					-cw 0.7
					-sw 0.3
)

otb_test_application(NAME apGRM_EuclideanDistanceCriterionWithFixedNumberOfIterations
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-niter 75
					-criterion ed
					-threshold 30
)

otb_test_application(NAME apGRM_FullLambdaScheduleCriterionWithFixedNumberOfIterations
					APP GenericRegionMerging
					OPTIONS -in ${INPUTDATA}/QB_Toulouse_Ortho_XS.tif
					-out ${TEMP}/apGRMLabeledImage.tif int16
					-niter 75
					-criterion fls
					-threshold 500
)