fixedsize问题,并使用std :: vector而不是cv :: Mat

时间:2019-07-23 20:03:53

标签: c++ opencv image-processing stdvector geotagging

我有一个项目,我想用视频制作一张大地图。 就像无人机映射器。

当我要创建cv :: Mat并逐帧添加滑块值时。我收到fixedsize错误。

所以我想使用向量。

但是我需要了解一下如何将数据包含在vector中并用它们制作png? 我想将此图像叠加到Google Earth上。

我的参数:

Cv::Mat frame -> frame image
int x_slider -> changing x value frame by frame (this is calculated correctly in each frame)
int y_slider -> changing y value frame by frame (this is calculated correctly in each frame)
int x_latitude -> world map coordinates 
int y_longtitude -> world map coordinates 
int altitude -> altitude from ground

我应该如何开始? 我认为这并不难,因为我已经有了一些有用的参数。

我需要一些建议。

0 个答案:

没有答案