对齐多张图片到一个形象呢? [英] Aligning multiple images into one image?

查看:140
本文介绍了对齐多张图片到一个形象呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是使图像组合在一起,可能有不同的旋转,曝光等,但有相同的背景或其他固定参考的好方法?

What is a good method to align images together that may have different rotations, exposures, etc, but have the same background or other fixed reference?

Adob​​e公司的Photoshop可以以其的Photomerge功能做到这一点。

Adobe Photoshop can do this with its "Photomerge" feature.

我怎样才能做到这一点编程?有没有办法,确实是一个开源应用程序?

How can I do this programatically? Is there an Open Source application that does it?

推荐答案

您要搜索图像拼接图像配准因为这些是,它的也被称为名称。这维基百科文章有一些有用的信息。但我只知道商业库,做到这一点,没有任何开放源代码的人的。

You want to search for image stitching or image registration as these are the names that it's also known by. This wikipedia article has some useful information. But I only know of commercial libraries that do it, not any open source ones.

该过程的基本轮廓(在商业库我所知道的)是这样的:

The basic outline of the process (in the commercial library I know of) is this:

  1. 首先,您必须指定的图像,即粗对准
    • 图像的一种,是图像B的左侧和它们由小于10%的重叠。
    • 在图像C为图像B的权利,他们10-20%等重叠
  1. Initially you have to specify the rough alignment of the images, i.e.
    • Image A is to the left of image B and they overlap by less that 10%.
    • Image C is to the right of image B and they overlap by 10-20% etc.

在第3步,你也可以考虑变形,如旋转和镜头畸变。但允许更改在彩色步骤2将需要更高级的(即不只是基于所述灰度像素级)。

In step 3 you can also take account of distortion such as rotation and lens distortion. But to allow for changes in colour step 2 would need to be more advanced (i.e. not just based on the greyscale pixel level).

这里有一个功能要求添加此功能上与 AForge库,但目前它没有这样做,我不知道目前的状态。

There's an feature request to add this functionality to the AForge library, but at the moment it's not been done and I don't know the current status.

这篇关于对齐多张图片到一个形象呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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