I am new to C++ programming and OpenCV. I was going through this tutorial on Mat class in OpenCV. It says "each Mat object has its own header" and uses the term header many times. I was not sure what does header mean in this context?
I tried googling and found this page which says: "Mat is basically a class with two data parts: the matrix header (containing information such as the size of the matrix, the method used for storing, at which address is the matrix stored, and so on).........."
Now I understand what does size mean but I have two questions to clarify:
- What does "method used for storing" refer to? Which member in the Mat class denotes this?
- As for the address, does it correspond to "datastart" member in the Mat class?
Thanks!
As per the OpenCV documentation: