OpenCV Tutorial 摘抄
1.The idea is that each Mat object has its own header, however the matrix may be shared between two instance of them by having their matrix pointers point to the same address. Moreover, the copy operators will only copy the headers and the pointer to the large matrix, not the data itself. Mat B(A) C=A 2.Sometimes you will want to copy the matrix itself too, so OpenCV provides the cv::Mat::clone() and cv::Mat::copyTo() functions. Mat F = A.clone(); Mat G; A.copyTo(G); 3.OpenCV standard display system composes colors using the BGR color space 4. g ( x ) = α f ( x ) + β . The parameters α > 0 and