I was recently browsing the
OTB LSMS segmentation user manual and noticed that it is recommended in the LSMSSegmentation function to use spatial radius and range radius values that are
half the values used in the MeanShiftSmoothing function. I believe this is confirmed in the original
citation (Michel et al. 2015) as seen in section VI.C and Fig. 14. However, in the SegOptim function segmentation_OTB_LSMS, there is only the option for one set of parameters for both the mean shift smoothing and the segmentation algorithms. Is this choice intentional? If not I think the segmentation_OTB_LSMS function should allow specification for two sets of spatial radius and range radius parameters. Provided you agree with me, I can see a solution in adding two new arguments to the function for the additional parameters, although I realize this may complicate optimization.
I would like to hear your thoughts as this is not my background. Thank you for providing a very useful tool that I am continuing to use in my work!