#include "stdafx.h" #include <cv.h> #include <cxcore.h> #include <highgui.h> int _tmain(int argc, _TCHAR* argv[]) { IplImage *img = cvLoadImage("Image.bmp"); cvNamedWindow("Image:", 1); cvShowImage("Image:", img); cvWaitKey(); cvDestroyWindow("Image: "); cvReleaseImage(&img); return 0; }
stdafx.h
#include "stdafx.h"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)