I saved a large matrix in OpenCV using simply std::ofstream, like so:
Mat someData;
std::ofstream fout("someFile");
fout << someData;
It stores the whole matrix in a file with ,
as the column separator and ;
as the row separator.
Is it possible to extract this data back into an OpenCV matrix again? How? Trying to do the converse with std::ifstream
throws a "cannot bind" error.
Speed/efficiency/elegance is not a concern.