In Android, I am making the program comparing with two images like a game 'TheHiddenCatch'.
I make the matching algorithm in OpenCV using the guideline here.
Now, I am porting the source code in Android.
After I select two images, match them.
But I cannot match them except BMP files(like JPG or PNG).
If I try to match JPG or PNG, I receive the error message like this.
11-26 02:05:48.775: INFO/DEBUG(28): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-26 02:05:48.775: INFO/DEBUG(28): Build fingerprint: 'generic/sdk/generic/:2.1-update1/ECLAIR/35983:eng/test-keys'
11-26 02:05:48.775: INFO/DEBUG(28): pid: 247, tid: 247 >>> exam.TheHiddenCatch <<<
11-26 02:05:48.775: INFO/DEBUG(28): signal 11 (SIGSEGV), fault addr 00000028
11-26 02:05:48.775: INFO/DEBUG(28): r0 00000023 r1 beccb53c r2 0b21ceab r3 00000000
11-26 02:05:48.785: INFO/DEBUG(28): r4 80d12bb0 r5 000002b8 r6 4104ba4c r7 00000000
11-26 02:05:48.785: INFO/DEBUG(28): r8 beccb918 r9 4104ba64 10 4104ba4c fp 00000000
11-26 02:05:48.785: INFO/DEBUG(28): ip afbc30c8 sp beccb560 lr afbc1053 pc 80c1c638 cpsr 60000030
11-26 02:05:48.945: INFO/DEBUG(28): #00 pc 0001c638 /data/data/exam.TheHiddenCatch/lib/libFindAll.so
11-26 02:05:48.955: INFO/DEBUG(28): #1 pc 0000f1f4 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #2 pc 00038018 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #3 pc 000316a2 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #4 pc 0003d31c /system/lib/libdvm.so
11-26 02:05:48.975: INFO/DEBUG(28): #5 pc 00013f58 /system/lib/libdvm.so
....
...
I don't know why it happens the signal 11 (SIGSEGV) using JPG or PNG.
If you know them, please tell me how to solve the problem....
In Android, I am making the program comparing with two images like a game 'TheHiddenCatch'.
I make the matching algorithm in OpenCV using the guideline here.
Now, I am porting the source code in Android.
After I select two images, match them.
But I cannot match them except BMP files(like JPG or PNG).
If I try to match JPG or PNG, I receive the error message like this.
11-26 02:05:48.775: INFO/DEBUG(28): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-26 02:05:48.775: INFO/DEBUG(28): Build fingerprint: 'generic/sdk/generic/:2.1-update1/ECLAIR/35983:eng/test-keys'
11-26 02:05:48.775: INFO/DEBUG(28): pid: 247, tid: 247 >>> exam.TheHiddenCatch <<<
11-26 02:05:48.775: INFO/DEBUG(28): signal 11 (SIGSEGV), fault addr 00000028
11-26 02:05:48.775: INFO/DEBUG(28): r0 00000023 r1 beccb53c r2 0b21ceab r3 00000000
11-26 02:05:48.785: INFO/DEBUG(28): r4 80d12bb0 r5 000002b8 r6 4104ba4c r7 00000000
11-26 02:05:48.785: INFO/DEBUG(28): r8 beccb918 r9 4104ba64 10 4104ba4c fp 00000000
11-26 02:05:48.785: INFO/DEBUG(28): ip afbc30c8 sp beccb560 lr afbc1053 pc 80c1c638 cpsr 60000030
11-26 02:05:48.945: INFO/DEBUG(28): #00 pc 0001c638 /data/data/exam.TheHiddenCatch/lib/libFindAll.so
11-26 02:05:48.955: INFO/DEBUG(28): #1 pc 0000f1f4 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #2 pc 00038018 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #3 pc 000316a2 /system/lib/libdvm.so
11-26 02:05:48.955: INFO/DEBUG(28): #4 pc 0003d31c /system/lib/libdvm.so
11-26 02:05:48.975: INFO/DEBUG(28): #5 pc 00013f58 /system/lib/libdvm.so
....
...
I don't know why it happens the signal 11 (SIGSEGV) using JPG or PNG.
If you know them, please tell me how to solve the problem....