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) ...@@ -2,27 +2,27 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_gt OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_gt
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/roads_ground_truth.shp -vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/roads_ground_truth.shp
--expr "(b1 > 0.4)" -expr "(b1 > 0.4)"
--field NONDVI -field NONDVI
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_gt OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_gt
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_gt.shp
--expr "(b1 > 0.25)" -expr "(b1 > 0.25)"
--field "ROADSA" -field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_gt.shp
--expr "(b1 == 0)" -expr "(b1 == 0)"
--field "NOBUIL" -field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
VALID --compare-ogr 0.0 VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp) ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp)
...@@ -32,27 +32,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt PROPERTI ...@@ -32,27 +32,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_gt PROPERTI
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_wr OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_wr
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/wrongroads.shp -vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/wrongroads.shp
--expr "(b1 > 0.4)" -expr "(b1 > 0.4)"
--field "NONDVI" -field "NONDVI"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_wr OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_wr
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_wr.shp
--expr "(b1 > 0.25)" -expr "(b1 > 0.25)"
--field "ROADSA" -field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_wr.shp
--expr "(b1 == 0)" -expr "(b1 == 0)"
--field "NOBUIL" -field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp -out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
VALID --compare-ogr 0.0 VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp) ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp)
...@@ -64,27 +64,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr PROPERTI ...@@ -64,27 +64,27 @@ SET_TESTS_PROPERTIES(apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_wr PROPERTI
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/NDVI.TIF
--vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/road_extraction.shp -vd ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/road_extraction.shp
--expr "(b1 > 0.4)" -expr "(b1 > 0.4)"
--field "NONDVI" -field "NONDVI"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp)
OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication OTB_TEST_APPLICATION(NAME apTuCdComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/SpectralAngleRoad.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_NONDVI_RoadExtractionApplication.shp
--expr "(b1 > 0.25)" -expr "(b1 > 0.25)"
--field "ROADSA" -field "ROADSA"
--out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp) -out ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp)
OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication OTB_TEST_APPLICATION(NAME apTvCdComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication
APP ComputePolylineFeatureFromImage APP ComputePolylineFeatureFromImage
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/BUILDINGS.TIF
--vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp -vd ${TEMP}/cdTuComputePolylineFeatureFromImage_LI_ROADSA_RoadExtractionApplication.shp
--expr "(b1 == 0)" -expr "(b1 == 0)"
--field "NOBUIL" -field "NOBUIL"
--out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp -out ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
VALID --compare-ogr 0.0 VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp) ${TEMP}/cdTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp)
...@@ -98,35 +98,35 @@ ENDIF(OTB_DATA_USE_LARGEINPUT) ...@@ -98,35 +98,35 @@ ENDIF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI
APP DSFuzzyModelEstimation APP DSFuzzyModelEstimation
OPTIONS --psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp OPTIONS -psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp -nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA" -belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL" -plasup "NONDVI" "ROADSA" "NOBUIL"
--initmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel_Init.xml -initmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel_Init.xml
--maxnbit 4 -maxnbit 4
--optobs true -optobs true
--out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI.xml) -out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI.xml)
OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI_autoInit OTB_TEST_APPLICATION(NAME cdbTuDSFuzzyModelEstimation_LI_autoInit
APP DSFuzzyModelEstimation APP DSFuzzyModelEstimation
OPTIONS --psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp OPTIONS -psin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp -nsin ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA" -belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL" -plasup "NONDVI" "ROADSA" "NOBUIL"
--desclist "NONDVI" "ROADSA" "NOBUIL" -desclist "NONDVI" "ROADSA" "NOBUIL"
--maxnbit 4 -maxnbit 4
--optobs true -optobs true
--out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI_autoInit.xml) -out ${TEMP}/cdbTuDSFuzzyModelEstimatorOutput_LI_autoInit.xml)
OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI
APP VectorDataDSValidation APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp
--belsup "ROADSA" -belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL" -plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml -descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp -out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
VALID --compare-ogr 0.0 VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp ${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp) ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_gt.shp)
...@@ -134,11 +134,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI ...@@ -134,11 +134,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationGroundTruth_LI
OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
APP VectorDataDSValidation APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp
--belsup "ROADSA" -belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL" -plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml -descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp -out ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
VALID --compare-ogr 0.0 VALID --compare-ogr 0.0
${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp ${OTBAPP_BASELINE_FILES}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp
${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp) ${TEMP}/cdbTvVectorDataDSValidationOutpout_LI_wr.shp)
...@@ -146,11 +146,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI ...@@ -146,11 +146,11 @@ OTB_TEST_APPLICATION(NAME cdbTvVectorDataDSValidationWrongRoads_LI
OTB_TEST_APPLICATION(NAME cdbTuVectorDataDSValidationRoadExtractionApplication_LI OTB_TEST_APPLICATION(NAME cdbTuVectorDataDSValidationRoadExtractionApplication_LI
APP VectorDataDSValidation APP VectorDataDSValidation
OPTIONS --in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp OPTIONS -in ${OTBAPP_BASELINE_FILES}/cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_RoadExtractionApplication.shp
--belsup "ROADSA" -belsup "ROADSA"
--plasup "NONDVI" "ROADSA" "NOBUIL" -plasup "NONDVI" "ROADSA" "NOBUIL"
--descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml -descmod ${OTB_DATA_ROOT}/Input/Dempster-Shafer/DSFuzzyModel.xml
--out ${TEMP}/cdbTuVectorDataDSValidationOutpout_LI_RoadExtractionApplication.shp) -out ${TEMP}/cdbTuVectorDataDSValidationOutpout_LI_RoadExtractionApplication.shp)
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
OTB_TEST_APPLICATION(NAME apTvChMultivariateAlterationDetector OTB_TEST_APPLICATION(NAME apTvChMultivariateAlterationDetector
APP MultivariateAlterationDetector APP MultivariateAlterationDetector
OPTIONS --in1 ${INPUTDATA}/Spot5-Gloucester-before.tif OPTIONS -in1 ${INPUTDATA}/Spot5-Gloucester-before.tif
--in2 ${INPUTDATA}/Spot5-Gloucester-after.tif -in2 ${INPUTDATA}/Spot5-Gloucester-after.tif
--out ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif -out ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif
VALID --compare-image 0.025 VALID --compare-image 0.025
${BASELINE}/cdTvMultivariateAlterationDetectorImageFilterOutputSameNbBands.tif ${BASELINE}/cdTvMultivariateAlterationDetectorImageFilterOutputSameNbBands.tif
${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif) ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif)
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
OTB_TEST_APPLICATION(NAME apTvChMaximumAutocorrelationFactor OTB_TEST_APPLICATION(NAME apTvChMaximumAutocorrelationFactor
APP MaximumAutocorrelationFactor APP MaximumAutocorrelationFactor
OPTIONS --in ${INPUTDATA}/cupriteSubHsi.tif OPTIONS -in ${INPUTDATA}/cupriteSubHsi.tif
--out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif -out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif
VALID --compare-image 0.025 VALID --compare-image 0.025
${BASELINE}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif ${BASELINE}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif
${TEMP}/apTvChMaximumAutocorrelationFactor.tif) ${TEMP}/apTvChMaximumAutocorrelationFactor.tif)
......
...@@ -4,36 +4,36 @@ SET(EPSILON_10 0.0000000001) ...@@ -4,36 +4,36 @@ SET(EPSILON_10 0.0000000001)
OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapTest OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapTest
APP StereoSensorModelToElevationMap APP StereoSensorModelToElevationMap
OPTIONS --ref ${INPUTDATA}/sensor_stereo_left.tif OPTIONS -ref ${INPUTDATA}/sensor_stereo_left.tif
--sec ${INPUTDATA}/sensor_stereo_right.tif -sec ${INPUTDATA}/sensor_stereo_right.tif
--out ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif -out ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif
--r 3 -r 3
--ct 0.7 -ct 0.7
--vt 4.0 -vt 4.0
--minh -20.0 -minh -20.0
--maxh 20.0 -maxh 20.0
--step 1.0 -step 1.0
--dem ${INPUTDATA}/DEM/srtm_directory/ -dem ${INPUTDATA}/DEM/srtm_directory/
--geoid ${INPUTDATA}/DEM/egm96.grd -geoid ${INPUTDATA}/DEM/egm96.grd
VALID --compare-image ${EPSILON_10} VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmStereoSensorModelToElevationMapTest.tif ${BASELINE}/apTvDmStereoSensorModelToElevationMapTest.tif
${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif) ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif)
OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing
APP StereoSensorModelToElevationMap APP StereoSensorModelToElevationMap
OPTIONS --ref ${INPUTDATA}/sensor_stereo_left.tif OPTIONS -ref ${INPUTDATA}/sensor_stereo_left.tif
--sec ${INPUTDATA}/sensor_stereo_right.tif -sec ${INPUTDATA}/sensor_stereo_right.tif
--out ${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif -out ${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif
--r 3 -r 3
--ct 0.7 -ct 0.7
--vt 4.0 -vt 4.0
--minh -20.0 -minh -20.0
--maxh 20.0 -maxh 20.0
--step 1.0 -step 1.0
--dem ${INPUTDATA}/DEM/srtm_directory/ -dem ${INPUTDATA}/DEM/srtm_directory/
--geoid ${INPUTDATA}/DEM/egm96.grd -geoid ${INPUTDATA}/DEM/egm96.grd
--rgs 2.0 -rgs 2.0
--sgs 2.0 -sgs 2.0
VALID --compare-image ${EPSILON_10} VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif ${BASELINE}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif
${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif) ${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif)
...@@ -41,18 +41,18 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing ...@@ -41,18 +41,18 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing
#--- FineRegistration ---# #--- FineRegistration ---#
OTB_TEST_APPLICATION(NAME apTvDmFineRegistrationTest OTB_TEST_APPLICATION(NAME apTvDmFineRegistrationTest
APP FineRegistration APP FineRegistration
OPTIONS --ref ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub.tif OPTIONS -ref ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub.tif
--sec ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_centered_rigid.tif -sec ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_centered_rigid.tif
--out ${TEMP}/apTvDmFineRegistrationTest.tif -out ${TEMP}/apTvDmFineRegistrationTest.tif
--erx 5 -erx 5
--ery 5 -ery 5
--mrx 3 -mrx 3
--mry 3 -mry 3
--ssrx 8 -ssrx 8
--ssry 8 -ssry 8
--spa 0.1 -spa 0.1
--cox -2 -cox -2
--vmlt 0.999 -vmlt 0.999
VALID --compare-image ${EPSILON_10} VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmFineRegistrationTest.tif ${BASELINE}/apTvDmFineRegistrationTest.tif
${TEMP}/apTvDmFineRegistrationTest.tif ${TEMP}/apTvDmFineRegistrationTest.tif
......
...@@ -5,16 +5,16 @@ IF(OTB_DATA_USE_LARGEINPUT) ...@@ -5,16 +5,16 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetection OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetection
APP LineSegmentDetection APP LineSegmentDetection
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
--out ${TEMP}/feTvLineSegmentDetection_LI.shp -out ${TEMP}/feTvLineSegmentDetection_LI.shp
VALID --compare-ogr ${EPSILON_9} VALID --compare-ogr ${EPSILON_9}
${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI.shp ${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI.shp
${TEMP}/feTvLineSegmentDetection_LI.shp) ${TEMP}/feTvLineSegmentDetection_LI.shp)
OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetectionNoRescale OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetectionNoRescale
APP LineSegmentDetection APP LineSegmentDetection
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
--out ${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp -out ${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp
VALID --compare-ogr ${EPSILON_9} VALID --compare-ogr ${EPSILON_9}
${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI_NoRescale.shp ${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI_NoRescale.shp
${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp) ${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp)
......
...@@ -3,20 +3,20 @@ ...@@ -3,20 +3,20 @@
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_UCLS OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_UCLS
APP HyperspectralUnmixing APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif -ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double -out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double
--ua ucls -ua ucls
VALID --compare-image ${EPSILON_9} VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_UCLS.tif ${BASELINE}/apTvHyHyperspectralUnmixing_UCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif) ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif)
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS
APP HyperspectralUnmixing APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif -ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif double -out ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif double
--ua ncls -ua ncls
VALID --compare-image ${EPSILON_9} VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_NCLS.tif ${BASELINE}/apTvHyHyperspectralUnmixing_NCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif) ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif)
...@@ -30,17 +30,17 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS ...@@ -30,17 +30,17 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS
# Execute $<TARGET_FILE:otbApplicationLauncherCommandLine> # Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
# HyperspectralUnmixing # HyperspectralUnmixing
# $<TARGET_FILE_DIR:otbapp_HyperspectralUnmixing> # $<TARGET_FILE_DIR:otbapp_HyperspectralUnmixing>
# --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif # -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
# --ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif # -ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
# --out ${TEMP}/apTvHyHyperspectralUnmixing_ISRA.tif double # -out ${TEMP}/apTvHyHyperspectralUnmixing_ISRA.tif double
# --ua isra ) # -ua isra )
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS
APP HyperspectralUnmixing APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif -ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif double -out ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif double
--ua fcls -ua fcls
VALID --compare-image ${EPSILON_9} VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_FCLS.tif ${BASELINE}/apTvHyHyperspectralUnmixing_FCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif) ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif)
...@@ -48,9 +48,9 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS ...@@ -48,9 +48,9 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS
#--- VertexComponentAnalysis ---# #--- VertexComponentAnalysis ---#
OTB_TEST_APPLICATION(NAME apTvHyVertexComponentAnalysis OTB_TEST_APPLICATION(NAME apTvHyVertexComponentAnalysis
APP VertexComponentAnalysis APP VertexComponentAnalysis
OPTIONS --in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif
--ne 5 -ne 5
--outendm ${TEMP}/apTvHyVertexComponentAnalysis.tif double -outendm ${TEMP}/apTvHyVertexComponentAnalysis.tif double
VALID --compare-image ${EPSILON_9} VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyVertexComponentAnalysis.tif ${BASELINE}/apTvHyVertexComponentAnalysis.tif
${TEMP}/apTvHyVertexComponentAnalysis.tif ${TEMP}/apTvHyVertexComponentAnalysis.tif
......
...@@ -3,17 +3,17 @@ IF(OTB_DATA_USE_LARGEINPUT) ...@@ -3,17 +3,17 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM
APP OrthoRectification APP OrthoRectification
OPTIONS --io.in ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF OPTIONS -io.in ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
--io.out ${TEMP}/apTvPrOrthorectifTest_UTM.tif -io.out ${TEMP}/apTvPrOrthorectifTest_UTM.tif
--elev.dem ${INPUTDATA}/DEM/srtm_directory/ -elev.dem ${INPUTDATA}/DEM/srtm_directory/
--outputs.ulx 374100.8 -outputs.ulx 374100.8
--outputs.uly 4829184.8 -outputs.uly 4829184.8
--outputs.sizex 500 -outputs.sizex 500
--outputs.sizey 500 -outputs.sizey 500
--outputs.spacingx 0.5 -outputs.spacingx 0.5
--outputs.spacingy -0.5 -outputs.spacingy -0.5
--map utm -map utm
--opt.gridspacing 4 # Spacing of the deformation field -opt.gridspacing 4 # Spacing of the deformation field
VALID --compare-image ${NOTOL} VALID --compare-image ${NOTOL}
${BASELINE}/owTvOrthorectifTest_UTM.tif ${BASELINE}/owTvOrthorectifTest_UTM.tif
${TEMP}/apTvPrOrthorectifTest_UTM.tif) ${TEMP}/apTvPrOrthorectifTest_UTM.tif)
...@@ -22,10 +22,10 @@ ENDIF(OTB_DATA_USE_LARGEINPUT) ...@@ -22,10 +22,10 @@ ENDIF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample
APP RigidTransformResample APP RigidTransformResample
OPTIONS --in ${INPUTDATA}/poupees.tif OPTIONS -in ${INPUTDATA}/poupees.tif
--out ${TEMP}/apTvPrRigidTransformResampleTest.tif -out ${TEMP}/apTvPrRigidTransformResampleTest.tif
--tx 5 -tx 5
--ty -5 -ty -5
VALID --compare-image ${NOTOL} VALID --compare-image ${NOTOL}
${BASELINE}/owTvRigidTransformResampleTest.tif ${BASELINE}/owTvRigidTransformResampleTest.tif
${TEMP}/apTvPrRigidTransformResampleTest.tif) ${TEMP}/apTvPrRigidTransformResampleTest.tif)
...@@ -33,11 +33,11 @@ OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample ...@@ -33,11 +33,11 @@ OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample
OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint
APP ConvertCartoToGeoPoint APP ConvertCartoToGeoPoint
OPTIONS --carto.x 374100.828 OPTIONS -carto.x 374100.828
--carto.y 4829184.806 -carto.y 4829184.806
--mapproj utm -mapproj utm
--mapproj.utm.hemisphere true -mapproj.utm.hemisphere true
--mapproj.utm.zone 31 -mapproj.utm.zone 31
TESTENVOPTIONS ${TEMP}/apTvPrConvertCartoToGeoPoint.txt TESTENVOPTIONS ${TEMP}/apTvPrConvertCartoToGeoPoint.txt
VALID --compare-ascii ${EPSILON_7} VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvPrConvertCartoToGeoPoint.txt ${BASELINE_FILES}/apTvPrConvertCartoToGeoPoint.txt
...@@ -45,13 +45,13 @@ OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint ...@@ -45,13 +45,13 @@ OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint
OTB_TEST_APPLICATION(NAME apTvPrImageEnvelopeTest OTB_TEST_APPLICATION(NAME apTvPrImageEnvelopeTest
APP ImageEnvelope APP ImageEnvelope
OPTIONS --in ${INPUTDATA}/sensor_stereo_left.tif OPTIONS -in ${INPUTDATA}/sensor_stereo_left.tif
--out ${TEMP}/apTvPrImageEnvelopeTest.shp) -out ${TEMP}/apTvPrImageEnvelopeTest.shp)
OTB_TEST_APPLICATION(NAME apTvPrObtainUTMZoneFromGeoPoint OTB_TEST_APPLICATION(NAME apTvPrObtainUTMZoneFromGeoPoint
APP ObtainUTMZoneFromGeoPoint APP ObtainUTMZoneFromGeoPoint
OPTIONS --lat 10.0 OPTIONS -lat 10.0
--lon 124.0 -lon 124.0
TESTENVOPTIONS ${TEMP}/apTvPrObtainUTMZoneFromGeoPoint.txt TESTENVOPTIONS ${TEMP}/apTvPrObtainUTMZoneFromGeoPoint.txt