Skip to content
Snippets Groups Projects
Commit a594e54a authored by Marina Bertolino's avatar Marina Bertolino
Browse files

DOC: Harmonization of Exact Large-Scale Mean-Shift segmentation examples

parent 82c7c205
No related branches found
No related tags found
No related merge requests found
...@@ -145,9 +145,9 @@ the *MeanShiftSmoothing* application: ...@@ -145,9 +145,9 @@ the *MeanShiftSmoothing* application:
:: ::
otbcli_MeanShiftSmoothing -in input_image otbcli_MeanShiftSmoothing -in input_image.tif
-fout filtered_range.tif -fout filtered_range.tif
-foutpos filtered_spat.tif -foutpos filtered_spatial.tif
-ranger 30 -ranger 30
-spatialr 5 -spatialr 5
-maxiter 10 -maxiter 10
...@@ -173,7 +173,7 @@ so, the *LSMSSegmentation* will process them by tiles whose dimensions ...@@ -173,7 +173,7 @@ so, the *LSMSSegmentation* will process them by tiles whose dimensions
are defined by the *tilesizex* and *tilesizey* parameters, and by are defined by the *tilesizex* and *tilesizey* parameters, and by
writing intermediate images to disk, thus keeping the memory consumption writing intermediate images to disk, thus keeping the memory consumption
very low throughout the process. The segmentation will group together very low throughout the process. The segmentation will group together
adjacent pixels whose range distance is below the *ranger* parameter and neighboring pixels whose range distance is below the *ranger* parameter and
(optionally) spatial distance is below the *spatialr* parameter. (optionally) spatial distance is below the *spatialr* parameter.
:: ::
...@@ -250,7 +250,7 @@ projection, so does the output GIS file). ...@@ -250,7 +250,7 @@ projection, so does the output GIS file).
:: ::
otbcli_LSMSVectorization -in input_image otbcli_LSMSVectorization -in input_image.tif
-inseg segmentation_merged.tif -inseg segmentation_merged.tif
-out segmentation_merged.shp -out segmentation_merged.shp
-tilesizex 256 -tilesizex 256
......
...@@ -100,7 +100,7 @@ private: ...@@ -100,7 +100,7 @@ private:
AddRAMParameter(); AddRAMParameter();
// Doc example parameter settings // Doc example parameter settings
SetDocExampleParameterValue("in","avions.tif"); SetDocExampleParameterValue("in","maur_rgb.png");
SetDocExampleParameterValue("inseg","merged.tif"); SetDocExampleParameterValue("inseg","merged.tif");
SetDocExampleParameterValue("out","vector.shp"); SetDocExampleParameterValue("out","vector.shp");
SetDocExampleParameterValue("tilesizex","256"); SetDocExampleParameterValue("tilesizex","256");
......
...@@ -109,8 +109,8 @@ private: ...@@ -109,8 +109,8 @@ private:
// Doc example parameter settings // Doc example parameter settings
SetDocExampleParameterValue("in", "maur_rgb.png"); SetDocExampleParameterValue("in", "maur_rgb.png");
SetDocExampleParameterValue("fout", "MeanShift_FilterOutput.tif"); SetDocExampleParameterValue("fout", "smooth.tif");
SetDocExampleParameterValue("foutpos", "MeanShift_SpatialOutput.tif"); SetDocExampleParameterValue("foutpos", "position.tif");
SetDocExampleParameterValue("spatialr", "16"); SetDocExampleParameterValue("spatialr", "16");
SetDocExampleParameterValue("ranger", "16"); SetDocExampleParameterValue("ranger", "16");
SetDocExampleParameterValue("thres", "0.1"); SetDocExampleParameterValue("thres", "0.1");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment