Hi,
thank you for your answer. Unfortunately I don't know where I should enable
that option.
I am using the CC according to the cookbook example:
#!/usr/bin/python
# Import the otb applications package
import otbApplication
# The following line creates an instance of the
ConnectedComponentSegmentation application
ConnectedComponentSegmentation = otbApplication.Registry.CreateApplication("
ConnectedComponentSegmentation")
# The following lines set all the application parameters:
ConnectedComponentSegmentation.SetParameterString("in", "ROI_QB_MUL_4.tif")
ConnectedComponentSegmentation.SetParameterString("mask", "((b1>80)⋆
intensity>95)")
ConnectedComponentSegmentation.SetParameterString("expr", "distance<10")
ConnectedComponentSegmentation.SetParameterInt("minsize", 15)
ConnectedComponentSegmentation.SetParameterString("obia", "SHAPE_Elongation
>8")
ConnectedComponentSegmentation.SetParameterString("out", "
ConnectedComponentSegmentation.shp")
# The following line execute the application
ConnectedComponentSegmentation.ExecuteAndWriteOutput()
Adding a line like
"ConnectedComponentSegmentation.SetParameterInt("mode.vector.stitch", 1)"
does not do the trick.
Andy
On Friday, 6 June 2014 13:35:24 UTC+2, Jonathan Guinet wrote:
>
> Hi,
>
> Do you use CC algorithm throw Segmentation application ? is the stitching
> option disabled ? (-mode.vector.stitch ) you should activate it
>
>
> Jonathan
>
>
> 2014-06-06 8:23 GMT+02:00 Andy <[email protected] <javascript:>>:
>
>> Hi,
>>
>> I am using the CC algorithm of the otb library in a python script. The
>> input raster has a 11639 x 10948 Pixel extend and 4 bands.
>> The result shows a pattern of equally distributed horizontal lines which
>> split polygons.
>> What is the cause for that? Is it just a matter of the extend?
>> I attached a screenshot which visualizes the problem. Any help is
>> appreciated.
>>
>> Regards
>>
>> --
>> --
>> 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]
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
--
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.