我想使用下面的代码保存 IplImage(不是 IplImage*)
IplImage ipl_from_mat((IplImage)imgDisparity8U);
cvNamedWindow("window", CV_WINDOW_AUTOSIZE);
variable when you need it as IplImage*
cvShowImage("window", &ipl_from_mat);
cvSaveImage("disparity.jpg",ipl_from_mat);//Problem with this line
但似乎不可能。请帮我。
感谢和问候索姆