I'm currently working on some simple Python wrappers around some OTB
modules and got some strange results when trying to use
the connected components application to vectorize a binary image.
subprocess.call([otbpath + "/otbcli_ConnectedComponentSegmentation",
... I get the attached results with strong artefacts at what seems to be the
borders between individually process strips. Furthermore, the application also
seems to have the undocumented feature to abstract the polygons.
As an alternative I tried to use otbcli_Segmentation which provides the
expected result (see attached as well) but unfortunately takes > 6h on a
subprocess.call([otbpath + "/otbcli_Segmentation",
Since such type of vectorization seems like a common task I wonder if anybody
came across such issues before and has solved it?
Many thanks in advance for any advice,
Check the OTB FAQ at
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.