Hi everyone.

when i use the tools Mean ShiftSmothing (step1) and LSMSSegmentation  
(step2) there are quite parameters that i don't know how to complet them.

In the first hand whe i tried with the step 1 I leave all the defect 
parameters, I don't change them as you can see in the comand and in the 
image

> otbcli_MeanShiftSmoothing -in 
I:\carlos\Imagery\nuevas_img\15\104001003F5F1500_15.tif -fout 
I:\carlos\Imagery\nuevas_img\ok\smooth.tif -foutpos 
I:\carlos\Imagery\nuevas_img\ok\smooth_pos.tif -spatialr 15 -ranger 0.25 
-thres 0.1 -maxiter 100

![image|471x500](upload://c7FGaUc1Mb1IUeSaYieZ6GXLhfH.png) 


By the other hand, to complete Step2, i've tried tons of numbers in spatial 
radius and range radius parameters, finally i found the correct ones but I 
don't know why these numbers are the correct ones. I don't know why but 
2000 and 200 always fix whit my images, as you can check in the pic and in 
the code.

otbcli_LSMSSegmentation -in I:\carlos\Imagery\nuevas_img\15\filtered.tif 
-inpos I:\carlos\Imagery\nuevas_img\15\spatial.tif -out 
I:\carlos\Imagery\nuevas_img\15\segmentation.tif -spatialr 2000 -ranger 200 
-minsize 1 -tilesizex 4728 -tilesizey 6359

![image|452x500](upload://MHO2yIxOlLHj0jjNoj78XkP3Xd.png) 

And the result is always quite good whit this parameters 
![image|690x482](upload://9wYrL1dvmfmCoju9n2xW7TtQAIY.jpeg) 

If someone could explain me why i don't have to change the parameters in 
the first step, and how can i now which value use to the range radius and 
spatial radius I will appreciate a lot (probably the problem is tha i dont 
understand at all the meaning of this both parameters even reading the 
meaning of the cook-book)

Thanks in advance.

-- 
This mailing will be abandoned soon in favor of a more friendly forum:
https://forum.orfeo-toolbox.org
Thanks to visit it for any question related to Orfeo Toolbox (OTB) usage, or to 
check the OTB FAQ:
http://www.orfeo-toolbox.org/FAQ.html
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to