OpenCV Exposure Compensator类的含义 [英] The meaning of OpenCV Exposure Compensator class

查看:1029
本文介绍了OpenCV Exposure Compensator类的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想使用Exposure Compensator class standalone。
有没有人知道输入参数后面的含义?

Hi I want to use Exposure Compensator class standalone. Does anyone knows the meaning following input arguments?

compensator->feed(corners, images, masks);

例如,当我拼接两张图片时,我有两个角落:

For example when I was stitching two images I got two corners:

角落#0:[ - 270,325]

Corner #0 : [-270, 325]

角落#1:[ - 86,327]

Corner #1 : [-86, 327]

左上角的conrner怎么可能是负值?是什么意思?

How can the top-left conrner be a negative value? What's the meaning?

谢谢!

推荐答案

最后我做到了明确。它只是BIG地图中图像的左上角。由于此类特别针对图像拼接,因此在注册后,扭曲的图像可以有不同的位置。

Finally I make it clear. It's just the top-left corner of the image in the BIG map. Since this class is especially for images stitching, after registration, the warped images can have different positions.

只需使用两个准备好的(扭曲的)图像,给两个角[0,0]就好了。

Simply use for two ready (warped) images, giving the two corners [0, 0] is just fine.

这篇关于OpenCV Exposure Compensator类的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆