Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは非常に単純な質問ですが、Google や OpenCV のドキュメントで答えを見つけることができませんでした。の下部にベクトルまたはデフォルトの数値を含む行を挿入するにはどうすればよいですcv::Matか? 私は試した:
cv::Mat
std::vector<double> v = {0, 0, 1}; m.push_back(v);
これはコンパイルされますが、常にアサーション エラーが発生します。それを行う正しい方法は何ですか?