Hi,
PixelMath is the tool of choice to perform this task in PixInsight. For example, say you have three narrowband images: Ha, O3 and S2. The first thing you have to do is deciding the palette you want to use. If you are going to use the Hubble palette then the process is straightforward: you just have to map S2 to red, Ha to green and O3 to blue. Do the following:
- Open your three narrowband frames. All the images must be co-registered and should have the same dimensions. StarAlignment is the tool of choice to register all kind of deep-sky images in PixInsight.
- Set image identifiers. Bring the Ha image to front, select Image > Identifier and type Ha as the new identifier, then click OK. Do the same for the other two frames to set their identifiers to S2 and O3, respectively. Note that instead of selecting Image > Identifier you can also double click the vertical tab at the left edge of each image window.
- Open the PixelMath tool (from ProcessExplorer for example).
- Disable the "Use a single RGB/K expression" option.
- Enter the following expressions, respectively for the R, G and B slots:
S2
Ha
O3
- Disable the "Rescale result" option.
- Open the Destination section of PixelMath and select:
* Create a new image
* Color space = RGB Color
* Sample format = 32-bit floating point (this is optional, but advisable)
- Now execute PixelMath on one of the images (it doesn't matter which one because we are going to create a new image). Drag the blue triangle to the image and wait a few seconds.
This will generate a combined RGB image with a pure Hubble palette. Personally, I don't like the Hubble palette for aesthetical reasons. A palette that mixes S2 and Ha for red and renders O3 as cyan has given me very good results with many images. For example:
0.5*S2 + 0.5*Ha
0.15*Ha + 0.85*O3
O3
where the different factors must be fine tuned for each particular case. In general (unless one of the frames is very weak), the sum of factors for each channel must be one; otherwise you'll be saturating bright regions. By mixing channels in this way, you can implement quite sophisticated compositions.
I hope this will give you enough guidelines for narrowband compositions with PixelMath. There are other ways to use PixelMath for this task. For example, instead of creating a new image you can work on a previously generated RGB image, where you can define previews for fast trial-error work. Then there are other techniques for RGB+NB compositions, which can also be implemented with this tool. But let's see one thing at a time.