View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001369OTB-applicationsGeneralpublic2017-03-14 16:132017-03-17 11:34
Assigned ToLudovic 
PlatformOSWindows 7OS Version64 bit
Summary0001369: otbgui_Segmentation.bat won't produce correct results
DescriptionI 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.
Additional InformationI uploaded the result shapefile it produced.
TagsNo tags attached.
Attached Files7z file icon shapefile.7z [^] (595 bytes) 2017-03-14 16:13

- Relationships

-  Notes
Ludovic (developer)
2017-03-15 09:27


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) ?
ghassem.alaee (reporter)
2017-03-15 13:13


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.
Ludovic (developer)
2017-03-17 11:34

Thank 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: [^]

The package will include the bugfix at the latest next week.

Let us know if the problem is completely fixed.

- Issue History
Date Modified Username Field Change
2017-03-14 16:13 ghassem.alaee New Issue
2017-03-14 16:13 ghassem.alaee File Added: shapefile.7z
2017-03-15 09:12 Ludovic Status new => acknowledged
2017-03-15 09:27 Ludovic Note Added: 0004069
2017-03-15 10:12 Ludovic Assigned To => Ludovic
2017-03-15 13:13 ghassem.alaee Note Added: 0004070
2017-03-15 14:43 Ludovic Status acknowledged => assigned
2017-03-17 11:34 Ludovic Note Added: 0004071
2017-03-17 11:34 Ludovic Status assigned => feedback

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker