Error while applying meanShift to bigger images- Labeled map
Mantis Issue 180, reported by jturner, assigned to jguinet, created: 2010-07-19
I've tried to run MeanShiftVectorImageFilterExample with a bigger (175MB or 315MB) image in Windows and Linux. The first 2 images are processed and saved ok but when It gets to the labeled image, It's not sabed and the process is interrupted with the following erro (in Windows): MeanShiftVectorImageFilterExample.exe has encountered a problem and nees to close. We are sorry for the inconvenience.
"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information".
Then I decided to create a simpler version of this function. Instead of creating the first 2 files, the first process is to create labeled image. Attached to this report I placed the meanshift01.cxx But I get exacly the same error in both systems
I run meanshift01.exe like this: meanshift01.exe 3kompsat.tif labeled.tif 10 20 100 255
This happens in the following OS:
- Windows XP
- Ubuntu 9.10
This also happens in:
- OTB 3.4
- OTB 3.4.1
1279534042 - kimbesson1981Hi There
I have tried exacly the same in Linux and I got Segmentation Fault error with my LANDSAT image (300MB). I Uploaded the Valgrind log.
As it can be seen, there are a lot of memory errors.
1279535768 - JennyTurnerI have placed my Kompsat image with 3 bands in: http://demo.ovh.com/en/512fcea5598cdb4ee93159daa4b29daa/
1279537684 - Antonio RochaFirst: Jenny, thanks for the initiative Second: I have tried to do the same and I got the same error. Then, I tried with the boundaries tif and the same happened. I beleive It's associated with the label
1279550056 - Antonio RochaI have just runned DDD over Jenny's function (that is the same as provided in Example but only produces the labeled image) and I got the following error: Program received signal SIGINT, Interrumpt. 0x086b6c425 in msImageProcessor:: NewOptimizedFilter1 (float, float) ()
1279605409 - christopWorks for me with:
bin/MeanShiftVectorImageFilterExample 3kompsat.tif filteredkompsat.tif