comparing two images

3,168 views
Skip to first unread message

hanoun

unread,
Feb 28, 2012, 5:28:54 PM2/28/12
to android...@googlegroups.com
Can someone help  me and tell with methods of opencv   can I use to compare them?

Andrey Pavlenko

unread,
Feb 29, 2012, 12:02:11 AM2/29/12
to android...@googlegroups.com
it's not clear what do you mean saying 'to compare images'...
if 2 images have the same type and size you can get a new image containing their difference with Core.absdiff() function (http://opencv.itseez.com/modules/core/doc/operations_on_arrays.html#absdiff)
or you can make per element comparison with Core.compare() function (http://opencv.itseez.com/modules/core/doc/operations_on_arrays.html#compare)
Reply all
Reply to author
Forward
0 new messages