English 中文(简体)
添加图象/录像
原标题:adding cliparts to image/video OpenCV
  • 时间:2011-03-25 16:54:18
  •  标签:
  • c++
  • qt
  • opencv

我在我的学院里建造了一个网吧,作为我的C++项目。 我正在把QT(用于GUI)和公开CV(用于图像处理)。 我的申请将是一个简单的网络广告,可以查阅网络广告、放映/录像、拍摄图像和其他障碍。

Well, I also want to put in a feature to add cliparts to captured images, or the streaming video. While on my research, I found out that there is no way we can overlay two images using OpenCV. The best alternative I was able to find was to reconfigure the whole image to add the clipart into the original image making it a single image. You see, that s not going to work for me as I have to be able to move the clipart and resize or rotate the clipart in my canvas. So, I was wondering if anybody could tell me how to achieve the effect I want most efficiently.

I would really appreciate your help. The deadline for the project submission is closing in and its a huge bump on the road to completion. PLEEEASE... RELP!!

问题回答

如果你只是想在公开的CV图像上贴上标志,那么你就简单地界定了目的地视频图像的利害关系区(roi),并照此复制来源图像(细节因每个版本的开放式录像而有所不同)。

如果你希望该标志具有半透明度——像电视频道ID一样——那么,你就可以复制图像,但可以穿透镜像,书写一个目的地——pixel/2+ dest_pixel/2;





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签