Michel Julien
2018-06-07 11:39:11 UTC
Also, the minsize step is slow, and if you use a very high minsize it will be even slower. 30000 is a lot.
De : otb-***@googlegroups.com [mailto:otb-***@googlegroups.com] De la part de Guillaume Pasero
Envoyé : jeudi 7 juin 2018 13:20
à : otb-***@googlegroups.com
Objet : Re: [otb-users] LargeScaleMeanShift still running
Hi,
The application LargeScaleMeanShift has 4 steps, each one can be launched individually by an OTB application, check the recipe:
https://www.orfeo-toolbox.org/CookBook/recipes/improc.html#large-scale-mean-shift-lsms-segmentation
When you have a large data, what I advise is to start with a small extract, just to tune the parameters. If you over-segment your image, there will be too many polygons, and processing will be slow.
Regards,
Guillaume
On 06/06/2018 10:45 AM, Akila wrote:
Hi all,
When I launch the LargeScaleMeanShift application, the process doesn't finish. I work on Python 2 (with Ubuntu).
My input image.tif weights 1.7 Go and has 6 bands.
Here is what I type on Python 2 :
LargeScaleMeanShift.SetParameterString("in", "NDVI_normalized.tif")
SR = 8
RR = 40
MS = 30000
LargeScaleMeanShift.SetParameterInt("spatialr", SR)
LargeScaleMeanShift.SetParameterFloat("ranger", RR)
LargeScaleMeanShift.SetParameterInt("minsize", MS)
LargeScaleMeanShift.SetParameterString("mode.vector.out", "NDVI_segmented_SR_8_RR_40_MS_30000.shp")
# The following line execute the application
LargeScaleMeanShift.ExecuteAndWriteOutput()
After 10 hours, the algorithms gives me an "NDVI_segmented_SR_8_RR_40_MS_30000.shp_labelmap.tif" image, and that's all.
The script was still running after 36 hours, so I stop it.
Is it normal to wait so long time ? Is there a code or an application to finish the job (I mean to go from shp_labelmap.tif to .tif) ?
Best regards,
Akila
--
--
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 otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
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 otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
<www.c-s.fr>[cid:***@01D3FE64.EAC0E090]<www.c-s.fr><www.c-s.fr>
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation - Département Payload Data & 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 - ***@c-s.fr<mailto:***@c-s.fr>
--
--
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 otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
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 otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
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 otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
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 otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
De : otb-***@googlegroups.com [mailto:otb-***@googlegroups.com] De la part de Guillaume Pasero
Envoyé : jeudi 7 juin 2018 13:20
à : otb-***@googlegroups.com
Objet : Re: [otb-users] LargeScaleMeanShift still running
Hi,
The application LargeScaleMeanShift has 4 steps, each one can be launched individually by an OTB application, check the recipe:
https://www.orfeo-toolbox.org/CookBook/recipes/improc.html#large-scale-mean-shift-lsms-segmentation
When you have a large data, what I advise is to start with a small extract, just to tune the parameters. If you over-segment your image, there will be too many polygons, and processing will be slow.
Regards,
Guillaume
On 06/06/2018 10:45 AM, Akila wrote:
Hi all,
When I launch the LargeScaleMeanShift application, the process doesn't finish. I work on Python 2 (with Ubuntu).
My input image.tif weights 1.7 Go and has 6 bands.
Here is what I type on Python 2 :
LargeScaleMeanShift.SetParameterString("in", "NDVI_normalized.tif")
SR = 8
RR = 40
MS = 30000
LargeScaleMeanShift.SetParameterInt("spatialr", SR)
LargeScaleMeanShift.SetParameterFloat("ranger", RR)
LargeScaleMeanShift.SetParameterInt("minsize", MS)
LargeScaleMeanShift.SetParameterString("mode.vector.out", "NDVI_segmented_SR_8_RR_40_MS_30000.shp")
# The following line execute the application
LargeScaleMeanShift.ExecuteAndWriteOutput()
After 10 hours, the algorithms gives me an "NDVI_segmented_SR_8_RR_40_MS_30000.shp_labelmap.tif" image, and that's all.
The script was still running after 36 hours, so I stop it.
Is it normal to wait so long time ? Is there a code or an application to finish the job (I mean to go from shp_labelmap.tif to .tif) ?
Best regards,
Akila
--
--
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 otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
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 otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
<www.c-s.fr>[cid:***@01D3FE64.EAC0E090]<www.c-s.fr><www.c-s.fr>
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation - Département Payload Data & 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 - ***@c-s.fr<mailto:***@c-s.fr>
--
--
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 otb-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>
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 otb-users+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
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 otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
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 otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.