当前位置:编程学习 > C#/ASP.NET >>

采用DirectShowLib-2005的DXsnap 例子拍摄出来的图像效果问题(高分)

最近在使用DirectShowLib-2005.dll开发摄像头的拍像程序,但我发现拍出的效果没有AMCAP的效果好。
请高手指导。
代码截取:
 hr = m_FilterGraph.AddSourceFilterForMoniker(dev.Mon, null, dev.Name, out capFilter);
                DsError.ThrowExceptionForHR( hr );

m_pinStill = DsFindPin.ByCategory(capFilter, PinCategory.Still, 0);

  // Get a control pointer (used in Click())               
 m_VidControl = capFilter as IAMVideoControl;
 pCaptureOut = DsFindPin.ByCategory(capFilter, PinCategory.Capture, 0);
// If any of the default config items are set
 if (iHeight + iWidth + iBPP > 0)
{
    SetConfigParms(m_pinStill, iWidth, iHeight, iBPP);
 }

采用PinCategory.Still模式时,拍出来的图像有时黑,有时白 --------------------编程问答-------------------- 个库文件可以用在WINCE下吗 --------------------编程问答-------------------- 你最好把那个dll发出来 大家帮你测试下..
这样来的实际些..

不过是不是和你的摄像头也有关系呢?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,