Considering that otbcli_LargeScaleMeanShift “chains together the 4 steps of the MeanShift framework, that is the MeanShiftSmoothing, the LSMSSegmentation, the LSMSSmallRegionsMerging and the LSMSVectorization”, but only 1 spatialr parameter and 1 ranger parameter are
required, are “these good values” enforced?
In the example: otbcli_LargeScaleMeanShift -in QB_1_ortho.tif -spatialr 4 -ranger 80 -minsize 16 -mode.vector.out regions.shp
do the parameters correspond to those in the MeanShiftSmoothing step or in the LSMSSegmentation step?
That is:
MeanShiftSmoothing step: spatialr=4 and ranger=80
LSMSSegmentation step : spatialr=2 and ranger=40
or
MeanShiftSmoothing step: spatialr=8 and ranger=160
LSMSSegmentation step : spatialr=4 and ranger=80
Thanks, perhaps this should be clarified in the text, eg:
Spatial radius-spatialr intDefault value: 5
Radius of the spatial neighborhood for averaging in the Mean shift smoothing step and divided by 2 in the segmentation step. Higher values will result in more smoothing and higher processing time.
I observe I had an error in my message, I have edited it.
I understand otbcli_LargeScaleMeanShift -in QB_1_ortho.tif -spatialr 4 -ranger 80 -minsize 16 -mode.vector.out regions.shp
corresponds to:
MeanShiftSmoothing step: spatialr=4 and ranger=80
LSMSSegmentation step : spatialr=2 and ranger=40