Photo stitching/panorama API/DLL/Library anyone?

笑着哭i 提交于 2019-12-20 08:50:42

问题


For a special project, I need to find an API/DLL/Library to help me create a big image using parts of this image. For example, if someone take 4 pictures representing the 360 degrees around him, he will be able to create one big image (panorama) by stitching the 4 images together using special algorithm that recognize some patterns.

I know how to do this in Photoshop and I know there are a lot of programs that to this on the internet. But I want one that will be controlled by programming. This can be in C, C++, or .NET. If you have something in another language, you can tell answer too, I may consider to write a wrapper.


回答1:


I was looking for the same thing and I've found this.
It is a .net framework that can manipulate images. It can stitch together 2 images using 4 steps :

  1. Interest point detection
  2. Correlation matching
  3. Robust homography estimation
  4. Gradient blending

The demo covers only the stitching of 2 pictures at a time, but the code can be modified to stitch more pictures into one.
It is easy to use and it is open source.




回答2:


As far as i know Hugin is best which comes with source for both mac and windows

http://hugin.sourceforge.net/

It's using one of the best stitching algorithm which many industry big names in this field use it

Also Take a look at GIMP

and pano12 from panotools which is core of ptstitcher

And

For preview your pano files use devalvr

http://www.devalvr.com/

u can extract installer and use ocx within installer it's fastest for stand-alone projects with many parameters , commands , methods , etc




回答3:


This is used by GIMP as well http://stitchpanorama.sourceforge.net/




回答4:


SharpStitch is an image alignment and stitching library for .NET:

http://imagingshop.com/sharpstitch

It can create panoramic mosaics as well.

The library can do automatic stitching in a simple command or or perform one of the specific tasks (feature detection, feature matching, bundle adjustment / optimization, blending and rendering)

We as authors are open to add new features and improvements upon user's request. We are also developing GUI tools such as panorama viewer (using WPF).

Here is an a typical output of SharpStitch library:




回答5:


This looks promising:

https://sourceforge.net/projects/panotools/



来源:https://stackoverflow.com/questions/4335689/photo-stitching-panorama-api-dll-library-anyone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!