Mean Shift Clustering Crash
Mantis Issue 581, reported by sdinot, assigned to gpasero, created: 2012-09-20
Mean Shift Clustering Crashes when I click run. I use a 121 701 k image.
1348650478 - gpaseroThe MeanShift module of Monteverdi uses a filter that doesn't support streaming. It is expected to cause crashes on large images.
The segmentation of large images can be done efficiently with the OTB application "Segmentation", delivered with the OTB library.
1348817777 - julienI agree that large image are unsupported in this module, but not that crashing is the expected behavior : monteverdi should never crash. Instead, it should report a nice message about why it can not perform what the user asks.
1348820184 - julienSolution : Add the appropriate try {} catch () {} to catch the st::bad_alloc exception and report a message.
1348843863 - gpaseroWhen the MeanShift module fails, an error message is displayed, and the user can close the module properly without crashing Monteverdi. Fixed here : http://hg.orfeo-toolbox.org/Monteverdi/rev/4e7547782980