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)
......@@ -3,8 +3,8 @@
OTB_TEST_APPLICATION(NAME apTvChMaximumAutocorrelationFactor
APP MaximumAutocorrelationFactor
OPTIONS --in ${INPUTDATA}/cupriteSubHsi.tif
--out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif
OPTIONS -in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif
VALID --compare-image 0.025
${BASELINE}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif
${TEMP}/apTvChMaximumAutocorrelationFactor.tif)
......
......@@ -4,36 +4,36 @@ SET(EPSILON_10 0.0000000001)
OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapTest
APP StereoSensorModelToElevationMap
OPTIONS --ref ${INPUTDATA}/sensor_stereo_left.tif
--sec ${INPUTDATA}/sensor_stereo_right.tif
--out ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif
--r 3
--ct 0.7
--vt 4.0
--minh -20.0
--maxh 20.0
--step 1.0
--dem ${INPUTDATA}/DEM/srtm_directory/
--geoid ${INPUTDATA}/DEM/egm96.grd
OPTIONS -ref ${INPUTDATA}/sensor_stereo_left.tif
-sec ${INPUTDATA}/sensor_stereo_right.tif
-out ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif
-r 3
-ct 0.7
-vt 4.0
-minh -20.0
-maxh 20.0
-step 1.0
-dem ${INPUTDATA}/DEM/srtm_directory/
-geoid ${INPUTDATA}/DEM/egm96.grd
VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmStereoSensorModelToElevationMapTest.tif
${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif)
OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing
APP StereoSensorModelToElevationMap
OPTIONS --ref ${INPUTDATA}/sensor_stereo_left.tif
--sec ${INPUTDATA}/sensor_stereo_right.tif
--out ${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif
--r 3
--ct 0.7
--vt 4.0
--minh -20.0
--maxh 20.0
--step 1.0
--dem ${INPUTDATA}/DEM/srtm_directory/
--geoid ${INPUTDATA}/DEM/egm96.grd
--rgs 2.0
--sgs 2.0
OPTIONS -ref ${INPUTDATA}/sensor_stereo_left.tif
-sec ${INPUTDATA}/sensor_stereo_right.tif
-out ${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif
-r 3
-ct 0.7
-vt 4.0
-minh -20.0
-maxh 20.0
-step 1.0
-dem ${INPUTDATA}/DEM/srtm_directory/
-geoid ${INPUTDATA}/DEM/egm96.grd
-rgs 2.0
-sgs 2.0
VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif
${TEMP}/apTvDmStereoSensorModelToElevationMapWithSmoothing.tif)
......@@ -41,18 +41,18 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing
#--- FineRegistration ---#
OTB_TEST_APPLICATION(NAME apTvDmFineRegistrationTest
APP FineRegistration
OPTIONS --ref ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub.tif
--sec ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_centered_rigid.tif
--out ${TEMP}/apTvDmFineRegistrationTest.tif
--erx 5
--ery 5
--mrx 3
--mry 3
--ssrx 8
--ssry 8
--spa 0.1
--cox -2
--vmlt 0.999
OPTIONS -ref ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub.tif
-sec ${INPUTDATA}/ROI_IKO_PAN_LesHalles_sub_warped_centered_rigid.tif
-out ${TEMP}/apTvDmFineRegistrationTest.tif
-erx 5
-ery 5
-mrx 3
-mry 3
-ssrx 8
-ssry 8
-spa 0.1
-cox -2
-vmlt 0.999
VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmFineRegistrationTest.tif
${TEMP}/apTvDmFineRegistrationTest.tif
......
......@@ -5,16 +5,16 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetection
APP LineSegmentDetection
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
--out ${TEMP}/feTvLineSegmentDetection_LI.shp
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
-out ${TEMP}/feTvLineSegmentDetection_LI.shp
VALID --compare-ogr ${EPSILON_9}
${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI.shp
${TEMP}/feTvLineSegmentDetection_LI.shp)
OTB_TEST_APPLICATION(NAME apTvFeLineSegmentDetectionNoRescale
APP LineSegmentDetection
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
--out ${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp
OPTIONS -in ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
-out ${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp
VALID --compare-ogr ${EPSILON_9}
${OTBAPP_BASELINE_FILES}/feTvLineSegmentDetection_LI_NoRescale.shp
${TEMP}/feTvLineSegmentDetection_LI_NoRescale.shp)
......
......@@ -3,20 +3,20 @@
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_UCLS
APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double
--ua ucls
OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
-ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
-out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double
-ua ucls
VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_UCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif)
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS
APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif double
--ua ncls
OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
-ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
-out ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif double
-ua ncls
VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_NCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif)
......@@ -30,17 +30,17 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_NCLS
# Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
# HyperspectralUnmixing
# $<TARGET_FILE_DIR:otbapp_HyperspectralUnmixing>
# --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
# --ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
# --out ${TEMP}/apTvHyHyperspectralUnmixing_ISRA.tif double
# --ua isra )
# -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
# -ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
# -out ${TEMP}/apTvHyHyperspectralUnmixing_ISRA.tif double
# -ua isra )
OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS
APP HyperspectralUnmixing
OPTIONS --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
--ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
--out ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif double
--ua fcls
OPTIONS -in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif
-ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif
-out ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif double
-ua fcls
VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyHyperspectralUnmixing_FCLS.tif
${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif)
......@@ -48,9 +48,9 @@ OTB_TEST_APPLICATION(NAME apTvHyHyperspectralUnmixing_FCLS
#--- VertexComponentAnalysis ---#
OTB_TEST_APPLICATION(NAME apTvHyVertexComponentAnalysis
APP VertexComponentAnalysis
OPTIONS --in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif
--ne 5
--outendm ${TEMP}/apTvHyVertexComponentAnalysis.tif double
OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif
-ne 5
-outendm ${TEMP}/apTvHyVertexComponentAnalysis.tif double
VALID --compare-image ${EPSILON_9}
${BASELINE}/apTvHyVertexComponentAnalysis.tif
${TEMP}/apTvHyVertexComponentAnalysis.tif
......
......@@ -3,17 +3,17 @@ IF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM
APP OrthoRectification
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
--elev.dem ${INPUTDATA}/DEM/srtm_directory/
--outputs.ulx 374100.8
--outputs.uly 4829184.8
--outputs.sizex 500
--outputs.sizey 500
--outputs.spacingx 0.5
--outputs.spacingy -0.5
--map utm
--opt.gridspacing 4 # Spacing of the deformation field
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
-elev.dem ${INPUTDATA}/DEM/srtm_directory/
-outputs.ulx 374100.8
-outputs.uly 4829184.8
-outputs.sizex 500
-outputs.sizey 500
-outputs.spacingx 0.5
-outputs.spacingy -0.5
-map utm
-opt.gridspacing 4 # Spacing of the deformation field
VALID --compare-image ${NOTOL}
${BASELINE}/owTvOrthorectifTest_UTM.tif
${TEMP}/apTvPrOrthorectifTest_UTM.tif)
......@@ -22,10 +22,10 @@ ENDIF(OTB_DATA_USE_LARGEINPUT)
OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample
APP RigidTransformResample
OPTIONS --in ${INPUTDATA}/poupees.tif
--out ${TEMP}/apTvPrRigidTransformResampleTest.tif
--tx 5
--ty -5
OPTIONS -in ${INPUTDATA}/poupees.tif
-out ${TEMP}/apTvPrRigidTransformResampleTest.tif
-tx 5
-ty -5
VALID --compare-image ${NOTOL}
${BASELINE}/owTvRigidTransformResampleTest.tif
${TEMP}/apTvPrRigidTransformResampleTest.tif)
......@@ -33,11 +33,11 @@ OTB_TEST_APPLICATION(NAME apTvPrRigidTransformResample
OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint
APP ConvertCartoToGeoPoint
OPTIONS --carto.x 374100.828
--carto.y 4829184.806
--mapproj utm
--mapproj.utm.hemisphere true
--mapproj.utm.zone 31
OPTIONS -carto.x 374100.828
-carto.y 4829184.806
-mapproj utm
-mapproj.utm.hemisphere true
-mapproj.utm.zone 31
TESTENVOPTIONS ${TEMP}/apTvPrConvertCartoToGeoPoint.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvPrConvertCartoToGeoPoint.txt
......@@ -45,13 +45,13 @@ OTB_TEST_APPLICATION(NAME apTvPrConvertCartoToGeoPoint
OTB_TEST_APPLICATION(NAME apTvPrImageEnvelopeTest
APP ImageEnvelope
OPTIONS --in ${INPUTDATA}/sensor_stereo_left.tif
--out ${TEMP}/apTvPrImageEnvelopeTest.shp)
OPTIONS -in ${INPUTDATA}/sensor_stereo_left.tif
-out ${TEMP}/apTvPrImageEnvelopeTest.shp)
OTB_TEST_APPLICATION(NAME apTvPrObtainUTMZoneFromGeoPoint
APP ObtainUTMZoneFromGeoPoint
OPTIONS --lat 10.0
--lon 124.0
OPTIONS -lat 10.0
-lon 124.0
TESTENVOPTIONS ${TEMP}/apTvPrObtainUTMZoneFromGeoPoint.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvPrObtainUTMZoneFromGeoPoint.txt
......
......@@ -4,11 +4,11 @@ set(TEST_DRIVER otbTestDriver
OTB_TEST_APPLICATION(NAME apTvRIRadiometricVegetationIndices
APP RadiometricVegetationIndices
OPTIONS --in ${INPUTDATA}/veryverySmallFSATSW.tif
--index.ndvi 1
--index.rvi 1
--index.ipvi 1
--out ${TEMP}/apTvRIRadiometricVegetationIndices.tif
OPTIONS -in ${INPUTDATA}/veryverySmallFSATSW.tif
-index.ndvi 1
-index.rvi 1
-index.ipvi 1
-out ${TEMP}/apTvRIRadiometricVegetationIndices.tif
VALID --compare-image ${NOTOL}
${BASELINE}/apTvRIRadiometricVegetationIndices.tif
${TEMP}/apTvRIRadiometricVegetationIndices.tif)
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_QuickbirdPAN
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/QB_PAN_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_QuickbirdPAN.tif
OPTIONS -in ${INPUTDATA}/QB_PAN_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_QuickbirdPAN.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoQuickbirdPAN.tif
${TEMP}/apTvRaOpticalCalibration_QuickbirdPAN.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_QuickbirdXS
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/QB_MUL_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_QuickbirdXS.tif
OPTIONS -in ${INPUTDATA}/QB_MUL_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_QuickbirdXS.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoQuickbirdXS.tif
${TEMP}/apTvRaOpticalCalibration_QuickbirdXS.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_Spot5
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/SPOT5_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_Spot5.tif
OPTIONS -in ${INPUTDATA}/SPOT5_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_Spot5.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoSpot5.tif
${TEMP}/apTvRaOpticalCalibration_Spot5.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_Ikonos
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/IKONOS_BLOSSEVILLE_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_Ikonos.tif
OPTIONS -in ${INPUTDATA}/IKONOS_BLOSSEVILLE_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_Ikonos.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoIkonos.tif
${TEMP}/apTvRaOpticalCalibration_Ikonos.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_WV2PAN
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/WV2_PAN_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_WV2PAN.tif
OPTIONS -in ${INPUTDATA}/WV2_PAN_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_WV2PAN.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoWV2PAN.tif
${TEMP}/apTvRaOpticalCalibration_WV2PAN.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_WV2Multi
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/WV2_MUL_ROI_1000_100.tif
--level toa
--out ${TEMP}/apTvRaOpticalCalibration_WV2Multi.tif
OPTIONS -in ${INPUTDATA}/WV2_MUL_ROI_1000_100.tif
-level toa
-out ${TEMP}/apTvRaOpticalCalibration_WV2Multi.tif
VALID --compare-image ${EPSILON_7}
${BASELINE}/raTvLuminanceToReflectanceImageFilterAutoWV2Multi.tif
${TEMP}/apTvRaOpticalCalibration_WV2Multi.tif )
OTB_TEST_APPLICATION(NAME apTvRaOpticalCalibration_Formosat
APP OpticalCalibration
OPTIONS --in ${INPUTDATA}/FORMOSAT_ROI_1000_100.tif