Hi 

I'm trying to segment this image (figure 1) using  the watershed 
segmentation algorithm but I do not get what I need. 


The input image has been created by a cost function ( 
https://grass.osgeo.org/grass72/manuals/r.cost.html ) 

starting from the dark pixel in Figure 1. The delineation of the different 
watershed should be located on the higher value of the cost around each 
dark pixel. 

In other words I would like to obtain something similar to Figure 2. 


I tried to change the -filter.watershed.level  and -filter.watershed.threshold, 
the polygons size/shape change but I do not get the delineation of each 
watershed. 

Do you have any idea?   

wget https://dl.dropboxusercontent.com/u/29337496/cost_neg.tif
otbcli_Segmentation -in  cost_neg.tif   -mode vector -mode.vector.out 
SegmentationVector.shp -filter  watershed  -filter.watershed.level    0.5


Thanks 

Giuseppe


Figure 1 

<https://lh3.googleusercontent.com/-aFycVrnI9fg/WIjqz_N465I/AAAAAAAARRs/DBQ8e7euW7sYKog0oVsVfHlIUMMWd7xowCLcB/s1600/segmentation.png>

Figure 2 

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
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