Convert IplImage to Mat
Change CV_WINDOW_NORMAL to WINDOW_NORMAL