Do you know any open source tool to automatically align images, similar to the auto align feature in Photoshop?
Alignment of multiple images taken from the same point
If you are not making a panorama, but just aligning an image stack for focus stacking, exposure fusion or HDR, then
For example, if your have 3 files
which will produce three TIFF images,
If you prefer the graphical interface, or you want to align only partially overlapping images (like in panoramas), then use Hugin itself, it is a very powerful and flexible software.
Alignment of stereo pairs
From your comments I see, that you want to create stereoscopic images. The keyword to search for is anaglyph, not align.
For this purpose I used Stereo Photo Maker, which is not open source, just a free Windows program. It runs well under
SPM can also optimize color anaglyphs to reduce ghosting, a very useful feature.
There are some scripts and tutorials for Gimp (e.g. anaglypher, script-fu-make-anaglyph, this short tutorial). It is relatively easy to build a monochrome anaglyph through layer effects and by moving a layer manually, it is not always working well for color anaglyphs.
Finally, there is
"Autostitch uses methods known as SIFT and RANSAC. This program differs from some other image stitching software in that it automatically stitches together even unaligned or zoomed photographs seamlessly without user input, whereas others often require the user to highlight matching areas for the photographs to merge properly. The only requirement is that all photographs be taken from a single point."
Free demo for Windows (which works seamlessly on Linux under Wine) is available, and I never needed another tool for stitching of pics.
As mattdm correctly wrote above (in comment), this is similar question: Recommendations for panorama creation/stitching tools and autostitch is also there one of the answers. I love (and prefer) it for two reasons: - simple installation (one exe file, nothing to install) - simple to use - choose input pics, choose size of output image, and other settings you do not need to set/change if you don't want to
So it's not exactly open source, but it is free (demo), simple and works fine both on Windows and Linux.