From eda1fffb87f7cb7bdfa4a2955890225ce354c614 Mon Sep 17 00:00:00 2001 From: Jonathan Guinet <jonathan.guinet@c-s.fr> Date: Thu, 20 Oct 2011 17:56:44 +0200 Subject: [PATCH] TEST: test for LabeledImageColorMapping application. --- .../Applications/Classification/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Testing/Applications/Classification/CMakeLists.txt b/Testing/Applications/Classification/CMakeLists.txt index 5dc25b6229..04f7d82570 100644 --- a/Testing/Applications/Classification/CMakeLists.txt +++ b/Testing/Applications/Classification/CMakeLists.txt @@ -191,6 +191,22 @@ ADD_TEST(NAME apTvClImageSVMClassifierQB123_1 SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB123_1 PROPERTIES DEPENDS apTvClTrainSVMImagesClassifierQB123) + +ADD_TEST(NAME apTvClLabeledImageColorMappingQB123_1 + COMMAND otbTestDriver + --compare-image ${NOTOL} + ${OTBAPP_BASELINE}/clLabeledFancyImageQB123_1.tif + ${TEMP}/clLabeledFancyImageQB123_1.tif + Execute $<TARGET_FILE:otbApplicationLauncherCommandLine> + LabeledImageColorMapping + $<TARGET_FILE_DIR:otbapp_LabeledImageColorMapping> + --in ${TEMP}/clLabeledImageQB123_1.tif + --ct ${INPUTDATA}/Classification/ColorTable.txt + --out ${TEMP}/clLabeledFancyImageQB123_1.tif +) + +SET_TESTS_PROPERTIES(apTvClLabeledImageColorMappingQB123_1 PROPERTIES DEPENDS apTvClImageSVMClassifierQB123_1) + ADD_TEST(NAME apTvClImageSVMClassifierQB123_2 COMMAND otbTestDriver --compare-image ${NOTOL} -- GitLab