otbgui_Segmentation.bat won't produce correct results
Mantis Issue 1369, reported by sdinot, assigned to sdinot, created: 2017-03-14
I am using OTB 5.10 and 5.10.1 (both with and without contrib) and I am encountering a bug relating to output of otbgui_Segmentation.bat. The output of this app should be a either a vector shapefile or a raster. In both of these situations, I get empty files no matter how I set the parameters and what kind of file I use( 5 bands or less or more). The output shapefile only showing the borders of the input image. no segmentation is done technically.
I uploaded the result shapefile it produced.
1489566469 - LudovicHello,
Could you provide the command line you used to perform segmentation ?
Also, do you encounter this issue with all filter or only with meanshift (default one) ?
1489580007 - ghassem.alaeeHello,
I use GUI apps but this is the command line which I tried and I also got the same results: otbcli_Segmentation.bat -in C:/exercises/Input/5band.tif -mode.vector.out C:/Users/sam/Desktop/1.shp -mode.vector.layername layer -mode.vector.fieldname DN Only meanshift is not working as it should. other algorithms are working fine. I should also say that when I use the four step meanshift which is called LSMS, they work perfectly.
1489746875 - LudovicThank you for this bug report. The problem have been found, and it's now corrected.
You can test this bugfix by downloading the latest packages on:
https://www.orfeo-toolbox.org/packages/nightly/latest/
The package will include the bugfix at the latest next week.
Let us know if the problem is completely fixed.
*1492