在屏幕上显示捕获的图像 [英] Display the captured image on the screen

查看:93
本文介绍了在屏幕上显示捕获的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用cam.DisplayImage.Set(s32MemId,s32DisplayHandle,s32Mode)在cmos usb 2-thorlab相机中的另一个图片框上显示捕获的图像,但我不知道如何使用此。我的图像仅显示在哪里流媒体正在进行中。



我尝试过:



我能够在流媒体正在进行的同一个图片框中捕获图像

I am trying to display the captured image on another picturebox in cmos usb 2-thorlab cameras using "cam.DisplayImage.Set(s32MemId, s32DisplayHandle, s32Mode)" but Idont know how to use this.my image is displayed only where the streaming is going on.

What I have tried:

I AM able to capture the image in the same picturebox where streaming is going on

推荐答案

ScreenCapture sc = new ScreenCapture();
// capture entire screen, and save it to a file
Image img = sc.CaptureScreen();
// display image in a Picture control named imageDisplay
this.imageDisplay.Image = img;
// capture this window, and save it
sc.CaptureWindowToFile(this.Handle,"C:\\temp2.gif",ImageFormat.Gif);







更多信息,请访问

捕获屏幕截图 - C#示例代码 - 开发人员融合 [ ^ ]


这篇关于在屏幕上显示捕获的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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