Skip to content

Instantly share code, notes, and snippets.

@NewProggie
Created March 22, 2014 22:12
Show Gist options
  • Save NewProggie/9715241 to your computer and use it in GitHub Desktop.
Save NewProggie/9715241 to your computer and use it in GitHub Desktop.
cv::FileStorage fs("viff.xml", cv::FileStorage::READ);
for (int i=0; i<36; i++) {
std::stringstream smat;
cv::Mat P;
smat << "viff" << std::setfill('0') << std::setw(3) << i << "_matrix";
fs[smat.str()] >> P;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment