Commit 68141d5d authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

TEST: Overriding input files from inxml to use files from OTB-Data

parent 2ae625aa
......@@ -108,6 +108,9 @@ IF(OTB_USE_OPENCV)
NAME apTvClTrainMethod${classifier}ImagesClassifierQB1_InXML1
APP TrainImagesClassifier
OPTIONS -inxml ${TEMP}/cl${classifier}_OutXML1.xml
-io.il ${INPUTDATA}/Classification/QB_1_ortho${raster_input_format}
-io.vd ${INPUTDATA}/Classification/VectorData_${${lclassifier}_input}QB1${vector_input_format}
-io.imstat ${ascii_ref_path}/clImageStatisticsQB1${stat_input_format}
-io.out ${TEMP}/OutXML2_${OUTMODELFILE}
VALID ${ascii_comparison}
......@@ -115,7 +118,7 @@ IF(OTB_USE_OPENCV)
${TEMP}/OutXML2_${OUTMODELFILE}
)
SET_TESTS_PROPERTIES(apTvClTrainMethod${classifier}ImagesClassifierQB1_InXML1 PROPERTIES DEPENDS apTvClTrainMethod${classifier}ImagesClassifierQB1_OutXML1)
#SET_TESTS_PROPERTIES(apTvClTrainMethod${classifier}ImagesClassifierQB1_InXML1 PROPERTIES DEPENDS apTvClTrainMethod${classifier}ImagesClassifierQB1_OutXML1)
OTB_TEST_APPLICATION(
NAME apTvClMethod${classifier}ImageClassifierQB1
......@@ -183,7 +186,11 @@ OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB1_allOpt
OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB1_allOpt_InXML
APP TrainImagesClassifier
OPTIONS -inxml ${TEMP}/clsvmModelQB1_OutXML.xml
OPTIONS
-inxml ${TEMP}/clsvmModelQB1_OutXML.xml
-io.il ${INPUTDATA}/Classification/QB_1_ortho.tif
-io.vd ${INPUTDATA}/Classification/VectorData_QB1.shp
-io.imstat ${OTBAPP_BASELINE_FILES}/clImageStatisticsQB1.xml
-sample.mv 100
-sample.mt 100
-sample.vtr 0.5
......@@ -194,7 +201,7 @@ OTB_TEST_APPLICATION(NAME apTvClTrainSVMImagesClassifierQB1_allOpt_InXML
${OTBAPP_BASELINE_FILES}/clsvmModelQB1.svm
${TEMP}/clsvmModelQB1_allOpt_InXML.svm)
SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB1_allOpt_InXML PROPERTIES DEPENDS apTvClTrainSVMImagesClassifierQB1_OutXML)
#SET_TESTS_PROPERTIES(apTvClTrainSVMImagesClassifierQB1_allOpt_InXML PROPERTIES DEPENDS apTvClTrainSVMImagesClassifierQB1_OutXML)
OTB_TEST_APPLICATION(NAME apTvClImageSVMClassifierQB1
APP ImageClassifier
......
......@@ -42,10 +42,12 @@ OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM_OutXML1
OTB_TEST_APPLICATION(NAME apTvPrOrthorectification_UTM_InXML1
APP OrthoRectification
OPTIONS
-inxml ${INPUTDATA}/apTvPrOrthorectifTest_UTM_OutXML1.xml
-io.out ${TEMP}/apTvPrOrthorectifTest_UTM_InXML1.tif
VALID --compare-image ${EPSILON_4}
OPTIONS
-inxml ${INPUTDATA}/apTvPrOrthorectifTest_UTM_OutXML1.xml
-io.in ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
-io.out ${TEMP}/apTvPrOrthorectifTest_UTM_OutXML1.tif
-elev.dem ${INPUTDATA}/DEM/srtm_directory/
VALID --compare-image ${EPSILON_4}
${BASELINE}/owTvOrthorectifTest_UTM.tif
${TEMP}/apTvPrOrthorectifTest_UTM_InXML1.tif)
......
......@@ -32,6 +32,7 @@ OTB_TEST_APPLICATION(NAME apTvUtSmoothingTest_OutXML
OTB_TEST_APPLICATION(NAME apTvUtSmoothingTest_InXML
APP Smoothing
OPTIONS -inxml ${INPUTDATA}/apTvUtSmoothingTest_OutXML.xml
-in ${INPUTDATA}/poupees.tif
-out ${TEMP}/apTvUtSmoothingTest_InXML.tif
-type mean
VALID --compare-image ${NOTOL}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment