C#_弹出提示窗口
using System.Runtime.InteropServices;/*初始化RGB增益*/float prGain = 0;float pgGain = 0;float pbGain = 0;status = DVPCamera.dvpGetRgbGain(m_handle, ref prGain,ref pgGain, ref pbGain);//获取色彩增益if(status!=dvp
·
using System.Runtime.InteropServices;
/*初始化RGB增益*/
float prGain = 0;
float pgGain = 0;
float pbGain = 0;
status = DVPCamera.dvpGetRgbGain(m_handle, ref prGain,ref pgGain, ref pbGain);//获取色彩增益
if(status!=dvpStatus.DVP_STATUS_OK)
{
MessageBox.Show("黑白相机不支持RGB增益调节!");
}
更多推荐
已为社区贡献4条内容
所有评论(0)