Professional Documents
Culture Documents
http://www.lisperati.com/haskell/hello_world.png
www.uralvision.blogspot.com perevalovds@gmail.com
USU / IMM Fall 2011
1. Creating a Project
Assume that OpenCV2.1 is already installed.
1. Run VS2008
2. In Project1.cpp:
# Include "stdafx.h"
# Include "cv.h"
# Include "highgui.h"
using namespace cv;
The program will show the image and exit by pressing any key.
3. Linear operations on images
replace the text in the main from the previous example to:
waitKey (0);
return 0;
}
5. Work with rectangular subdomains
image
replace the text in the main from the previous example to:
waitKey (0);
return 0;
}
Homework