C#中的图像重叠 [英] Image Overlapping in C#

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

问题描述

我想将所有帧(即Raw格式)重叠一行的距离,我们将获得如链接中所示的确切对象图像.
http://www.4shared.com/photo/Wu_-v0k4/untitled.html [ ^ ]
重叠所有捕获的帧,我们将获得最终图像,如链接所示.
http://www.4shared.com/photo/-Zu5uC53/Final_Image.html [ ^ ]

如何在c#...
中成为可能
[edit]已将链接转换为正确的链接,将我的内容作为纯文本..."选项已禁用-OriginalGriff [/edit]

I want to overlap all the frames(i.e. In Raw format) by the distance of one line we will get the exact object image as shown in link.
http://www.4shared.com/photo/Wu_-v0k4/untitled.html[^]
Overlapping all the captured frames we will get final image as shown in link.
http://www.4shared.com/photo/-Zu5uC53/Final_Image.html[^]

How It can be possible in c#...

[edit]Links converted to a proper links, "Treat my content as plain text..." option disabled - OriginalGriff[/edit]

推荐答案

一点不明显,不是吗?还是我想念什么?

将每一帧加载到图片中(使用 ^ ]方法),然后处理面板或窗体的Paint事件,并使用
That''s a little obvious, isn''t it? Or am I missing something?

Load each frame into an Image (use the Image.FromFile[^] method), then handle the Paint event of a panel or form, and use the Graphics.DrawImage[^] method (with the supplied Graphics object) to paint each image on the screen in order, remembering to offet the X start address by the appropriate amount.


这篇关于C#中的图像重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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