Commit 0aa28612 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: update test after -- suppression

parent 426bbddb
......@@ -2,27 +2,27 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_gt
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/roads_ground_truth.shp
--expr "(b1 > 0.4)"
--field NONDVI
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
-vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/roads_ground_truth.shp
-expr "(b1 > 0.4)"
-field NONDVI
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_gt
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp
--expr "(b1 > 0.25)"
--field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp
-expr "(b1 > 0.25)"
-field "ROADSA"
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp
--expr "(b1 == 0)"
--field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp
-expr "(b1 == 0)"
-field "NOBUIL"
-out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp)
......@@ -32,27 +32,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt PROPERTI
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_wr
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/wrongroads.shp
--expr "(b1 > 0.4)"
--field "NONDVI"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
-vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/wrongroads.shp
-expr "(b1 > 0.4)"
-field "NONDVI"
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_wr
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp
--expr "(b1 > 0.25)"
--field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp
-expr "(b1 > 0.25)"
-field "ROADSA"
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp
--expr "(b1 == 0)"
--field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp
-expr "(b1 == 0)"
-field "NOBUIL"
-out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp)
......@@ -64,27 +64,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr PROPERTI
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/road_extraction.shp
--expr "(b1 > 0.4)"
--field "NONDVI"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
-vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/road_extraction.shp
-expr "(b1 > 0.4)"
-field "NONDVI"
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp
--expr "(b1 > 0.25)"
--field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp)
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp
-expr "(b1 > 0.25)"
-field "ROADSA"
-out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication
APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp
--expr "(b1 == 0)"
--field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
-vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp
-expr "(b1 == 0)"
-field "NOBUIL"
-out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp)
......@@ -98,35 +98,35 @@ ENDIF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI
APP DSFuzzyModelEstimation
OPTIONS --psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL"
--initmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel_Init.xml
--maxnbit 4
--optobs true
--out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI.xml)
OPTIONS -psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
-nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
-belsup "ROADSA"
-plasup "NONDVI" "ROADSA" "NOBUIL"
-initmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel_Init.xml
-maxnbit 4
-optobs true
-out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI.xml)
OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI_autoInit
APP DSFuzzyModelEstimation
OPTIONS --psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL"
--desclist "NONDVI" "ROADSA" "NOBUIL"
--maxnbit 4
--optobs true
--out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI_autoInit.xml)
OPTIONS -psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
-nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
-belsup "ROADSA"
-plasup "NONDVI" "ROADSA" "NOBUIL"
-desclist "NONDVI" "ROADSA" "NOBUIL"
-maxnbit 4
-optobs true
-out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI_autoInit.xml)
OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI
APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
-belsup "ROADSA"
-plasup "NONDVI" "ROADSA" "NOBUIL"
-descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
-out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp)
......@@ -134,11 +134,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI
OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
-belsup "ROADSA"
-plasup "NONDVI" "ROADSA" "NOBUIL"
-descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
-out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp)
......@@ -146,11 +146,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
OTB_TEST_APPLICATION(NAME cdbTuVectorDataDSValidationRoadExtractionApplication_LI
APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
--belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTuVectorDataDSValidationOutpout_LI_RoadExtractionApplication.shp)
OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
-belsup "ROADSA"
-plasup "NONDVI" "ROADSA" "NOBUIL"
-descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
-out ${TEMP}/cdbTuVectorDataDSValidationOutpout_LI_RoadExtractionApplication.shp)
......
......@@ -3,9 +3,9 @@
OTB_TEST_APPLICATION(NAME apTvChMultivariateAlterationDetector
APP MultivariateAlterationDetector
OPTIONS --in1 ${INPUTDATA}/Spot5-Gloucester-before.tif
--in2 ${INPUTDATA}/Spot5-Gloucester-after.tif
--out ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif
OPTIONS -in1 ${INPUTDATA}/Spot5-Gloucester-before.tif
-in2 ${INPUTDATA}/Spot5-Gloucester-after.tif
-out ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif
VALID --compare-image 0.025
${BASELINE}/cdTvMultivariateAlterationDetectorImageFilterOutputSameNbBands.tif
${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif)
......@@ -4,8 +4,8 @@
OTB_TEST_APPLICATION(NAME apTvClComputeImagesStatisticsQB1
APP ComputeImagesStatistics
OPTIONS --il ${INPUTDATA}/Classification/QB_1_ortho.tif
--out ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
OPTIONS -il ${INPUTDATA}/Classification/QB_1_ortho.tif
-out ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clImageStatisticsQB1.xml
${TEMP}/apTvClEstimateImageStatisticsQB1.xml )
......@@ -13,12 +13,12 @@ OTB_TEST_APPLICATION(NAME apTvClComputeImagesStatisticsQB1
OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB1
APP TrainSVMImagesClassifier
OPTIONS --io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
--io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
--io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
##--sample.b 2
--svm.opt true
--io.out ${TEMP}/clsvmModelQB1.svm
OPTIONS -io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
-io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
-io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
##-sample.b 2
-svm.opt true
-io.out ${TEMP}/clsvmModelQB1.svm
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmModelQB1.svm
${TEMP}/clsvmModelQB1.svm)
......@@ -27,15 +27,15 @@ SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB1 PROPERTIES DEPENDS apTvCl
OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB1_allOpt
APP TrainSVMImagesClassifier
OPTIONS --io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
--io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
--io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
##--sample.b 2
--sample.mv 100
--sample.mt 100
--sample.vtr 0.5
--svm.opt true
--io.out ${TEMP}/clsvmModelQB1_allOpt.svm
OPTIONS -io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
-io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
-io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
##-sample.b 2
-sample.mv 100
-sample.mt 100
-sample.vtr 0.5
-svm.opt true
-io.out ${TEMP}/clsvmModelQB1_allOpt.svm
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmModelQB1.svm
${TEMP}/clsvmModelQB1_allOpt.svm)
......@@ -45,11 +45,11 @@ SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB1_allOpt PROPERTIES DEPENDS
OTB_TEST_APPLICATION(NAME apTvClValidateSVMImagesClassifierQB1
APP ValidateSVMImagesClassifier
OPTIONS --il ${INPUTDATA}/Classification/QB_1_ortho.tif
--vd ${INPUTDATA}/Classification/VectorData_QB1_bis.shp
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
--svm ${TEMP}/clsvmModelQB1.svm
--out ${TEMP}/clsvmPerformanceEstimationQB1.txt
OPTIONS -il ${INPUTDATA}/Classification/QB_1_ortho.tif
-vd ${INPUTDATA}/Classification/VectorData_QB1_bis.shp
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
-svm ${TEMP}/clsvmModelQB1.svm
-out ${TEMP}/clsvmPerformanceEstimationQB1.txt
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmPerformanceEstimationQB1.txt
${TEMP}/clsvmPerformanceEstimationQB1.txt)
......@@ -59,10 +59,10 @@ SET_TESTS_PROPERTIES(apTvClValidateSVMImagesClassifierQB1 PROPERTIES DEPENDS apT
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB1
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_1_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
--svm ${TEMP}/clsvmModelQB1.svm
--out ${TEMP}/clLabeledImageQB1.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_1_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
-svm ${TEMP}/clsvmModelQB1.svm
-out ${TEMP}/clLabeledImageQB1.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB1.tif
${TEMP}/clLabeledImageQB1.tif)
......@@ -71,10 +71,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB1 PROPERTIES DEPENDS apTvClTrainS
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB2
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_2_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
--svm ${TEMP}/clsvmModelQB1.svm
--out ${TEMP}/clLabeledImageQB2.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_2_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
-svm ${TEMP}/clsvmModelQB1.svm
-out ${TEMP}/clLabeledImageQB2.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB2.tif
${TEMP}/clLabeledImageQB2.tif)
......@@ -83,10 +83,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB2 PROPERTIES DEPENDS apTvClTrainS
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB3
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_3_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
--svm ${TEMP}/clsvmModelQB1.svm
--out ${TEMP}/clLabeledImageQB3.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_3_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB1.xml
-svm ${TEMP}/clsvmModelQB1.svm
-out ${TEMP}/clLabeledImageQB3.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB3.tif
${TEMP}/clLabeledImageQB3.tif)
......@@ -98,10 +98,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB3 PROPERTIES DEPENDS apTvClTrainS
OTB_TEST_APPLICATION(NAME apTvClComputeImagesStatisticsQB123
APP ComputeImagesStatistics
OPTIONS --il ${INPUTDATA}/Classification/QB_1_ortho.tif
OPTIONS -il ${INPUTDATA}/Classification/QB_1_ortho.tif
${INPUTDATA}/Classification/QB_2_ortho.tif
${INPUTDATA}/Classification/QB_3_ortho.tif
--out ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-out ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clImageStatisticsQB123.xml
${TEMP}/apTvClEstimateImageStatisticsQB123.xml)
......@@ -109,16 +109,16 @@ OTB_TEST_APPLICATION(NAME apTvClComputeImagesStatisticsQB123
OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB123
APP TrainSVMImagesClassifier
OPTIONS --io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
OPTIONS -io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
${INPUTDATA}/Classification/QB_2_ortho.tif
${INPUTDATA}/Classification/QB_3_ortho.tif
--io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
-io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
${INPUTDATA}/Classification/VectorData_QB2.shp
${INPUTDATA}/Classification/VectorData_QB3.shp
--io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
#--sample.b 2
--svm.opt true
--io.out ${TEMP}/clsvmModelQB123.svm
-io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
#-sample.b 2
-svm.opt true
-io.out ${TEMP}/clsvmModelQB123.svm
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmModelQB123.svm
${TEMP}/clsvmModelQB123.svm)
......@@ -129,11 +129,11 @@ SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB123 PROPERTIES DEPENDS apTv
OTB_TEST_APPLICATION(NAME apTvClValidateSVMImagesClassifierQB123
APP ValidateSVMImagesClassifier
OPTIONS --il ${INPUTDATA}/Classification/QB_1_ortho.tif
--vd ${INPUTDATA}/Classification/VectorData_QB1_bis.shp
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
--svm ${TEMP}/clsvmModelQB123.svm
--out ${TEMP}/clsvmPerformanceEstimationQB123.txt
OPTIONS -il ${INPUTDATA}/Classification/QB_1_ortho.tif
-vd ${INPUTDATA}/Classification/VectorData_QB1_bis.shp
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-svm ${TEMP}/clsvmModelQB123.svm
-out ${TEMP}/clsvmPerformanceEstimationQB123.txt
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmPerformanceEstimationQB123.txt
${TEMP}/clsvmPerformanceEstimationQB123.txt)
......@@ -143,10 +143,10 @@ SET_TESTS_PROPERTIES(apTvClValidateSVMImagesClassifierQB123 PROPERTIES DEPENDS a
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB123_1
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_1_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
--svm ${TEMP}/clsvmModelQB123.svm
--out ${TEMP}/clLabeledImageQB123_1.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_1_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-svm ${TEMP}/clsvmModelQB123.svm
-out ${TEMP}/clLabeledImageQB123_1.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB123_1.tif
${TEMP}/clLabeledImageQB123_1.tif)
......@@ -156,10 +156,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB123_1 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClLabeledImageColorMappingQB123_1
APP ColorMapping
OPTIONS --in ${TEMP}/clLabeledImageQB123_1.tif
--method custom
--method.custom.lut ${INPUTDATA}/Classification/ColorTable.txt
--out ${TEMP}/clLabeledFancyImageQB123_1.tif
OPTIONS -in ${TEMP}/clLabeledImageQB123_1.tif
-method custom
-method.custom.lut ${INPUTDATA}/Classification/ColorTable.txt
-out ${TEMP}/clLabeledFancyImageQB123_1.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledFancyImageQB123_1.tif
${TEMP}/clLabeledFancyImageQB123_1.tif)
......@@ -169,10 +169,10 @@ SET_TESTS_PROPERTIES(apTvClLabeledImageColorMappingQB123_1 PROPERTIES DEPENDS ap
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB123_2
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_2_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
--svm ${TEMP}/clsvmModelQB123.svm
--out ${TEMP}/clLabeledImageQB123_2.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_2_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-svm ${TEMP}/clsvmModelQB123.svm
-out ${TEMP}/clLabeledImageQB123_2.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB123_2.tif
${TEMP}/clLabeledImageQB123_2.tif)
......@@ -181,10 +181,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB123_2 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB123_3
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_3_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
--svm ${TEMP}/clsvmModelQB123.svm
--out ${TEMP}/clLabeledImageQB123_3.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_3_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-svm ${TEMP}/clsvmModelQB123.svm
-out ${TEMP}/clLabeledImageQB123_3.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB123_3.tif
${TEMP}/clLabeledImageQB123_3.tif)
......@@ -193,10 +193,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB123_3 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB123_6
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_6_extract.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
--svm ${TEMP}/clsvmModelQB123.svm
--out ${TEMP}/clLabeledImageQB123_6.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_6_extract.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB123.xml
-svm ${TEMP}/clsvmModelQB123.svm
-out ${TEMP}/clLabeledImageQB123_6.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB123_6.tif
${TEMP}/clLabeledImageQB123_6.tif)
......@@ -205,26 +205,26 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB123_6 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClComputeImagesStatisticsQB456
APP ComputeImagesStatistics
OPTIONS --il ${INPUTDATA}/Classification/QB_4_extract.tif
OPTIONS -il ${INPUTDATA}/Classification/QB_4_extract.tif
${INPUTDATA}/Classification/QB_5_extract.tif
${INPUTDATA}/Classification/QB_6_extract.tif
--out ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-out ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clImageStatisticsQB456.xml
${TEMP}/apTvClEstimateImageStatisticsQB456.xml)
OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB456
APP TrainSVMImagesClassifier
OPTIONS --io.il ${INPUTDATA}/Classification/QB_4_extract.tif
OPTIONS -io.il ${INPUTDATA}/Classification/QB_4_extract.tif
${INPUTDATA}/Classification/QB_5_extract.tif
${INPUTDATA}/Classification/QB_6_extract.tif
--io.vd ${INPUTDATA}/Classification/VectorData_QB4.shp
-io.vd ${INPUTDATA}/Classification/VectorData_QB4.shp
${INPUTDATA}/Classification/VectorData_QB5.shp
${INPUTDATA}/Classification/VectorData_QB6.shp
--io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
#--sample.b 2
--svm.opt true
--io.out ${TEMP}/clsvmModelQB456.svm
-io.imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
#-sample.b 2
-svm.opt true
-io.out ${TEMP}/clsvmModelQB456.svm
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmModelQB456.svm
${TEMP}/clsvmModelQB456.svm)
......@@ -235,11 +235,11 @@ SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB456 PROPERTIES DEPENDS apTv
OTB_TEST_APPLICATION(NAME apTvClValidateSVMImagesClassifierQB456
APP ValidateSVMImagesClassifier
OPTIONS --il ${INPUTDATA}/Classification/QB_5_extract.tif
--vd ${INPUTDATA}/Classification/VectorData_QB5_bis.shp
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
--svm ${TEMP}/clsvmModelQB456.svm
--out ${TEMP}/clsvmPerformanceEstimationQB456.txt
OPTIONS -il ${INPUTDATA}/Classification/QB_5_extract.tif
-vd ${INPUTDATA}/Classification/VectorData_QB5_bis.shp
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-svm ${TEMP}/clsvmModelQB456.svm
-out ${TEMP}/clsvmPerformanceEstimationQB456.txt
VALID --compare-ascii ${NOTOL}
${OTBAPP_BASELINE_FILES}/clsvmPerformanceEstimationQB456.txt
${TEMP}/clsvmPerformanceEstimationQB456.txt)
......@@ -250,10 +250,10 @@ SET_TESTS_PROPERTIES(apTvClValidateSVMImagesClassifierQB456 PROPERTIES DEPENDS a
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB456_4
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_4_extract.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
--svm ${TEMP}/clsvmModelQB456.svm
--out ${TEMP}/clLabeledImageQB456_4.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_4_extract.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-svm ${TEMP}/clsvmModelQB456.svm
-out ${TEMP}/clLabeledImageQB456_4.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB456_4.tif
${TEMP}/clLabeledImageQB456_4.tif)
......@@ -262,10 +262,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB456_4 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB456_5
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_5_extract.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
--svm ${TEMP}/clsvmModelQB456.svm
--out ${TEMP}/clLabeledImageQB456_5.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_5_extract.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-svm ${TEMP}/clsvmModelQB456.svm
-out ${TEMP}/clLabeledImageQB456_5.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB456_5.tif
${TEMP}/clLabeledImageQB456_5.tif)
......@@ -275,11 +275,11 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB456_5 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB456_6
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_6_extract.tif
--mask ${INPUTDATA}/Classification/QB_6_mask.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
--svm ${TEMP}/clsvmModelQB456.svm
--out ${TEMP}/clLabeledImageQB456_6.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_6_extract.tif
-mask ${INPUTDATA}/Classification/QB_6_mask.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-svm ${TEMP}/clsvmModelQB456.svm
-out ${TEMP}/clLabeledImageQB456_6.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB456_6.tif
${TEMP}/clLabeledImageQB456_6.tif)
......@@ -289,10 +289,10 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB456_6 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB456_1
APP ImageSVMClassifier
OPTIONS --in ${INPUTDATA}/Classification/QB_1_ortho.tif
--imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
--svm ${TEMP}/clsvmModelQB456.svm
--out ${TEMP}/clLabeledImageQB456_1.tif
OPTIONS -in ${INPUTDATA}/Classification/QB_1_ortho.tif
-imstat ${TEMP}/apTvClEstimateImageStatisticsQB456.xml
-svm ${TEMP}/clsvmModelQB456.svm
-out ${TEMP}/clLabeledImageQB456_1.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/clLabeledImageQB456_1.tif
${TEMP}/clLabeledImageQB456_1.tif)
......@@ -302,14 +302,14 @@ SET_TESTS_PROPERTIES(apTvClImageSVMClassifierQB456_1 PROPERTIES DEPENDS apTvClTr
OTB_TEST_APPLICATION(NAME apTvClKMeansImageClassification
APP KMeansClassification
OPTIONS --in ${INPUTDATA}/poupees_sub.png
--vm ${INPUTDATA}/mask_KMeans.png
--ts 100
--tp 0.6
--nc 5
--cp 0.9
--sl 100
--out ${TEMP}/apTvClKMeansImageClassificationFilterOuptut.tif
OPTIONS -in ${INPUTDATA}/poupees_sub.png
-vm ${INPUTDATA}/mask_KMeans.png
-ts 100
-tp 0.6
-nc 5
-cp 0.9
-sl 100
-out ${TEMP}/apTvClKMeansImageClassificationFilterOuptut.tif
VALID --compare-image ${NOTOL}
${OTBAPP_BASELINE}/apTvClKMeansImageClassificationFilterOuptut.tif
${TEMP}/apTvClKMeansImageClassificationFilterOuptut.tif )