예제 #1
0
        //3D降噪
        private void comboBox_3DDenoise_SelectedIndexChanged(object sender, EventArgs e)
        {
            int counts = comboBox_3DDenoise.SelectedIndex;

            if (counts == 0)//禁止
            {
                MvApi.CameraSetDenoise3DParams(m_hCamera, 0, 0, null);
            }
            else
            {
                MvApi.CameraSetDenoise3DParams(m_hCamera, 1, counts + 1, null);
            }
        }