MFC和OpenCV结合
最重要的一点:如何把OpenCV的框嵌入MFC的ID..
把cv显示框嵌入 pic控件
cvNamedWindow("kalman"); HWND hWnd = (HWND) cvGetWindowHandle("kalman"); HWND hParent = ::GetParent(hWnd); ::SetParent(hWnd, GetDlgItem(IDC_SHOWPIC)->m_hWnd); ::ShowWindow(hParent, SW_HIDE);