Siril features a powerful layer compositing tool. It was initially created to compose RGB and LRGB images from 3 or 4 one-layer images, but it is now being modified to allow any number of layer of any colour to be composited.
Siril color compositing tool
Main features:
- Load any single-channel image with a format supported by Siril
- Any colour can be associated with a layer, using either a pre-defined palette, a user-defined colour, or a wavelength from a filter list or a text field for true-colour compositions
- Luminance-based (like LRGB) or colour-based (like RGB) compositions
- Handling binned images for any layer
- Automatic alignment of the layers' images, using Siril registration methods (currently FWHM or DFT)
- Soon: any number of layers, for now fixed to 3 colours
Image with different sizes or binned
Images of different size can be composited, which is often required with LRGB when the L image is very detailed and RGB images are binned to acquire faster. To handle the different image sizes, Siril resizes the smaller images to the size of the largest image, using a Lanczos resampling with OpenCV.
True colour images
The composition tool includes a method that converts a wavelength in the atmosphere to a colour. It is based on the Bruton method, described here. The approach is empirical, there is not only one mapping between a wavelength and an RGB colour. This graph gives an idea of how it's done: