Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能帮我编写代码以cvMat在 OpenCV 的窗口中显示数据结构类型的图像。该函数cvShowImage()适用于类型IplImage,也不适用于cvMat类型。
cvMat
cvShowImage()
IplImage
这很简单:
// Open the window cv::namedWindow("foo"); // Display the image m in this window cv::imshow("foo", m);