By Sathvik Acharya
A comprehensive guide to stacking astrophotography images using Siril, a powerful and free software for astronomical image processing.
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/
Here are the steps for installation on different platforms:
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.
This section describes how to organize image files for stacking in Siril.
Before you begin processing your astrophotography images in Siril, it's essential to organize your files properly.
lights, darks, biases, and flats.
Lights:
Place all your raw images of the object (the ones you plan to stack) in the lights folder.Darks:
Place your dark frame images here to account for sensor noise.Biases:
Add your bias frames in this folder to correct for readout noise.Flats:
Store flat field images to correct for vignetting or dust on your sensor.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:
Now, Siril is set to work with the images in the specified directory. You can verify this by checking the top-left corner of the Siril window, where the current working directory is displayed.
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.
The final stacked image will be named result.fit and saved in FITS format.
6. Select result.fit and click Open at the bottom to load the image.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.
In Histogram View, you can see the distribution of pixel values in the image. This view is useful for adjusting brightness and contrast levels.
Background extraction is a crucial step in astrophotography image processing. It helps to remove unwanted background noise or variations from your images, allowing the celestial objects to stand out more clearly. In this section, we'll go through the steps to perform background extraction in Siril.
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.
After applying the background extraction, you will notice a significant improvement in the image quality. The background noise and variations will be reduced, allowing the celestial objects to stand out more clearly.
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.
Green noise is a common issue in astrophotography images, especially when using certain cameras or sensors. It appears as a greenish tint or color cast in the image, which can detract from the overall quality and accuracy of the final result. Removing green noise is essential to achieve a more balanced and natural-looking image.
Cleaner and more balanced image after removing the green noise.
Stretching the image is a crucial step in astrophotography image processing. It enhances the visibility of faint details and colors in your stacked image, making it more visually appealing. In this section, we'll go through the steps to stretch your image effectively.
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.
4. Click on the Save or Download option in the top right corner to save the final result image.
5. When saving the image, you can select from different file formats to suit your needs.
6. Save to download the final image.
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.