Hi, 

again thank you for your reply. That is very unfortunate, because I really 
need the masking part within the tool. So I guess I will look into the 
segmentation tool. 
I suppose it is a big performance drawback, when there is no masking. In 
case there is any workaround, let me know.

Andy

On Tuesday, 10 June 2014 20:12:03 UTC+2, Grizonnet Manuel wrote:
>
>  Hi Andy,
>
> Jonathan is referring to the Segmentation application:
>
> http://orfeo-toolbox.org/Applications/Segmentation.html
>
> In this application there is the stiching mechanism and you'll be able to 
> perform the connected component segmentation with an algebra expression. 
> But note that this application will not allow to integrate the "masking" 
> part and the thresholding using shape elongation...
>
> Manuel
>
>  --
>
> Manuel GRIZONNET
> CNES - DCT/SI/AP - BPI 1219
> 18, avenue Edouard Belin
> 31401 Toulouse Cedex 09 - France
> Tel: +33 561 282 630 - Fax: +33 561 283 109
>   ------------------------------
> *De :* [email protected] <javascript:> [[email protected] 
> <javascript:>] de la part de Andy [[email protected] <javascript:>]
> *Envoyé :* mardi 10 juin 2014 09:09
> *À :* [email protected] <javascript:>
> *Objet :* Re: [otb-users] Connected Component Segmentation polygon effect
>
>   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] 
>> <http://UrlBlockedError.aspx>>:
>>
>>> 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] 
>>> <http://UrlBlockedError.aspx>
>>> To unsubscribe from this group, send email to
>>> 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 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] 
> <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.

Reply via email to