I think that most of the time spent in this step is about building a segment map, and it takes time no matter how much tiles you are using. True, we should branch the nbtiles=1 case.
> -----Message d'origine----- > De : [email protected] [mailto:[email protected]] > De la part de Agustin Lobo > Envoyé : mardi 31 janvier 2017 13:18 > À : [email protected] > Objet : [otb-users] LMSVectorization: no effect of number of tiles? > > I'm trying to optimize the execution time of LMSVectorization. > I've noted that most time is spent at the "Merging polygons across tiles" > phase, so I've increased tilesize: The point is that this step takes the same > time no matter the tilesize value (and hence, the nb of tiles). I can increase > tilesize until I have only 1 tile, but still have a "Merging polygons across > tiles" > phase (despite I have only 1 !!) and it takes as if I had 16 tiles... > > $ /home/alobo/OTB-5.8.0-Linux64/bin/otbcli_LSMSVectorization > -in PCA/WV3sub1PCA.tif > -inseg segmentation_merged.tif > -out WV3sub1PCAMSS_r100_s5_R5_S5_m0_m20.shp > -tilesizex 4096 -tilesizey 4096 > > 2017 Jan 31 13:06:53 : Application.logger (INFO) Number of tiles: 1 x 1 > Retrieve region count...: 100% > [**************************************************] (0.7 > seconds) > 2017 Jan 31 13:06:54 : Application.logger (INFO) Vectorization ... > 2017 Jan 31 13:07:12 : Application.logger (INFO) Merging polygons across > tiles ... > 2017 Jan 31 13:10:42 : Application.logger (INFO) Elapsed time: 187.29 > seconds > > Any idea of why? > > Agus > > -- > -- > 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. -- -- 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.
