Photo stitching/panorama API/DLL/Library anyone?
Asked Answered
V

5

15

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.

Vaughan answered 2/12, 2010 at 13:50 Comment(1)
You can try this api: techcrunch.com/2012/08/10/dmd-panorama-apiKenric
L
10

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.

Lynnet answered 2/6, 2011 at 21:46 Comment(4)
Seems good but since my original post, we moved away from that solution (I'm in a R&D Department so things are moving fast!) But best solution so far, I'll mark you as the solution.Threemaster
Since that time, I had to use Accord.NET for something else and it's an amazing Library and it work really well for image stitching.Threemaster
thx for the update. You can answer your own question and accept it in order to help others with updated info.Lynnet
I only try the demo for image stitching so I did not dig and see all the possibilities since that was not what I was asked for, so I'll keep your answer as the best !Threemaster
J
3

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

Josettejosey answered 2/6, 2011 at 3:54 Comment(0)
P
3

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

Pascia answered 2/6, 2011 at 8:43 Comment(0)
A
3

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

Attorneyatlaw answered 18/9, 2013 at 13:53 Comment(4)
Just wanted to point out that this software has a 5,000 USD entrance feeElectrolysis
@Electrolysis 995 USD, the higher price is for full source codeAttorneyatlaw
Under which licence ?Prestidigitation
@Prestidigitation Depends on usage; use the contact form on the webpage.Attorneyatlaw
S
2

This looks promising:

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

Sibling answered 24/3, 2011 at 22:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.