查找已知的子图像放大图像 [英] Find known sub image in larger image

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

问题描述

有谁知道一个算法(或搜索条件/说明)在一个较大的图像查找已知的图像?

例如。

予有包含各种按钮和区域(目标)的单个桌面窗口的图像。我也有code捕捉屏幕快照当前桌面。我想一个算法,这将有助于我找到更大的桌面图像内的目标图像(什么确切的x和y坐标位于窗口)。目标图像可以位于所述较大图像的任何位置,可能不是100%完全相同(非常相似,但不准确可能的B的OS显示差异/ C)

I have an image of a single desktop window containing various buttons and areas (target). I also have code to capture a screen shot of the current desktop. I would like an algorithm that will help me find the target image within the larger desktop image (what exact x and y coordinates the window is located at). The target image may be located anywhere in the larger image and may not be 100% exactly the same (very similar but not exact possibly b/c of OS display differences)

有谁知道这样的算法或类算法的?

Does anyone know of such an algorithm or class of algorithms?

我找到了各种图像分割和计算机视觉算法,但他们似乎面向区域的模糊的分类,而不是在另一个定位特定的图像。

I have found various image segmentation and computer vision algorithms but they seem geared to "fuzzy" classification of regions and not locating a specific image within another.

**的我的目标是建立一个框架,鉴于一些种子的目标图像,可以找到看在桌面上,找到目标区域,看它的变化。的**

推荐答案

你说你的图像可能不完全一样,但然后说你不想模糊的算法。我不知道那些是兼容的。总的来说,虽然,我想你想看看图像配准算法。有一个开源C ++包称为 ITK 这可能会提供一些​​线索。此外 ImageJ的是一种流行的开源Java包。如果你闲逛这两至少有一些注册功能可用。

You said your image may not be exactly the same, but then say you don't want "fuzzy" algorithms. I'm not sure those are compatible. In general, though, I think you want to look at image registration algorithms. There's an open source C++ package called ITK that might provide some hints. Also ImageJ is a popular open source Java package. Both of these have at least some registration capabilities available if you poke around.

这篇关于查找已知的子图像放大图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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