简体   繁体   中英

Comparing image similarity using OpenCV in Java

How can I compare two images similarity in Java using OpenCV. I must mention that those images may differ by angle, luminosity, etc. I'm not interested in comparing identical images. For example: 在此输入图像描述

在此输入图像描述

After processing these 2 images, I want to know that they contain the same object, or that they look 70% similar

This is possible in Java, using ASIFT, implemented in OpenImaj library. Example here

Asift extacts local features from a image and then it's used a matcher in order to detect similar features.

ASIFT online demo here: http://demo.ipol.im/demo/my_affine_sift/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM