OpenCV中有多种选取区域的方法,罗列在表中。使用方法如下,其中比较值得注意的是乘法和除法。
此外,它还有更多的功能
稀疏矩阵
The cv::SparseMat class is used when an array is likely to be very large compared to SparseMat(稀疏矩阵)在一个矩阵的绝大部分都非零的时候使用。
第四章The cv::Mat Class: N-Dimensional Dense Arrays
Mat n维稠密阵列
The cv::Mat class can be used for arrays of any number of dimensions. The data is mat可以作为任意维的数组。