(Using mediawiki references and a few text fixes) |
|||

Line 16: | Line 16: | ||

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. | 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 | * Sum Stacking | ||

− | This is the simplest algorithm: each pixel in the stack is summed | + | 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: this is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units (<math>\sigma_{low}</math>, <math>\sigma_{high}</math>). |

− | ** Median Sigma Clipping: | + | ** Median Sigma Clipping: this is the same algorithm except than the rejected pixels are replaced by the median value of the stack. |

− | ** Winsorized Sigma Clipping: | + | ** Winsorized Sigma Clipping: this is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work <ref>Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley</ref> <ref name="Juan">Juan Conejero, ImageIntegration, Pixinsight Tutorial</ref>. |

− | ** Linear Fit Clipping: | + | ** Linear Fit Clipping: this is an algorithm developed by Juan Conejero, main developer of PixInsight <ref name="Juan" />. 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 stacks and images containing sky gradients with differing spatial distributions and orientations. |

<!--T:5--> | <!--T:5--> | ||

Line 51: | Line 51: | ||

<!--T:12--> | <!--T:12--> | ||

− | The images above | + | The images above picture the result in Siril using the Histogram Equalization rendering mode. 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 increase in SNR is of <math>38/3.9 = 9.7 \approx \sqrt{119} = 10.9</math> |

<!--T:13--> | <!--T:13--> | ||

Line 64: | Line 64: | ||

<!--T:16--> | <!--T:16--> | ||

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]]. | ||

− | Here an example of what you can get with Siril : | + | Here an example of what you can get with Siril: |

[[File:Siril_M8-M20_processed.png|700px]] | [[File:Siril_M8-M20_processed.png|700px]] | ||

<!--T:17--> | <!--T:17--> | ||

− | + | </references> | |

− | |||

− | < | ||

− | |||

<!--T:19--> | <!--T:19--> |

## Revision as of 01:40, 28 October 2014

# Siril processing tutorial

- Convert your images in the FITS format Siril uses (image import)
- Work on a sequence of converted images
- Pre-processing images
- Registration (PSF image alignment)
- →
**Stacking**

## 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]\sqrt{N}[/math], where N is the number of images.

- Average Stacking With Rejection
- Sigma Clipping: this is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units ([math]\sigma_{low}[/math], [math]\sigma_{high}[/math]).
- Median Sigma Clipping: this is the same algorithm except than the rejected pixels are replaced by the median value of the stack.
- Winsorized Sigma Clipping: this is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work
^{[1]}^{[2]}. - Linear Fit Clipping: this 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 stacks 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. The increase in SNR is proportional to [math]0.8\sqrt{N}[/math].

- 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 used on "Winsorized Sigma Clipping Stacking" in "Average stacking with rejection" to remove satellite tracks ([math]\sigma_{low}=4[/math] and [math]\sigma_{high}=2[/math]).

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 all files, i.e., 119 files.

The images above picture the result in Siril using the Histogram Equalization rendering mode. 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). The increase in SNR is of [math]38/3.9 = 9.7 \approx \sqrt{119} = 10.9[/math]

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

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 an example of what you can get with Siril:

</references>

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

- ↑ Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley
- ↑
^{2.0}^{2.1}Juan Conejero, ImageIntegration, Pixinsight Tutorial