OpenCVの復習が必要になったのでメモしておきます。 // 画像を読み込む UMat source1; imread("scene1.jpg", CV_LOAD_IMAGE_COLOR).copyTo(source1); if (source1.empty()) { throw runtime_error("Failed to open image"); } UMat source2; imread("scene2.jpg", CV_LOAD_IMAGE_COLOR).copyTo(source2); if (source2.empty()) { throw runtime_error("Failed to open image"); } vector<UMat> sources; sources.push_back(source1); sources.push_back(source2
![【OpenCV】 パノラマ画像を作成する - 旅行好きなソフトエンジニアの備忘録](https://cdn-ak-scissors.b.st-hatena.com/image/square/684a613710787e5b6e89c92efe2d5dd1f1b346c2/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fn%2Fni4muraano%2F20170117%2F20170117183405.jpg)