#include "highgui.h" int main(int argc, char* argv[]) { IplImage* src = cvLoadImage("E:\\Tony_Parker.jpg" , 0); cvNamedWindow("show_image"); cvShowImage("show_image",src); cvWaitKey(0); cvReleaseImage(&src); cvDestroyWindow("show_image"); return 0; }