IplImage* S_change_out; Mat matimg; matimg=cvarrToMat(S_change_out); 转载于:https://www.cnblogs.com/waimen/p/7895831.html