Goal of computer vision is to write computer programs that can interpret images.
Geometric reconstruction: modeling, forensics,
special effects (ILM, RealVis)
• Image and video editing (Avid, Adobe)
• Scientific / medical applications (GE)
Tracking and surveillance (Sarnoff)
• Fingerprint recognition (Digital Persona)
• Biometrics / iris scans (Iridian Technologies)
• Vehicle safety (MobilEye)
• Optical motion capture (Vicon)
Vicon
OpenCV http://opencv.org/
C++, C, Python and Java interfaces
Windows, Linux, Mac OS, iOS and Android
HALCON http://www.halcon.com/
Easy programming in C++, C, C# or VB.NET
Available for Windows, Linux, Mac OS
http://git.oschina.net/easypr/EasyPR
https://marketplace.visualstudio.com/items?itemName=VisualCPPTeam.ImageWatch
Image Watch is a watch window for viewing in-memory bitmaps when debugging native C++ code. The current version (release notes)has built-in support for OpenCV image types (cv::Mat, cv::Mat_<>, CvMat, _IplImage). To enable user-defined image types please refer to the Image Watch documentation. |
Mat::Mat()
Mat::Mat(int rows, int cols, int type)
Mat::Mat(Size size, int type)
Mat::Mat(int rows, int cols, int type, const Scalar& s)
Mat::Mat(Size size, int type, const Scalar& s)
Mat::Mat(const Mat& m)
Mat::Mat(int rows, int cols, int type, void* data, size_t
step=AUTO_STEP)
Mat::Mat(Size size, int type, void* data, size_t step=AUTO_STEP)
Mat::Mat(const Mat& m, const Range& rowRange, const Range&
colRange)
Mat::Mat(const Mat& m, const Rect& roi)
全是浅copy
#include
#include
using namespace std;
using namespace cv;
void main()
{
Mat image = imread("book.jpg");
Mat imags;
Mat image2= image;
Mat M(3, 2, CV_8UC3, Scalar(0, 0, 225));
Rect rect(100, 100, 200, 200);
Mat roi = Mat(image, rect);
imshow("roi", roi);
imshow("books", image);
waitKey();
}