My opencv is opencv4.2, and I get this problem: IplImage z_ipl = z; conversion from ‘cv::Mat’ to non-scalar type ‘IplImage {aka _IplImage}’ requested How can I solve this problem. Thanks a lot.