比较图像的相似性 [英] Comparing Images for similarity
问题描述
我想比较两个图像(车牌图像).我已经使用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屋!