Astrophotography allows us to capture the beauty of the night sky, but due to long exposure times and low light conditions, a single image often contains noise and lacks detail. To overcome this, astrophotographers use a technique called image stacking. By combining multiple images of the same scene, we can enhance the signal-to-noise ratio and reveal more celestial details.
In this guide, I will walk you through the process of stacking your astrophotography images using Siril, a powerful, free software designed for astronomical image processing.
Siril stands out as a specialized software for astrophotography image stacking, offering a range of powerful tools tailored for high-quality astronomical image processing. Key functionalities include precise alignment and calibration tools that correct shifts and distortions from atmospheric and optical factors, delivering sharp, accurate stacks. Siril’s stacking algorithms effectively reduce noise-critical in low-light astrophotography-while preserving fine details, resulting in clear, vibrant images. Additionally, Siril provides background extraction, color calibration, and photometric color correction, enhancing the natural colors of celestial objects. The software also supports both automated workflows and manual controls, accommodating users from beginners to advanced. As a free, open-source tool, Siril is continually updated, making it a robust and accessible choice for astrophotography enthusiasts.
You can download and install Siril directly from the official website: https://siril.org/.
Linux Installation
For Ubuntu/Debian
sudo apt install siril
For Fedora
sudo dnf install siril
For Arch Linux
sudo pacman -S siril
To perform image stacking, you need a set of multiple images of the same celestial object or field. Ensure that these images are taken under similar conditions and with consistent settings to achieve optimal stacking results. The more images you have, the better the final result will be, as stacking helps to reduce noise and enhance details.
You can download practice images for astrophotography image stacking from the following sources to get hands-on experience:
These resources provide excellent data sets for practicing your image stacking and processing techniques.
Before you begin processing your astrophotography images in Siril, it's essential to organize your files properly.
Note: These directories are crucial because Siril's built-in scripts rely on them for executing the stacking process. If these directories are not properly created and filled with the corresponding images, the scripts won't run, and you'll encounter errors. By following this structure, you'll ensure a smooth stacking workflow.
By default, Siril might open with a different working directory than where your images are stored. To ensure that Siril can access your images and perform stacking correctly, follow these steps to change the working directory:
Note: We will be downloading the OSC_Preprocessing_WithoutDBF.ssf script, as we are working exclusively with light frames.
After downloading the script, place it in the following directory:
/This PC/Local Disk (C:)/Program Files/Siril/scripts/OSC_Preprocessing_WithoutDBF.ssf
Once the scripts are installed and placed in the correct directory, you're all set to begin the stacking process in Siril.
The final stacked image will be saved in the main directory named M31.
Note: Autostretch applies a temporary stretch to the image's data, making faint details more visible without permanently altering the raw data. This is useful for previewing your stacked image before performing any further post-processing.
Note: After applying Autostretch to the stacked image, you may notice green noise. This is common and can be corrected during further processing.
To begin post-processing, first crop the artifacts and noise around the edges, which are visible in the Histogram View.
After cropping, switch back to Autostretch view to enhance visibility, and then start the Background Extraction process.
Background extraction in Siril is a process that helps to remove unwanted background noise or variations from your astronomical images.
Note: Siril uses these samples to estimate the background intensity and gradients caused by factors like light pollution or sensor noise. After selecting the samples, Siril will subtract the estimated background model from your image, creating a cleaner and more uniform background.
Photometric color calibration is essential in astrophotography image stacking to correct color imbalances caused by factors like light pollution, sensor characteristics, and varying exposure conditions. In Siril, this process adjusts the colors of the stacked images to match the real-world color of celestial objects, ensuring accurate and natural-looking results. Siril achieves this by analyzing the color of stars and other objects in the image and adjusting the red, green, and blue channels to remove any unwanted color casts. This calibration is vital for creating scientifically accurate and visually consistent images, especially when stacking multiple frames with different color biases.
A window will appear where you need to enter the catalog number to match the coordinates of Right Ascension (RA) and Declination (Dec). If you're using a telescope, the coordinates will be automatically displayed. However, if you're shooting with a DSLR, the coordinate values will be set to zero by default.
To calibrate the images of M31 (The Andromeda Galaxy), the Catalog number is NGC 224.
You can choose from various catalogs, such as VizieR, SIMBAD, or CDS, to match the coordinates to the appropriate catalog entry.
Add the focal length and pixel size of your telescope to improve the calibration accuracy. These values help refine the photometric correction based on your equipment.
Once you've entered all the necessary information, click OK.
Cleaner and more balanced image after removing the green noise.
Here is the result of the final stacked image. You can further refine and enhance it using various photo editing softwares for additional adjustments and improvements.
Click on the Save or Download option in the top right corner to save the final result image.
When saving the image, you can select from different file formats to suit your needs.
This guide has walked you through the process of stacking astrophotography images in Siril.
Overall, Siril is an incredibly powerful tool for astrophotographers, offering a range of features that make complex tasks like image stacking and calibration much easier. Its support for automation through multiple scripts is a standout feature, saving you time and effort, especially when handling large numbers of images. However, achieving the best results will require some patience and practice as you master the workflow.
It’s important to note that this guide is designed for beginners using telescopes for astrophotography and does not cover more advanced techniques such as generalized hyperbolic stretch transformations, deconvolution, noise reduction, or advanced star processing tools like StarNet.
For those seeking deeper insight into these areas, I highly recommend checking out Deep Space Astro on YouTube, where they provide comprehensive tutorials on advanced image processing techniques.
The images used in this guide on image stacking in Siril have been sourced from Astropix and AstroBackyard. I acknowledge their invaluable contributions to this project by providing high-quality astrophotography resources.
For more details, visit Astropix and AstroBackyard.
If you have any questions or would like to get in touch, feel free to reach out to me:
You can also connect with me on social media: