Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

2D Array of Mat variables

Hi there, I am going to define my new class and my new class will have a public variable which is a 2D array of Mat. The main problem is that the dimensions of this array is not known in advanced, e.g. a class may need a 35 array and another class may need a 1012 array of Mat elements. How can I define such class? Any idea? I know that it should be fulfilled by pointers, but I failed to implement it so far |)