图像识别或匹配 [英] image recognition or matching

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

问题描述

大家好,

我需要您的帮助才能在vb.net中执行代码以将图像与数据库中的其他图像进行匹配.
我的数据库由图像和图像名称组成.
我对数据库中的图像进行预处理,然后将其设为黑白.
我需要代码来比较插入的图像与数据库中的图像
查找数据库中是否有类似的数据库.

我了解我需要将图像分为9部分
然后将每个部分与像素的颜色和位置进行比较,并根据预定百分比接受这些部分,我需要重新划分中心部分并重新绘制比较,但是我现在不知道如何划分图像并使此代码
请帮助我尽快这样做.

非常感谢

Hi every body,

I need your help to do code in vb.net to match image with other images in database.
I have database consist of images and name of image.
I preprocess image in database and let it black and white.
I need code to compare inserted image from out side with image in database
to find if there is similar one in database.

I understand that i need to divide image to 9 part
and compare each part with color and position of pixel and accept thid partion according to predetermine percentage, and I need to re-divide the central part and repaint the comparison but i don''t now how to divide image and make this code
please help me to do this as soon as possible.

Thanks a lot

推荐答案

如果图像的像素大小相同,则只需计算图像的校验和并将其存储在数据库中即可.检索匹配项时,您将计算该图像的校验和并进行搜索.这将比匹配图像本身快得多.您可以将完整的图像与绝对确定的结果进行比较.

祝你好运!
If the images should be the same pixel by pixel then simply calculate a checksum of the picture and store it in the database. When retrieving a match you calculate the checksum of that image and search with that. This will be a lot faster then matching the images itself. You can do a complete image compare with the results you get to be absolutely sure.

Good luck!


感谢您的帮助
但是我尝试执行代码以检查两个图像中像素的位置并接受70%的像素并计算两个图像中的白色,如果两个图像中的相似度都达到75%,则接受白色
thanks for your helping
but i try do code to check the position of pixels in both image and accept it in 70 % and count the white color in both images then accept it if they have 75 % similar in both images


如果您已完成操作,请给我您的源代码....我的邮件ID为aartishah22@yahoo.com
If you have completed would you like to give me your source code.... my mail id is aartishah22@yahoo.com


这篇关于图像识别或匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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