我在C++中执行下面程序, 发现并不管用,每次打开调试器后点击按钮开关都没反应,设了断点发现程序再跑但是不显示图像 。
- binocular_disparity(himg1r, himg2r, &disp2, &Score, "ncc", 17, 17, 5, 0, 60, 1, 0.1, "none", "none");
- Hlong m_ImageWidth, m_ImageHeight, WindowHandle;
-
- //GetImagePointer1(Image, &pointer, &Type, &m_ImageWidth, &m_ImageHeight);
- get_image_size(disp2, &m_ImageWidth, &m_ImageHeight);
- SetWindowAttr("background_color", "black");
- open_window(0, 0, m_ImageWidth, m_ImageHeight, 0, "", "", &WindowHandle);
- //OpenWindow(0,0,m_ImageWidth,m_ImageHeight,0,"","",this);
- set_part(WindowHandle, 0, 0, m_ImageWidth, m_ImageHeight);
- disp_obj(disp2, WindowHandle);
复制代码
爷爷们帮帮忙,这对我很重要!给跪了。
|