add Qimage converts to IplImage