Articles to help you discover the wonders of the Universe

How To Align and Stack Images in Photoshop

By on in Projects

585 words, estimated reading time 3 minutes.

Align and Stack images in Photoshop or similar graphics package, allows multiple photos to be combined and has the effect of increasing signal, while reducing noise.

In astrophotography, we need to capture as much light as possible. With film, this is achieved by long exposure settings, but to use long exposures on a digital SLR will create large amounts of noise as the chip gets hot quickly. Because of this, most digital cameras are very limiting with their exposure times. The longest seems to be around 30 sec. but the average is more like 15 sec.

The preferred method of capturing more light in digital astrophotography is multiple exposures. This involves taking a series of 10-15 second exposures and 'stacking' them one on top of each other. This is a quite beginners guide which only makes use of the most basic features of Photoshop or Paint Shop Pro.

If you are photographing unguided (that is without the camera on a mount or piggyback on a telescope) you can only realistically take 10 or so 15-second exposures, otherwise, star trails form around Polaris. You can see this in the top area of my final image. If you are on an equatorial mount then this is not a problem, and depending on how good the tracking is you may not need to align your images.

First off, convert the image files to BMP or a similar uncompressed file format. This will prevent a loss of quality when we save the file. You can convert back to jpg when you have finished post processing. If you are shooting in RAW or TIFF then you can work from these, or a backup.

You may want to remove any light pollution in your images before you start this process.

Step 1

Align and Stack Images in Photoshop
Align and Stack Images in Photoshop

Load up the first image to process, in this example I am continuing to use my one of Orion. I have 9 other frames that have been processed for light pollution.

Step 2

Align and Stack Images in Photoshop
Align and Stack Images in Photoshop

Open each frame in sequence and copy it to clipboard then paste as new layer on the first image. When you are done you should have the first image with 9 layers + background. I have adjusted the opacity to show star trail movement.

Step 3

Align and Stack Images in Photoshop
Align and Stack Images in Photoshop

You should work on one layer at a time, hiding all layers not being worked on and keeping one base layer. Set the opacity of the working layer to around 50% so you can see stars on the layer and base then align one star over the other. Set the opacity back to 100% and toggle the layer visibility on/off and see if the star jumps. If it does, adjust the layer position as required until it no longer jumps around. It will probably wobble slightly due to atmospheric disturbance.

Step 4

Align and Stack Images in Photoshop
Align and Stack Images in Photoshop

When you have aligned all the layers, you have a choice of how to blend the images. You can use screen which will 'add' the light areas together making the image brighter, or you can leave it on normal to reduce noise in the image. You will need to adjust the each layer opacity. I usually go (from base to top most layer) 100%, 50%, 33%, 25%, 20%, 17%, 14%. This does depend on the number of layers you have and depending on the images I will set 1 or 2 of these layers to screen, the rest being normal.

Step 5

Align and Stack Images in Photoshop
Align and Stack Images in Photoshop

If the resulting image is too light, you can use the same technique for light pollution removal to alter the image. The final result will be far more impressive than a single exposure.

Last updated on: Tuesday 20th June 2017



Have a question or suggestion? Please leave a comment to start the discussion.



Just a quick question- once you have all the layers lined up and set the opacity to the different levels, how do you actually combine them? Do you do a File->Save As? Does that combine them? Or do you go somewhere else first to combine, then save? You mentioned the two different ways to blend them, but I didn't see a step to the actual process to do that. Sorry, just a complete noob to Photoshop!

Reply to Sam


This method of nudging the layers until they're aligned won't work for wide shots, as there will be noticeable rotation between the layers. Rotating them by hand especially when you're working with many layers is very tedious.
I've found that Photomerge in Photoshop does a good job of automatically aligning the images, and accounts for rotation. You may need to brighten the images before you merge them as sometimes Photomerge has a hard time aligning dark images. Or you may draw your own 'anchor' points on each image and then remove or crop them out later.

Also, when you change the opacity, instead of using (from base to top most layer) 100%, 90%, 80%, 60%, 40%, 20%, 15%, 5%', Try 100, 50, 33, 25, 20, 17, 14 etc. (100/N where N is which layer you're on and N=1 is the base/background)


Reply to check


Leave a Reply

Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Your email address will not be published.