由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请教抓取摄像头的图像问题。
相关主题
Windows多媒体编程入门问题[合集] Does OpenGL have a future?
我写的屏保程序想学学DirectX
请问Managed DirectX 画圆请教大家一个directx显卡输出格式的问题.
如何将一个矩形的Jpg画在极坐标系的平面上?[合集] 如何用编程实现下载交互查询的结果?
哪些language有处理视频的包?下面的一段没看懂
[转载] Mac C++ program question请教一个初级问题
菜鸟的苹果编程问题VC里用最快的速度画几十万个小图形该用OpenGl还是DirectX?
图象处理求助请教,网页抓取、内容整理提取用什么做比较简单
相关话题的讨论汇总
话题: 抓取话题: gdi话题: directshow话题: 摄像头话题: 图像
进入Programming版参与讨论
1 (共1页)
l**2
发帖数: 126
1
我用摄像头自带的软件打开摄像头,然后想用抓取窗口的方法抓取图像
我用的这个函数:bitblt
但是只能把窗口的框架抓出来,各种文件,选项,菜单都可以抓出来,但是一到显示摄
像头图像的地方,什么都抓取不到啊....
谁知道怎么解决吗?
X****r
发帖数: 3557
2
Sorry I'm not used to the Chinese input on my PowerBook so I'm replying in
English.
Usually video applications render by using DirectDraw (a component of
DirectX), or other similar methods, that show the image directly on the
hardware, skipping the GDI layer, so GDI functions like bitblt wouldn't be
able to grab the image.
The easiest way to get images from video devices is to write a DirectShow
filter. If you would rather use your existing screen-grabbing application,
another thing you can prob

【在 l**2 的大作中提到】
: 我用摄像头自带的软件打开摄像头,然后想用抓取窗口的方法抓取图像
: 我用的这个函数:bitblt
: 但是只能把窗口的框架抓出来,各种文件,选项,菜单都可以抓出来,但是一到显示摄
: 像头图像的地方,什么都抓取不到啊....
: 谁知道怎么解决吗?

l**2
发帖数: 126
3
another thing you can probably do is to create a DirectShow graph using
existing filters, but set the renderer to use GDI instead of DirectShow.
你的意思是修改现在的这个摄像头自带的应用程序吗?但是不开源啊...

【在 X****r 的大作中提到】
: Sorry I'm not used to the Chinese input on my PowerBook so I'm replying in
: English.
: Usually video applications render by using DirectDraw (a component of
: DirectX), or other similar methods, that show the image directly on the
: hardware, skipping the GDI layer, so GDI functions like bitblt wouldn't be
: able to grab the image.
: The easiest way to get images from video devices is to write a DirectShow
: filter. If you would rather use your existing screen-grabbing application,
: another thing you can prob

l**2
发帖数: 126
4
有什么办法在现有的基础上改动下抓取图像吗?
1 (共1页)
进入Programming版参与讨论
相关主题
请教,网页抓取、内容整理提取用什么做比较简单哪些language有处理视频的包?
请教个网页数据抓取的程序设计[转载] Mac C++ program question
perl 问题求教菜鸟的苹果编程问题
问个GDI+的问题。。图象处理求助
Windows多媒体编程入门问题[合集] Does OpenGL have a future?
我写的屏保程序想学学DirectX
请问Managed DirectX 画圆请教大家一个directx显卡输出格式的问题.
如何将一个矩形的Jpg画在极坐标系的平面上?[合集] 如何用编程实现下载交互查询的结果?
相关话题的讨论汇总
话题: 抓取话题: gdi话题: directshow话题: 摄像头话题: 图像