Hello,
I have a vector of the type "std::vector< std::vector< std::vector "<"uint16_t> > >" and data is stored in the following order: vector[col][channel][row].
I would like to create a vector of the type "std::vector"<"cv::Mat>>" in which a grayscale image of each channel is stored. Also, the Mat vector should point to the original data.
The original vector changes dynamically as new columns are appended and so the Mat vector should grow as well.
What is the best way to create, fill and extend the Mat vector?
Thank you very much!