|
Hi,
The segmentation filter tries to identify homogenous regions. In
otbcli_Segmentation , the image first goes into a gradient
magnitude filter before watershed filter.
The watershed filter itself is documented here:
https://itk.org/Doxygen48/html/classitk_1_1WatershedImageFilter.html.
You should try to use it directly.
Hope it helps,
Guillaume
On 01/25/2017 07:31 PM, Giuseppe
Amatulli wrote:
FIGURE 2
![]()
Le mercredi 25 janvier 2017 13:28:58 UTC-5, Giuseppe Amatulli
a écrit :
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?
otbcli_Segmentation
-in cost_neg.tif -mode vector -mode.vector.out
SegmentationVector.shp -filter watershed
-filter.watershed.level 0.5
Thanks
Giuseppe
Figure 1
![]()
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.
--
|
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation -
Département Payload Data & Applications
CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des
Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]
|
--
--
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.
|