支持残疾人 - 在移动网络摄像头的同时构建图像 [英] supporting people with disabilities - construct an image while moving a webcam

查看:73
本文介绍了支持残疾人 - 在移动网络摄像头的同时构建图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



任何人都可以提示(c ++ / mfc)来源构建带有移动网络摄像头的图像。



我的父亲视力不佳,我想为他开发一个扫描时事通讯专栏的应用程序,同时将网络摄像头移到上面。我已经获得了网络摄像头的图像(是的,这不是火箭科学)并且检测到所拍摄图像的(垂直)移动(好吧,也不是一项大工作)。



现在我正在寻找将图像粘合在一起的算法(正确对齐),以便稍后将其作为高于图像扫描窗口的组合位图进行查看,以使其可由用户滚动。



位图应正确垂直对齐。我试着得到每一行/像素行并将它与之前的行进行比较,但我对结果不满意。



任何聪明的提示?



来自德国的问候

解决方案

这是一个非常复杂的问题,但我认为你可以解决它,如果你研究正确地加入并付出一些体面的努力。我希望你的目标真的值得付出努力,此外,你可以帮助很多其他人。所以,非常感谢你对这项工作的兴趣以及你一定需要的奉献精神。



问题是可以解决的,因为有更复杂的问题:从一组单独的图像中创建全景图像,而不是使用关于精确相机位置/角度的信息。人们找到了很好的解决这个复杂问题的方法。您的问题可能会相当简单,因为您可以将图像视为平坦,并且可能将您的技术基于非扭曲(或扭曲的一点点)图像。您需要使用它们的共同特征找到相邻图像之间的相关性。



让我们从一些东西开始,这将更接近火箭手术 。据我所知,到目前为止,使用RANSAC算法解决了这些问题。请参阅:

http://en.wikipedia.org/wiki/RANSAC [< a href =http://en.wikipedia.org/wiki/RANSACtarget =_ blanktitle =New Window> ^ ]。



使用C ++,您可以利用开源计算机视觉库,开放式简历:

http://en.wikipedia.org/wiki/Open_CV [ ^ ],

http://opencv.org/ [ ^ ]。



这是我的相关代码示例能够找到目前为止: http://docs.opencv.org/doc/tutorials/features2d/ feature_homography / feature_homography.html [ ^ ]。



从此页面开始,在Open中找到相关的库类简历文档并学习使用。它将使您识别不同图像的匹配功能。根据这些信息,您应该能够得出不同图像之间的相对方向和转换,并最终将它们拼接在一起。



-SA

hello together,

can anyone give me hints to (c++/mfc) source to construct an image with a moving webcam.

my father has a debility of sight and I'd like to develop an application for him that "scans" a newsletter column while moving a webcam over it. I already get the image of the webcam (yes, it's not rocket science) and detect a (vertical) move of the image taken (well, also not a big job).

Now I'm searching for algorithms to glue the images (correctly aligned) together for viewing them later as a combined bitmap larger in height than the image scan window to make it scrollable by the user.

the bitmap should be correctly vertically aligned. I tried to get every row/pixel line and compare it to the previous ones but I'm not satisfied with the results.

any clever hints?

greetings from germany

解决方案

This is quite a complex problem, but I think you can solve it if you study the subject properly and put some decent effort. I hope you goals really worth the effort, and, additionally, you could potentially help many other people. So, thank you very much for your interest in this work and your dedication which you will certainly need.

The problem is quite solvable, because there is much more complex problem: creation of panoramic images out of a set of separate images, not using information on exact camera positions/angles. People found quite nice solution to this complex problem. Your problem can be considerably simpler, because you can consider images "flat" and probably base your techniques on the non-distorted (or distorted just a bit) images. You need to find correlations between neighboring images using their common features.

Let's start with something, which will be much closer to the rocket surgery. From what I know so far, such problems are solved using RANSAC algorithms. Please see:
http://en.wikipedia.org/wiki/RANSAC[^].

With C++, you can take a benefit of using the Open Source Computer Vision Library, Open CV:
http://en.wikipedia.org/wiki/Open_CV[^],
http://opencv.org/[^].

This is the relevant code sample I was able to find so far: http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html[^].

Starting from this page, locate related library classes in Open CV documentation and learn using then. It will give you recognition of the matching features of different images. From this information, you should be able to derive relative orientation and shift between different images and ultimately stitch them together.

—SA


这篇关于支持残疾人 - 在移动网络摄像头的同时构建图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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