比较图像的相似性 [英] Comparing Images for similarity

查看:143
本文介绍了比较图像的相似性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想比较两个图像(车牌图像).我已经使用ROI命令从车牌上分离了每个字符.现在,我想将其与存储的模板或字符进行比较以识别字符.我想知道如何比较它们的相似性.我是openCV的新手.我正在使用标准车牌.

I want to compare two images (number plate images). I already separated each character from number plate using ROI command. Now, I want to compare this with the stored templates or characters to recognize the character. I want to know how to compare their similarity.I am new to openCV. I am using the standard number plates.

推荐答案

尝试cvMatchTemplate

try cvMatchTemplate

void cvMatchTemplate(const CvArr * image,const CvArr * templ,CvArr * result,int method);

void cvMatchTemplate(const CvArr* image, const CvArr* templ, CvArr* result, int method);

http://opencv.willowgarage.com/documentation/c/object_detection.html

这篇关于比较图像的相似性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆