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

TEST: use shark

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