Hi David,
some informations:
- the Mean-Shift in Monteverdi is based on the edison implementation.
The 'meanshift' in the segmentation application is a multi-threaded OTB
implementation. It could lead to different results but I'm not sure to
understand such difference as you mentioned. You can also try to use the
edison implementation in the Segmentation application 'filter edison'
parameter.
- Concerning the segfault, please not that as explain in the application
description in the 'raster' mode the whole input image is loaded in
memory. To enable streaming with the mean-shift you need to:
- use the vector mode which perform post tile effects corrections
- use the exact large scale mean shift segmentation framework (LSMS)
described in the CookBook which ensure tile-wise results.
Regards,
Manuel
Le 24/09/2014 23:06, David Zhang a écrit :
> Hey,
>
> I have two issues that I am trying to debug:
>
> 1) The Mean-Shift segmentation I get using Monteverdi is different
> than when I do it from the command line (using the same parameters).
> In particular, I get far more segments (by a factor of ~60) when using
> the command line. How can I reproduce the Monteverdi segmentation?
>
> From what I understand, the Mean-Shift implementation is
> deterministic, so I should be getting the same results, correct?
>
> I am running this command:
>
> otbcli_Segmentation -in pics/input.tif -mode raster -mode.raster.out
> segmented.tif uint32 -filter meanshift \
> -filter.meanshift.spatialr 20 -filter.meanshift.ranger 20
> -filter.meanshift.minsize 300
>
>
>
> 2) I get a segfault whenever an otbcli application exits. It seems
> like other people have had the same issue, but in my case it doesn't
> prevent me from running the commands, so I don't know how this is
> affecting my results.
>
> *** Error in `/usr/local/bin/otbApplicationLauncherCommandLine':
> double free or corruption (!prev): 0x0000000002ae9d30 ***
> /usr/local/bin/otbcli: line 29: 6212 Aborted (core
> dumped) $OTB_CLI_LAUNCHER "$@"
>
>
> I am using OTB 4.0 and Monteverdi 1.2 if that makes any difference.
>
> Any help would be appreciated!
>
> --
> --
> 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.
--
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
--
--
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.