Photo stitching/panorama API/DLL/Library anyone?

2019-03-08 21:08发布

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.

5条回答
来,给爷笑一个
2楼-- · 2019-03-08 21:33

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:

enter image description here

查看更多
趁早两清
3楼-- · 2019-03-08 21:46
混吃等死
4楼-- · 2019-03-08 21:46
看我几分像从前
5楼-- · 2019-03-08 21:55

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.

查看更多
老娘就宠你
6楼-- · 2019-03-08 21:59

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

查看更多
登录 后发表回答