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 toge开发者_如何学Gother 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.
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 :
- Interest point detection
- Correlation matching
- Robust homography estimation
- 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.
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
This is used by GIMP as well http://stitchpanorama.sourceforge.net/
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:
This looks promising:
https://sourceforge.net/projects/panotools/
精彩评论