如果一个图像包含另一个图像,Ifind怎么办? [英] how can Ifind if an Image contains another Image ?

查看:91
本文介绍了如果一个图像包含另一个图像,Ifind怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以使用vb.net代码查找小图像是否是大图像的一部分?

在此先感谢!

Is there a way to find if a small Image is part of a larger one using vb.net code ?

thanks in advance !

推荐答案

如果您要在较旧的图像中查找较小图像的逐像素精确副本,则可以没那么难.只需查找要在图像中搜索的第一个像素,然后在找到时(如果/找到)查找对象像素即可.

如果您要查找图像的任何比例缩放或旋转图像以在较大的图像中进行搜索,那么机器视觉"将面临一个极其困难的问题.研究愉快!
If you''re looking for an exact pixel-by-pixel copy of the smaller image in the alrger one, then it''s not that hard. It''s just a matter of looking for the first pixel to search for in the image, then, when/if found, looking at the adject pixels.

If you''re looking for any kind of scaling or rotation of the image to search for in the larger image, now you''ve got an extremely difficult problem in "machine vision". Happy researching!


这篇关于如果一个图像包含另一个图像,Ifind怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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