No edit summary
No edit summary
Line 17: Line 17:
* Sum Stacking
* Sum Stacking
This is the simplest algorithm: each pixel in the stack is summed, using 32-bit precision, and the result is normalized to 16-bit. The increase in signal-to-noise ratio (SNR) is proportional to <math>\sqrt{N}</math>, where N is the number of images.
This is the simplest algorithm: each pixel in the stack is summed, using 32-bit precision, and the result is normalized to 16-bit. The increase in signal-to-noise ratio (SNR) is proportional to <math>\sqrt{N}</math>, where N is the number of images.
* Average Stacking With Rejection
* Average Stacking With Rejection
** Sigma Clipping: Sigma Clipping is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units.
** Sigma Clipping: Sigma Clipping is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units.
** Median Sigma Clipping: Median Sigma Clipping is the same algorithm except than the rejected pixels are replaced by the median value.
** Median Sigma Clipping: Median Sigma Clipping is the same algorithm except than the rejected pixels are replaced by the median value.
** Winsorized Sigma Clipping: Winsorized Sigma Clipping is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work [1] [2].
** Winsorized Sigma Clipping: Winsorized Sigma Clipping is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work [1] [2].
** Linear Fit Clipping: Linear FIt Clipping is an algorithm developed by Juan Conejero, main developer of PixInsight [2].
** Linear Fit Clipping: Linear FIt Clipping is an algorithm developed by Juan Conejero, main developer of PixInsight [2]. It fits the best straight line (<math>y=ax+b</math>) of the pixel stack and rejects outliers. This algorithm performs very well with large stack and images containing sky gradients with differing spatial distributions and orientations.


<!--T:5-->
These algorithms are very efficient to remove satellite/Plane tracks.
These algorithms are very efficient to remove satellite/Plane tracks.


<!--T:6-->
* Median Stacking
* Median Stacking
This method is mostly used for dark/flat/offset stacking.
This method is mostly used for dark/flat/offset stacking.
Line 34: Line 35:
Pixels of the image are replaced by pixels at the same coordinates if intensity is greater.
Pixels of the image are replaced by pixels at the same coordinates if intensity is greater.


<!--T:7-->
In the case of M8-M20 sequence, we have simply clicked on "Sum Stacking".
In the case of M8-M20 sequence, we have simply clicked on "Sum Stacking".


<!--T:5-->
<!--T:8-->
[[File:Siril stacking screen.png]]
[[File:Siril stacking screen.png]]


<!--T:6-->
<!--T:9-->
After that, the result is saved in the file named below the buttons, and is displayed in the grey and colour windows. You can adjust levels if you want to see it better, or use the different display mode. In our example the file is the stack result of the 80% best files, i.e., 96 over 119 files.
After that, the result is saved in the file named below the buttons, and is displayed in the grey and colour windows. You can adjust levels if you want to see it better, or use the different display mode. In our example the file is the stack result of the 80% best files, i.e., 96 over 119 files.


<!--T:7-->
<!--T:10-->
[[File:Siril stacking result.png|700px]]
[[File:Siril stacking result.png|700px]]


<!--T:8-->
<!--T:11-->
[[File:Siril inal_result.png|700px]]
[[File:Siril inal_result.png|700px]]


<!--T:9-->
<!--T:12-->
The images above shows you the result displayed in Siril with the Histogram Equalization tool. Note the improvement of the signal-to-noise ratio regarding the result given for one frame in the previous [[Siril:Tutorial_preprocessing|step]] (take a look to the sigma value).
The images above shows you the result displayed in Siril with the Histogram Equalization tool. Note the improvement of the signal-to-noise ratio regarding the result given for one frame in the previous [[Siril:Tutorial_preprocessing|step]] (take a look to the sigma value).
Now should start the process of the image with crop, background extraction (to remove gradient), and some other processes to enhance your image. To see processes available in Siril please visit this [[Siril:Manual|page]].
Now should start the process of the image with crop, background extraction (to remove gradient), and some other processes to enhance your image. To see processes available in Siril please visit this [[Siril:Manual|page]].


<!--T:10-->
<!--T:13-->
[[File:Siril_Comparison_sigma.png|700px]]
[[File:Siril_Comparison_sigma.png|700px]]


<!--T:11-->
<!--T:14-->
Here, comparison between the same crop of calibrated single frame and stacked result.
Here, comparison between the same crop of calibrated single frame and stacked result.


<!--T:12-->
<!--T:15-->
[[File:Siril_Comparison.png|700px]]
[[File:Siril_Comparison.png|700px]]


<!--T:13-->
<!--T:16-->
[1]: Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley
 
<!--T:17-->
[2]: Juan Conejero, ImageIntegration, Pixinsight Tutorial
 
<!--T:18-->
End of the [[Siril:Manual#Tutorial_for_a_complete_sequence_processing|processing tutorial]]. Return to the [[Siril:Manual|main documentation page]] for more illustrated tutorials.
End of the [[Siril:Manual#Tutorial_for_a_complete_sequence_processing|processing tutorial]]. Return to the [[Siril:Manual|main documentation page]] for more illustrated tutorials.


</translate>
</translate>

Revision as of 08:37, 22 October 2014

Siril processing tutorial

Stacking

The final thing to do with Siril is to stack the images. Go to the "stacking" tab, indicate if you want to stack all images, only selected images or the best images regarding the value of FWHM previously computed. Siril proposes several algorithms for stacking computation.

  • Sum Stacking

This is the simplest algorithm: each pixel in the stack is summed, using 32-bit precision, and the result is normalized to 16-bit. The increase in signal-to-noise ratio (SNR) is proportional to [math]\displaystyle{ \sqrt{N} }[/math], where N is the number of images.

  • Average Stacking With Rejection
    • Sigma Clipping: Sigma Clipping is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units.
    • Median Sigma Clipping: Median Sigma Clipping is the same algorithm except than the rejected pixels are replaced by the median value.
    • Winsorized Sigma Clipping: Winsorized Sigma Clipping is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work [1] [2].
    • Linear Fit Clipping: Linear FIt Clipping is an algorithm developed by Juan Conejero, main developer of PixInsight [2]. It fits the best straight line ([math]\displaystyle{ y=ax+b }[/math]) of the pixel stack and rejects outliers. This algorithm performs very well with large stack and images containing sky gradients with differing spatial distributions and orientations.

These algorithms are very efficient to remove satellite/Plane tracks.

  • Median Stacking

This method is mostly used for dark/flat/offset stacking. The median value of the pixels in the stack is computed for each pixel. As this method should only be used for dark/flat/offset stacking, it does not take into account shifts computed during registration.

  • Pixel Maximum Stacking

This algorithm is mainly used to construct long exposure star-trails images. Pixels of the image are replaced by pixels at the same coordinates if intensity is greater.

In the case of M8-M20 sequence, we have simply clicked on "Sum Stacking".

After that, the result is saved in the file named below the buttons, and is displayed in the grey and colour windows. You can adjust levels if you want to see it better, or use the different display mode. In our example the file is the stack result of the 80% best files, i.e., 96 over 119 files.

The images above shows you the result displayed in Siril with the Histogram Equalization tool. Note the improvement of the signal-to-noise ratio regarding the result given for one frame in the previous step (take a look to the sigma value). Now should start the process of the image with crop, background extraction (to remove gradient), and some other processes to enhance your image. To see processes available in Siril please visit this page.

Here, comparison between the same crop of calibrated single frame and stacked result.

[1]: Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley

[2]: Juan Conejero, ImageIntegration, Pixinsight Tutorial

End of the processing tutorial. Return to the main documentation page for more illustrated tutorials.