Hi, Maybe you already have found this but anyway : http://www.itk.org/Doxygen47/html/classitk_1_1WatershedImageFilter.html This is the documentation of the internal filter doing the watershed segmentation, but it is not exposed in the application otbcli_Segmentation.
You could try to explore increasing flood levels (starting from 0, with an arbitrary step) and try to compare the segmentation output between 2 consecutive flood level (to detect what regions from level n are merged at level n+1). But beware that otbcli_Segmentation is running this algo per streaming block, then it tries to merge regions from neighbor blocks. In order to avoid conflicts with the stitching strategy inside the Segmentation app, you should try to process a small image and allow enough RAM so that the image is processed in one block. Hope it helps, Guillaume On 08/11/2015 12:25 AM, Paulo Raposo wrote: > Hi All, > > I'm trying to get a segmentation tree from OTB's watershed segmentation > method (i.e., otbcli_Segmentation.bat on the command line), which > produces a hierarchical segmentation of the image. I understand that > varying the "flood level" gives you different outputs, as in different > "slices" of the tree, but I don't see how the integer labels assigned to > each segment make sense with each other in a tree/hierarchy. I don't see > how to generate a tree, either, in whatever format that may take (maybe > a textual list of all the segments and what segments fall above or below > it in the tree?). > > Could somebody point me in the right direction on this? How might I get > a reference table of parent/child relations in the segments, and/or get > some programmatic segmentation tree to work with? Is there any way to > get all the different levels in the tree to output at once (i.e., > multiple shapefiles/rasters)? > > Thanks :) > Paulo > > -- > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- <www.c-s.fr> *Guillaume PASERO* Ingénieur d'études et développement *Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département 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.
