Commit 1efb5a63 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

TEST : updated test for small region merging

No related merge requests found
Showing with 8 additions and 4 deletions
+8 -4
...@@ -253,8 +253,8 @@ set_property(TEST apTvLSMS3SmallRegionsMerging PROPERTY DEPENDS apTvLSMS2Segment ...@@ -253,8 +253,8 @@ set_property(TEST apTvLSMS3SmallRegionsMerging PROPERTY DEPENDS apTvLSMS2Segment
#----------- SmallRegionsMerging TESTS ---------------- #----------- SmallRegionsMerging TESTS ----------------
otb_test_application(NAME apTvSmallRegionsMerging otb_test_application(NAME apTvSmallRegionsMerging
APP SmallRegionsMerging APP SmallRegionsMerging
OPTIONS -in ${BASELINE}/apTvLSMS1_filtered_range.tif OPTIONS -in ${TEMP}/apTvLSMS1_filtered_range.tif
-inseg ${BASELINE}/apTvLSMS2_Segmentation.tif -inseg ${TEMP}/apTvLSMS2_Segmentation.tif
-out ${TEMP}/apTvSmallMerged.tif uint32 -out ${TEMP}/apTvSmallMerged.tif uint32
-minsize 10 -minsize 10
VALID --compare-image ${NOTOL} VALID --compare-image ${NOTOL}
...@@ -262,7 +262,7 @@ otb_test_application(NAME apTvSmallRegionsMerging ...@@ -262,7 +262,7 @@ otb_test_application(NAME apTvSmallRegionsMerging
${TEMP}/apTvSmallMerged.tif ${TEMP}/apTvSmallMerged.tif
) )
set_property(TEST apTvLSMS3SmallRegionsMerging PROPERTY DEPENDS apTvLSMS2Segmentation) set_property(TEST apTvSmallRegionsMerging PROPERTY DEPENDS apTvLSMS2Segmentation)
#----------- LSMSVectorization TESTS ---------------- #----------- LSMSVectorization TESTS ----------------
otb_test_application(NAME apTvLSMS4Vectorization_SmallMerged otb_test_application(NAME apTvLSMS4Vectorization_SmallMerged
...@@ -294,7 +294,11 @@ otb_test_application(NAME apTvLSMS4Vectorization_NoSmall ...@@ -294,7 +294,11 @@ otb_test_application(NAME apTvLSMS4Vectorization_NoSmall
set_property(TEST apTvLSMS4Vectorization_NoSmall PROPERTY DEPENDS apTvLSMS2Segmentation_NoSmall) set_property(TEST apTvLSMS4Vectorization_NoSmall PROPERTY DEPENDS apTvLSMS2Segmentation_NoSmall)
#----------- HooverCompareSegmentation TESTS ---------------- #----------- HooverCompareSegmentation TESTS ----------------
otb_test_application(NAME apTvSeHooverCompareSegmentationTest otb_test_application(NAME
Applications
New application SmallRegionMerging in file otbSmallRegionMerging.cxx . The parameters are the same as the LSMSSmallRegionMerging application, except for the size tile parameter, as it is estimated automatically in the filters with the available RAM.
Tests apTvSeHooverCompareSegmentationTest
APP HooverCompareSegmentation APP HooverCompareSegmentation
OPTIONS -ingt ${INPUTDATA}/maur_GT.tif OPTIONS -ingt ${INPUTDATA}/maur_GT.tif
-inms ${INPUTDATA}/maur_labelled.tif -inms ${INPUTDATA}/maur_labelled.tif
......
Supports Markdown
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