Mean Shift clustering module
Mantis Issue 295, reported by mgrizonnet, assigned to mgrizonnet, created: 2011-05-10
I observe crash (segmentation fault) when I perform Mean shift clustering on a extract GeoEye image (orthorectified and pan-sharpened). The image was already orthorectified I perform the fusion P/XS with monteverdi) I observe "segmentation fault" when I try to display (without caching) the filtered image output of the mean shift clustering module. I only observe this crash with high value for the 3 available parameters (spectral radius, spatial radius, and min size region typically 20;50;500).Default parameters do not produce a crash.
I observe the crash with Monteverdi 1.7 not with the binary version of monteverdi 1.6 (on the same image and with the same parameters).
I can't reproduce the bug with data available in the OTB-Data repository for now but I can make available the extract.
1305201625 - C ValladeauManuel provides the ortho-pan sharpened extract image. I've tried on linux in debug and release (current cources)) and with the last nightly Monterverdi exe on windows, I can't repoduce the crash.
Can you give us more information about your configuration?
1305547147 - grizonnetmI confirm the bug: I've just tested with the the latest build (15/05/2011) of Monteverdi 1.7.0 Windows binary executable. Platform : Windows XP SP3 and Ubuntu 10.10.
Do you confirm that you can't reproduce the bug with the image extract that I have provided?
1305563635 - C ValladeauOK, it crashes now ! The problem seems to com from the edison librairy. In the class msImageProcessor, the Prune method uses a list of region adjacency list (raList) (class used by the image processor class in the construction of a region adjacency matrix, used by this class to applying transitive closure and to prune spurious regions during image segmentation). A raList conatins a pointer the the previous, the c