Processing Images with Starry Landscape Stacker

 Version 1.9 and Later

Processing images with Starry Landscape Stacker proceeds in four main steps: 

Opening Images and Finding Stars

There are several ways to open image files Starry Landscape Stacker. 

There are four types of files that can be supplied to Starry Landscape Stacker. Only light frames are required.

No matter how you are selecting your files, select all the files that you want to process into a single image. Starry Landscape Stacker automatically recognizes light frames, dark frames, flat-field frames and masks. If Starry Landscape Stacker is uncertain about the frame types for the files it has read or if there is a problem with the numbers of frames of each type, it will present a table showing all the frames that it read, along with the type of the frame it thinks each frame is, and allow the user to make corrections (see Frame Classification Panel). 

Here are some suggestions on how to organize your files to make them easier to manage.

Editing the Red Dots

After Starry Landscape Stacker reads all the images, it computes the mean of the images to display to the user. If the user supplied a mask, it will jump to the last step, Aligning and Saving. Otherwise it will attempt to find stars in the image as a first step in making a mask for the sky. It will place a red dot at each star it finds.

Sometimes the red dots will thoroughly cover the sky, and nothing else. More often, some minor editing will be needed. You can both paint in more red dots in parts of the sky that are empty and erase red dots if they appear on the ground. You you can vary the opacity of the overlay that shows the red dots to make them more or less visible and vary the brightness and contrast of the image to help you see where the boundary between sky and ground is.

It is common that bright points in the foreground will be mistaken for stars. Red dots in the foreground must be erased. Similarly there may be areas in the sky with no red dots because of fog, cloud, bright horizon due to light pollution or sunset. It may be necessary to paint in some red dots in the sky near the horizon to hint to Starry Landscape Stacker that this region is sky even if there are no obvious stars. In general, the red dots are hints about where the sky is, they should be in the sky and not in the ground. 

Occasionally the automatic placement of the red dots will be of no value. This happens when the the foreground is very bright and there are few visible stars—think of a night cityscape shot, for example. When this happens, it is best to click the button that toggles between starting with “automatic dots” and “no dots”. Starting with “no dots”, loosely draw a row of dots near the horizon, up the sides and across the top. You do not have to draw any dots in the middle of the sky. You can draw the dots up the sides and across the top by clicking where you want to begin a row of dots, and then hold shift while clicking to draw a line of closely spaced of dots from the first click to the shift-click. With a click at one end of the horizong, followed by three quick shift-clicks (top corner, other top corner, other end of horizon), you can outline the entire sky. You can also shift-click while erasing to erase a straight line which is the width of the current eraser. 

Making the Sky Mask

When you are satisfied that the red dots are a good hint at where the sky is, click on “Find Sky”.

Starry Landscape Stacker starts from the red dots and tries to generate a mask for the sky. The mask is shown as a blue overlay over the image. The goal is to have all of the sky that contains stars be masked in blue, and none of the ground masked in blue. If there are dark areas that you cannot be sure if they are sky or ground, it is best to leave them not masked. Sometimes Starry Landscape Stacker will get the mask right, but usually some minor cleanup is need. There are tools to paint and erase the mask and to zoom in to work on details. Sometimes there will be small areas of sky missed along the edges, in the corners, and in dense areas of stars. These areas can be quickly filled in with a large brush.

If your foreground has trees or other objects where you can see stars through gaps in the objects try clicking the button that is alternately named “mask without islands of sky” and “mask with islands of sky”. The option “mask with islands of sky” attempts to find areas that are similar to the sky but separated from it. This can automatically fill in small areas of sky separated by branches and other things. The default is with islands of sky. You may have to select “without islands of sky” if there is something in your foreground that is being mistaken for sky. I have seen this happen with dark rock walls. Even with this option set to “with islands of sky” it may be necessary to carefully paint small areas of sky around the stars and be sure that all of the trees limbs or other objects are not masked. This can be time consuming. To save time, do not paint every bit of sky with the sky mask—it is only necessary to paint the sky mask over visible stars. Areas of sky with no visible stars do not need to be masked.

There are controls to zoom in and to vary the opacity of the mask and to hide/show the mask. You can also vary the brightness and contrast of the image. These may help when working on difficult details.

It is best not to have the mask touching tree limbs or the horizon. You want a few pixels between the ground and the mask, otherwise there is a risk of some annoying artifacts in the stacked image from atmospheric effects or small movements of tree limbs moving something that should be foreground into the edge of the sky. Having a small gap between the mask and the foreground is far better than having no gap. The generated mask may be useful for replacing the foreground with a single long exposure. You can export the mask and use it in Photoshop or Affinity Photo to composite in the foreground exposure. But the mask SLS generates is optimized for aligning and stacking. For blending in the foreground you will probably want to enlarge the mask slightly into the foreground and soften the edge slightly. Photoshop has tools for making these changes to masks. I assume all other app will have tools to make these changes as well.

When you are satisfied with the mask click on the button “Align and Composite”. 

Selecting the Composition Algorithm and Saving

The process of aligning and compositing is automatic. When it is done, a composited image will be displayed. Now you can choose from 6 composition algorithms:

Version 1.9 

Min Horizon Noise Remove outliers, then take the 40th percentile of the remaining values. At the horizon minimize noise at the risk of duplicating stars. This is the default and works very well in many cases. It might not be the best choice if there are bright stars near the horizon, as the stars may be duplicated or appear as streaks.

Min Horizon Star Dupe Remove outliers, then take the 40th percentile of the remaining values. At the horizon avoid duplication of stars at the risk of increasing noise. Use this option only if you get duplication of stars with Min Horizon Noise. Also consider saving the results of this and Min Horizon Noise and blend the two using the results of Min Horizon Star Dupe only where it is needed to avoid duplication of stars.

Mean Min Hor Noise Remove outliers, then take the mean (average) of the remaining values. At the horizon minimize noise at the risk of duplicating stars. The result for this algorithm should be similar to Min Horizon Noise, but it will be slightly brighter, and, if there are few images, it may be slightly noisier.

Mean Min Hor Star Dupe Remove outliers, then take the mean (average) of the remaining values. At the horizon avoid duplication of stars at the risk of increasing noise. The result for this algorithm should be similar to Min Horizon Star Dupe, but it will be slightly brighter, and, if there are few images, it may be slightly noisier.

Max Take the maximum value at each pixel. This is useful when you want to preserve transient lights in the sky like meteors, airplanes and satellites. See the video Meteors and Satellites in Stacked Images.

Min Take the minimum value at each pixel.

Version 1.10

Min Horizon Noise Remove outliers, then take the mean of the 50% of the remaining values centered on the 40th percentile.  At the horizon minimize noise at the risk of duplicating or supressing stars. This is the default and works very well in many cases. It might not be the best choice if there are bright stars near the horizon, as the stars may be duplicated or appear as streaks.

Max Horizon Accuracy Remove outliers, then take the mean of the 50% of the remaining values centered on the 40th percentile. At the horizon avoid duplication of stars at the risk of increasing noise. Use this option only if you get duplication or suppression of stars with Min Horizon Noise. Also consider saving the results of this and Min Horizon Noise and blend the two using the results of Min Horizon Star Dupe only where it is needed to avoid duplication or suppression of stars.

Mean Min Hor Noise Remove outliers, then take the mean (average) of the remaining values. At the horizon minimize noise at the risk of duplicating stars. The result for this algorithm should be similar to Min Horizon Noise, but it will be slightly brighter, and, if there are few images, it may be slightly noisier.

Mean Max Hor Accuracy Remove outliers, then take the mean (average) of the remaining values. At the horizon avoid duplication or suppression of stars at the risk of increasing noise. The result for this algorithm should be similar to Min Horizon Noise, but it will be slightly brighter, and, if there are few images, it may be slightly noisier.

Max Take the maximum value at each pixel. This is useful when you want to preserve transient lights in the sky like meteors, airplanes and satellites. See the video Meteors and Satellites in Stacked Images.

Min Take the minimum value at each pixel.


When you select one of the composition algorithms, you are shown the result produced with that algorithm. You can save that result by clicking on the Save button or with ⌘ S. There is a check box that you can check to also save a copy of the result with the mask if you think you will need it to process the images again, or if you think the mask will be useful in post processing. If you want, you can select a different algorithm and save the result of it as well. For example, if you are trying to show a meteor in the sky you will usually save the result from Min Horizon Noise and Max and blend the two in an image processing application like Photoshop. 

Usually you will finish processing the TIFF files generated by Starry Landscape Stacker with an image processing tool such as Lightroom, Photoshop or Affinity Photo.

Align With (Optional)

By default Starry Landscape Stacker will align all the images with the image that is closest to the mid-point in time between the first image and the last image. You can align to a specific image. You might want to do this because in one of your images a bright star or planet is lined up with some point in the foreground. Also, if one of your images has a bright meteor in it you should probably align to that image to avoid adding minor artifacts from shifting the image with the meteor to align it with some other image. 

You can open the control “Align With” by clicking on it. It tells you the name of the image that the other images will be aligned with. Use the menu of images at the bottom of the viewing controls, or the Prev and Next buttons, or the forward and back arrow keys on the keyboard to change the display to the image you want to align to. Then click the button “Align to current image”. If you align to an image near the beginning or end of the images, the time to align will increase and the quality of the alignment might be slightly worse than normal.

Exclude Images (Optional)

If you want, you can exclude individual images from the composition. You can open the “Exclude Images” control by clicking on it. To include or exclude a specific image, first make it the current image using the menu of images at the bottom of the the viewing controls, or the Prev and Next buttons, or the forward and back arrow keys on the keyboard. Then you can use the buttons to include or exclude the current image. You can hold the option (or alt) key down and the buttons change to Exclude All and Include All. This is a quick way to include or exclude all images before making changes to individual images.

Last updated Dec, 2023.