Commit 2e60d975 authored by Marina Bertolino's avatar Marina Bertolino

TEST: use shark

parent 640d55d3
...@@ -653,20 +653,21 @@ if(OTB_DATA_USE_LARGEINPUT) ...@@ -653,20 +653,21 @@ if(OTB_DATA_USE_LARGEINPUT)
endif() endif()
#----------- KMeansClassification TESTS ---------------- #----------- KMeansClassification TESTS ----------------
otb_test_application(NAME apTvClKMeansImageClassification if(OTB_USE_SHARK)
APP KMeansClassification otb_test_application(NAME apTvClKMeansImageClassification
OPTIONS -in ${INPUTDATA}/qb_RoadExtract.img APP KMeansClassification
-vm ${INPUTDATA}/qb_RoadExtract_mask.png OPTIONS -in ${INPUTDATA}/qb_RoadExtract.img
-ts 30000 -vm ${INPUTDATA}/qb_RoadExtract_mask.png
-nc 5 -ts 30000
-maxit 10000 -nc 5
-ct 0.0000001 -maxit 10000
-rand 121212 -ct 0.0000001
-out ${TEMP}/apTvClKMeansImageClassificationFilterOutput.tif -rand 121212
VALID --compare-image ${NOTOL} -out ${TEMP}/apTvClKMeansImageClassificationFilterOutput.tif
${OTBAPP_BASELINE}/apTvClKMeansImageClassificationFilterOutput.tif VALID --compare-image ${NOTOL}
${TEMP}/apTvClKMeansImageClassificationFilterOutput.tif ) ${OTBAPP_BASELINE}/apTvClKMeansImageClassificationFilterOutput.tif
${TEMP}/apTvClKMeansImageClassificationFilterOutput.tif )
endif()
#----------- TrainImagesClassifier TESTS ---------------- #----------- TrainImagesClassifier TESTS ----------------
if(OTB_USE_LIBSVM) if(OTB_USE_LIBSVM)
......
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