简体   繁体   English

如何通过directshow.net配置摄像机?

[英]How to configure video camera by directshow.net?

I found some samples that use directshow.net(in C#) to capture video from camera, but i didn't see any sample about configuring video (such as Backlight compensation , Brightness, Contrast, Sharpness, White balance, Hue...) , settings for camera (Exposure,Focus,Pan,Roll,Tilt,Zoom...), video output format,... I'm very appreciated if you give me a link of samples or documents that guide how to do that with directshow.net C#. 我发现一些示例使用directshow.net(在C#中)从摄像机捕获视频,但是我没有看到任何有关配置视频的示例(例如,背光补偿,亮度,对比度,清晰度,白平衡,色相...) ,相机设置(曝光,焦点,摇摄,摇摄,倾斜,缩放...),视频输出格式......如果您给我一个指导如何操作的示例或文档链接,我们将不胜感激。 directshow.net C#。

Thanks you in advance. 预先谢谢你。

You should look into sample code showing how to obtain and use IAMVideoProcAmp interface . 您应该查看示例代码,该示例代码显示如何获取和使用IAMVideoProcAmp接口 Standard samples don't demo it, however it's defined and available. 标准示例没有演示它,但是已经定义并且可用。

For the record, the helpful question which you already found: How can i set brightness for camera using IAMVideoProcAmp? 作为记录,您已经找到了一个有用的问题: 如何使用IAMVideoProcAmp设置摄像机的亮度?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM