Page 1 of 1

Compose Module Use

Posted: Tue Sep 03, 2019 7:16 pm
by Guy
Compose Module

Here are some notes relating to using this module. It is not the only way to use it and experimentation is encouraged.
They relate to StarTools version 1.5 and later.
Please let me know if anyone sees any errors or has any additional advice they think helpful.
I will update this post as needed.
To see a full alphabetical list of module topics click here.

Purpose:
  • To allow the loading of separate files representing Luminance and Red, Green and Blue colour channels to enable complex composites.
Description:
The Compose module is used to load and combine multiple files into a single image. Either standard luminance, Red, Green and Blue data or a combination of narrow-band data using different filters.
This has a number of useful functions:
  • It allows simple creation of complex composites such as LLRGB
  • It can also be used to extract the Red, Green or Blue channel from a colour image.
  • If a channel is missing it can interpolate from the other channels to create the missing channel.
  • The balancing (weighting) of the different channels is done automatically based on the total exposure time for each channel.
  • It allows the easy addition of Accents from narrowband data (v1.8+)
While Tracking is on the 'Compose' button is lit up to show processing is being done in a special 'Compose Mode'.

In the 'Compose Mode' luminance and colour datasets are processed separately but in parallel in the subsequent modules - Bin, Wipe etc. - until Tracking is turned off.

Useful Sources
The processing video StarTools complex LLRGB composite processing in 9 minutes real-time, with the Compose module shows the use of the Compose module. This shows v1.5 but is still relevant for this module.

The notes below relate to StarTools versions 1.5 to 1.9

When to use:
  • At the start of processing if you need to load files representing different channels - either traditional LRGB or other combinations such as Hubble Pallette (SII, Ha, OIII)
Example Workflow (v1.7):
{Compose}-AutoDev-{Lens}-Bin-Crop-Wipe-AutoDev (or FilmDev)-{Contrast/HDR/Sharp/Decon/Flux}-Color-{Shrink/Filter/Entropy/SuperStr}-Track/NR-{Layer/Heal/Repair/Synth/Stereo 3D}

Example Workflow (v1.8):
{Compose}-AutoDev-{Lens}-Bin-Crop-Wipe-AutoDev (or FilmDev)-{Contrast/HDR/Sharp/SVDecon}-Color-{Shrink/Filter/Entropy/SuperStr/NBAccent/}-Track/NR(Unified-Denoise)-{Flux/Repair/Heal/Layer/Synth/Stereo 3D}

Example Workflow (v1.9):
{Compose}-OptiDev-{Lens}-Bin-Crop-Wipe-OptiDev (or FilmDev)-{Contrast/HDR/Sharp/SVDecon}-Color-{Shrink/Filter/Entropy/SuperStr/NBAccent}-Track/NR(Unified-Denoise)-{Flux/Repair/Heal/Layer/Synth}
Key: {...} optional modules.


Method:
  1. Preparation:
    • All the image files must be aligned (registered). When stacking, use one image as a reference for the others.
    • If a luminance file has been loaded, any Red, Green or Blue file subsequently loaded must be either exactly the same size or exactly half the dimensions of the luminance file. This allows luminance channels to be 1x1 binned while R,G and B files can be 2x2 binned. In all other cases all loaded files must be the same dimensions.
  2. The Compose module can be set to interpolate any missing channels. Just set Channel Interpolation on and load what channels you have.
  3. If you have any Luminance data, load that first. If you don't you must specify a Synthetic Luminance option in 'Luminance, Colour' setting otherwise the 'Compose' mode will not be enabled.
  4. Load any Red, Green and Blue data you have.
  5. Load any Narrowband Accent data you want to include. (v1.8+)
  6. Set the 'Luminance, Color' parameter to define how the channels should be combined and what output you want. Common choices are: 'L, RGB' for no combination or 'L + Synthetic L from RGB, RGB' for LLRGB.
  7. If there is a difference in exposure time between Red, Green and Blue data set the Total Exposure time settings accordingly.
  8. If you have problems loading data because of the error: 'The dimension of the bitmap you're trying to load differ from the previously loaded file bitmap(s). ...' then check the dimensions of individual data files by loading them in StarTools individually. The dimensions are listed to the right of the file name at the top of the screen.
What result to look for:
  • Make sure all the channels are properly aligned. In rare cases it is possible for the registration to be out. See the Background Notes section below on how to align files during stacking.
After Use:
Continue with your preferred workflow.

Special Techniques:

Loading Narrow Band data using the Hubble Palette
Mapping narrowband data onto RGB channels like this does not produce a documentary result.
  1. Load the Luminance data - if you have it - into the Luminance channel.
  2. Load the SII data into the Red channel.
  3. Load the Ha data into the Green channel.
  4. Load the OIII data into the Blue channel.
  5. If you want to create a weighted synthetic luminance channel set the 'Luminance, Color' to 'L + Synthetic L from RGB, RGB'
  6. Otherwise if you have Luminance data - but don't want to use synthetic luminance (LLRGB) - set the 'Luminance, Color' to 'L, RGB'
  7. Set the Total exposure times for each channel.
  8. Press 'Keep' when done.
There is a useful video Painlessly re-creating the iconic Hubble "Pillars of Creation" in StarTools.

Simulate RGB image with SHO data
If you want to get a close as you can to a full spectrum RGB image (similar to that produced by an OSC camera) using narrowband SHO data then use the following method as described in this post: Simulate RGB image with SHO filtersto create an (S+H):O:O
  1. Launch the Compose module
  2. Create the Luminance channel from S,H & O:
    • Load the SII data into the Red channel.
    • Load the Ha data into the Green channel.
    • Load the OIII data into the Blue channel.
    • Set the 'Luminance, Color' to 'L + Synthetic L from RGB, Mono' to make a mono blend.
    • Press 'Keep' when done.
    • Save this result - this mono file will be used for the SHO synthetic luminance.
  3. Create a red channel from S+H:
    • Re-launch the Compose module
    • Load the SII data into the Red channel.
    • Load the Ha data into the Green channel.
    • Ensure 'Luminance, Color' is set to 'L + Synthetic L from RGB, Mono' to make a mono blend.
    • Press 'Keep' when done.
    • Save this result - this mono file will be used as the red S+H channel.
  4. Combine these files with O in G and B channels to get the complete image:
    • Re-launch the Compose module.
    • Load the SHO synthetic luminance file in the Luminance channel
    • Load the S+H red file in the Red channel.
    • Load the OIII data into the Green channel.
    • Load the OIII data into the Blue channel.
    • Set 'Luminance, Color' to 'L, RGB'.
    • Press 'Keep' when done.
  5. Process as normal.
Creating a Synthetic Luminance channel from Wide Band data
  1. Load the Wide band image data into the Red, Green and Blue channels.
  2. Set the 'Luminance, Color' to 'L + Synthetic L from RGB, RGB'
  3. Set the Total exposure time for each of the Red, Green and Blue channels (if different).
  4. Press 'Keep' when done.
Creating a Synthetic Luminance channel from OSC/DSLR Wide Band data
Note:
i) As of StarTools v1.5.366 this is done by default to standard OSC/DSLR data that is not white-balanced - there is no need to use the Compose module to get the advantages of Compose mode.
ii) As of 1.7.420 just use the 'Luminance, Color' setting 'L + Synthetic L from R(2xG)B, RGB (Color from OSC/DSLR)'. Keep the Green channel duration the same as the others.
Before 1.7.420:
In this case the data has been debayered - and you need to adjust the total exposure time to compensate for the effect of the Bayer matrix.
  1. Load the Wide band image data into the Red, Green and Blue channels.
  2. Set the 'Luminance, Color' to 'L + Synthetic L from RGB, RGB'
  3. Set the Total exposure time for each of the Red, Green and Blue channels - set the Green channel to double the others (assuming RGGB Bayer matrix).
  4. Press 'Keep' when done.
Re-centering blue back onto stars
To re-centre a smeared blue channel back to align with the red and green channels try the following as described in Fringe killer filter add blue back to central star
  1. Optionally Bin the image - then save it.
  2. In the Compose module click Blue and navigate to the file just saved. This will load only the Blue channel of the saved image. The other channels will be automatically set due to 'Channel Interpolation'. You end up with a black & white representation of the blue channel
  3. Process this image so that you reduce the bloating of the stars in the blue channel
    • Do AutoDev or Develop - this allows us to see what we are doing.
    • You could then use the Decon module - set to 'De-ring Mask Gaps, Show Result', set Iterations to 1, set Radius to 3.2 (as appropriate).
  4. 'Keep' the result.
  5. Use Restore selecting 'Linear, Wiped, Deconvolved' option - this reverts to an image which is Linear but which retains the deconvolution you did.
  6. Save the image.
  7. Use the Compose module to load the Red and Green channels (binned the same as before) and load the saved image into the Blue channel.
  8. You should now have an image with a better focused blue channel. Process as normal.
  9. When using the Color module, the Scientific mode may have problems with the star cores as they have artefacts in the blue channel due to the deconvolution. Either:
    • Reduce Bright Saturation right down and set Saturation Amount to 100% or lower. This will avoid recovering colour in the highlights, or
    • Use a star mask to mask out the stars - they then won't be involved in setting the colour balance, or
    • Use Artistic mode
Adding narrowband (e.g. Ha) to visual spectrum (OSC) data - by adding to colour (R).
This describes a way of adding Ha to the colour of the image. It creates a new red channel by combining R+Ha and then adds this to the other channels.
Adding narrowband data to wideband colour does not produce a documentary result.
See also this thread Adding Ha data to OSC data
  1. Create new red channel:
    • Load Compose Module.
    • Set Channel Interpolation On.
    • Load visual spectrum data into red channel Only using the Red/S-II button
    • Set 'Luminance, Color' to 'RGB, Mono' to create a mono blend.
    • Keep.
    • Save that dataset - this creates a mono dataset of the red channel.
  2. Create a blend of this with Ha:
    • Load Compose Module.
    • Load these two datasets - the red channel data using Red/S-II button, and the Ha data using Green/Ha button.
    • Channel Interpolation On.
    • Set 'Luminance, Color' to 'L + Synthetic L from RGB, Mono' to create a mono blend.
    • Keep.
    • Save this blend - this is the new red channel.
  3. Combine this new red channel with the other color data:
    • Load Compose Module
    • Set 'Luminance, Color' to 'L, RGB'
    • Load new red channel using the Red/S-II button.
    • Load full-color data set using the Luminance, Green and Blue buttons. You now have R+Ha, G and B.
  4. Keep.
  5. Process as normal.
Adding narrowband (e.g. Ha) to visual spectrum (OSC) data - by adding to luminance.
This describes a way of adding narrowband (e.g. Ha) to the luminance of the image.
This approach does not produce a documentary result.
It changes the luminance to emphasise the regions of Ha.
The optimum blending of the data will depend on the subject and what effect you want to achieve.
  1. Create synthetic luminance data from the visual spectrum (OSC) data:
    • Load the Compose Module.
    • Load visual spectrum OSC data into the red, green and blue channels individually.
    • Set 'Luminance, Color' to 'L + Synthetic L from R(2xG)B, Mono (Mono from OSC/DSLR)' to create a mono synthetic luminance.
    • Press 'Keep'.
    • Select option to save as linear.
    • Save that dataset - this creates a mono dataset of the OSC visual spectrum synthetic luminance.
  2. Combine the narrowband data as synthetic luminance with the visual spectrum luminance data:
    • Load Compose Module
    • Load the visual spectrum luminance into the luminance channel using the Luminance button.
    • Load narrowband (Ha) luminance into the red channel using the Red/S-II button.
    • Set the 'Red total exposure' to taste. - to balance the enhancement of narrowband with the detail in the rest of the spectrum.
    • Leave the other channels 'Not Set'
    • Set 'Luminance, Color' to 'L + Synthetic L from RGB, Mono' this creates a synthetic luminance blend
    • Press 'Keep'.
    • Select option to save as linear.
    • Save that dataset - this creates a combined luminance dataset.
  3. Combine this new final luminance data with the OSC colour data
    • Load Compose Module
    • Load final luminance data into the luminance channel using the Luminance button.
    • Load visual spectrum OSC data into the red, green and blue channels.
    • Set 'Luminance, Color' to 'L, RGB'
    • Press 'Keep'
    • Select option to save as linear.
  4. Process as normal.
Doing initial processing of channels separately then combining in Compose
This is useful when you want to Wipe each channel differently. See this post
  • Load each channel in turn. For each channel:
    • Otionally use the AutoDev module to see any issues with the raw data. Then press Cancel - we do not want to keep this stretch.
    • Bin & Crop the same for each channel. It is important that the channels have the same dimensions
    • Wipe - making any adjustments specific to that channel
    • Keep the results
    • Save the file. This data is still linear.
  • Load Compose module
  • Load the saved files as required
  • Continue processing using your normal workflow - starting from after Wipe - i.e. usually from Autodev/Develop
Creating Bi-Colour images with Ha and OIII using Steve Cannistras method
This is a description of a method proposed by Steve Cannistra Modified Bicolor Technique for combining Ha and OIII images which can produce fairly 'natural' results. This is effectively Ha:(Ha+OIII)x1.5:OIII.
You may get better results if you preprocess the images separately and then combine them as described below.
  • Create Synthetic Green Image:
    • Load the Compose Module.
    • Load the Ha data into the Red/S-II channel.
    • Load the OIII data into the Green/Ha channel.
    • Press 'Keep' when done.
    • Save this result - this mono file will be used for the synthetic Green channel.
  • Combine together:
    • Load the Compose Module.
    • Load the Ha data into the Red/S-II channel.
    • Load the OIII data into the Blue/O-III channel.
    • Load the synthetic Green data into the Green channel.
    • Set the 'Luminance, Color' to 'L + Synthetic L from RGB, RGB' to make a mono blend.
    • Set the Green Total Exposure so that the Green channel has 1.5x the weight of the other channels. If the others have 60 mins exposure, reduce the Green Total Exposure to 60/1.5 = 45 mins.
    • Press 'Keep' when done.
Process as normal.

Description of Controls:

Luminance button
Allows you to navigate to and load the Luminance file.
Don't load an OSC/DSLR file here - rather load it into R,G and B channels separately and select a 'Luminance, Color' mode which includes 'Synthetic L' to generate a synthetic luminance.

Red/S-II Button
Allows you to navigate to and load the Red channel file.
  • If a luminance file has been loaded then any Red, Green or Blue file subsequently loaded can be either the same size or exactly a quarter of the resolution of the luminance file. This allows luminance channels to be 1x1 binned while R,G and B files can be 2x2 binned. In all other cases all loaded files must be the same dimensions.
  • If loading narrowband data - load the data relating to the longest wavelength into the Red channel. E.g for SHO load S-II as Red.
  • If loading a colour (RGB) image (e.g. from OSC/DSLR) - extracts the Red channel.
Green/Ha Button
Allows you to navigate to and load the Green channel file
  • If loading narrowband data - load the data relating to the mid-length wavelength into the Green channel. E.g for SHO load Ha as Green.
  • If loading a colour (RGB) image (e.g. from OSC/DSLR) - extracts the Green channel.
Blue/O-III Button
Allows you to navigate to and load the Blue channel file
  • If loading narrowband data - load the data relating to the shortest wavelength into the Blue channel. E.g for SHO load O-III as Blue.
  • If loading a colour (RGB) image (e.g. from OSC/DSLR) - extracts the Blue channel.
NBAccent Button (v1.8+)
Allows you to navigate to and load a Narrowband Accents file

Spectrum and Filters (v1.9)
Defines the spectral content of the planned image. This makes the UI and defaults and later modules more relevant to the subjects spectral content.
Possible values are:
  • Unspecified - No adjustment of UI or defaults.
  • Full Visual Spectrum (OSC with UV/IR cut or LRGB filter set) - OSC or mono with LRGB filters using full visual spectrum with no non-visual elements.
  • SHO Narrowband (S-II + H-alpha + O-III filter set) - Narrow band data using SHO filters.
  • Extended Visual Spectrum (OSC without IR/UV cut, or modified DSLR) - Unfiltered OSC or DSLR giving full visual spectrum with additional IR/UV elements.
  • DSLR Full Visual Spectrum - DSLR full visual spectrum with no non-visual elements.
  • Duoband/Triband/Quadband (OSC or DSLR) - OSC or DSLR using Duo/Tri/Quad band filters (e.g. Optolong L-eXtreme Hα/OIII filter and Optolong L-eNhance Hα/Hβ/OIII filter).
  • CLS or UHC filter - using City Light Suppression (CLS) or Ultra High Contrast (UHC) filters.
  • Default is 'Unspecified'
Scene (v1.9)
Defines the subject of the planned image. This makes the UI and defaults and later modules more relevant to the target subject.
Possible values are:
  • Unspecified - No adjustment of UI or defaults.
  • Field-filling Nebula - A nebula that fills the field of view.
  • Widefield Nebula - One or more nebulae in a widefield view.
  • Field-filling Galaxy - A galaxy that fills the field of view.
  • Widefield Galaxy - One or more galaxies in a widefield view.
  • Lunar, Solar or Planetary - The Moon, Sun or a planet.
  • Default is 'Unspecified'
Luminance, Color
Defines how to combine the data from each channel:
  • RGB, RGB (Legacy Software) - Derives the luminance from the R,G and B channels, and the colour from the R,G and B channels - legacy behaviour. Ignores Total Exposure times.
  • RGB, Mono - Derives the luminance from the R,G and B channels, does not output colour. Ignores Total Exposure times.
  • L, RGB - Derives the luminance from the L channel, and the colour from the R,G and B channels. Ignores Total Exposure times.
  • L + Synthetic L from RGB, RGB - Derives synthetic luminance data from the R,G and B channels and adds it to the luminance channel, and the colour from the R,G and B channels. Also known as LLRGB.
  • L + Synthetic L from RGB, Mono - Creates synthetic luminance data from the R,G and B channels and adds it to the luminance channel, does not output colour. This is useful for creating blends of different filtered data sets e.g. Ha+OIII. Save the file and then combine in Compose.
  • L + Synthetic L from R(2xG)B, RGB (Color from OSC/DSLR) - Creates synthetic luminance data from the R,2xG and B channels combined, and the colour from the R,G and B channels. LLRGB using OSC/DSLR (with bayer matrix) (v1.7.420+).
  • L + Synthetic L from R(2xG)B, Mono (Mono from OSC/DSLR) - Creates synthetic luminance data from the R,2xG and B channels combined, does not output colour. Supports OSC/DSLR (with bayer matrix) (v1.7.420+).
  • L + Synthetic L from RGB, R(GB)(GB) (BiColor) - Creates synthetic luminance data from the R,G and B channels combined, and the colour from the R and either G or B channels. Useful for creating Bi-colour images from 2 narrowband filtered datasets (v1.7.420+).
  • L + Synthetic L from R(2xG)B, R(GB)(GB) (BiColor from OSC/DSLR) - Creates synthetic luminance data from the R,2xG and B channels combined, and the colour from the R and G+B and G+B channels (Standard HOO palette). Palette can be changed in Color Module later. Useful for creating Bi-colour images from 2 duo/tri/quad-band filtered datasets. (v1.7.420+).
  • Default is 'L + Synthetic L from RGB, RGB'
Color Ch. Interpolation
The Compose module can be set to interpolate any missing channels.
  • Just set Channel Interpolation On and load what channels you have. This feature can be used to:
    • Generate a missing green channel in the case of an Ha/Hb composite
    • Generate a greyscale from a single Ha, Hb, OIII or SII dataset which may later be turned into a false colour image using the Color module.
  • Generate a greyscale from a single channel.
    • Set Channel Interpolation to 'On'
    • Load the dataset into R, G or B
    • Set 'Luminance, Color' to 'RGB, Mono'
    • Save the dataset
  • The Channel Interpolation setting has no effect when all 3 (RGB) channels are loaded.
  • The Channel Interpolation setting has no effect on Synthetic Luminance generation results.
  • Default is On
Luminance File
Shows the path of any file loaded in the Luminance channel.
  • Default is None.
Red File
Shows the path of any file loaded in the Red channel.
  • Default is None.
Green File
Shows the path of any file loaded in the Green channel.
  • Default is None.
Blue File
Shows the path of any file loaded in the Blue channel.
  • Default is None.
NB Accents File (v1.8+)
Shows the path of any file loaded with Narrowband Accents.
  • Default is None.
(Lum) Total Exposure
Sets the total exposure time of the luminance data.
  • Only relevant for 'Luminance, Color' settings which include 'Synthetic L.
  • Only needs to be changed from default if value is different from other channels.
  • [1.9] Loads value from from file if available.
  • Default is Not Set if no file loaded, otherwise 60 minutes. Range is 1 minute to 720 minutes.
Red Total Exposure
Sets the total exposure time of the red data.
  • Only relevant for 'Luminance, Color' settings which include 'Synthetic L'.
  • Only needs to be changed from default if values are different between channels.
  • If you want to load the same narrowband data in two channels (e.g. for HOO) set total exposure for one of the channels to 0 to keep the synthetic luminance balance.
  • [1.9] Loads value from from file if available.
  • Default is Not Set if no file loaded, 60 minutes if loaded. Range is 1 minute to 720 minutes.
Green Total Exposure
Sets the total exposure time of the green data.
  • Only relevant for 'Luminance, Color' settings which include 'Synthetic L'.
  • If using an OSC/DSLR file and have set a 'Luminance, Color' mode which is not one of the 'from OSC/DSLR' modes but generates Synthetic L - be sure to double the Green Total Exposure compared to the Red and Blue to allow for the RGGB bayer matrix.
  • If the 'Luminance, Color' setting is one of the 'from OSC/DSLR' modes then the 2G factor has been taken into account already so the exposure time can stay the same as for Red and Blue.
  • Otherwise, only needs to be changed from default if values are different between channels.
  • If you want to load the same narrowband data in two channels (e.g. for HOO) set total exposure for one of the channels to 0 to keep the synthetic luminance balance.
  • [1.9] Loads value from from file if available.
  • Default is Not Set if no file loaded, 60 minutes if loaded. Range is 1 minute to 720 minutes.
Blue Total Exposure
Sets the total exposure time of the blue data.
  • Only relevant for 'Luminance, Color' settings which include 'Synthetic L'.
  • Only needs to be changed from default if values are different between channels.
  • If you want to load the same narrowband data in two channels (e.g. for HOO) set total exposure for one of the channels to 0 to keep the synthetic luminance balance.
  • [1.9] Loads value from from file if available.
  • Default is Not Set if no file loaded, 60 minutes if loaded. Range is 1 minute to 720 minutes.
NB Accents Type (v1.8+)
Identifies the contents of the NB Accents file.
  • Default is 'Ha/S-II from NB filter'. Range is 'Ha/S-II from NB filter','O-III/Hb from NB filter','Ha/S-II+O-III/Hb from Duo/Tri/Quadband Filter'.
  • If using OSC/DSLR RGB data then channels used by Wipe are as follows:
    • selecting 'Ha/S-II from NB filter' will select the Red channel only
      (e.g. for Optolong L-eNhance filter this will include H-α but exclude H-β & OIII, No S-II)
    • selecting 'O-III/Hb from NB filter' will select the Green and Blue channels only
      (e.g. for Optolong L-eNhance filter this will include H-β & OIII but exclude H-α)
    • selecting 'Ha/S-II+O-III/Hb from Duo/Tri/Quadband Filter' will select the Red, Green and Blue channels.
    • After Wipe the unused channels have been removed.
Background Notes:

Compose mode
In 'Compose Mode' the Wipe (and other) modules works on the luminance and colour datasets in parallel.
You can see the results of each by pressing the 'Color/Luminance' button in Wipe.
Remember to check both results.

As of StarTools v1.5.366 standard OSC/DSLR data that is not white balanced uses the Compose mode by default.

When StarTools is working in Compose Mode the text on the 'Compose' button on the main screen is green.

Processing luminance and colour data separately for better results
The Compose module has at its core the idea of processing luminance and colour data separately. The luminance and colour data are split in the Compose module and recombined in the Colour module.
This is done because in many cases in post-processing the process is best applied to the luminance and not the chrominance (colour):
  • By applying some of the processes to the colour data as well as the luminance it is possible that you end up enhancing the noise. See the PixInsight article Why Separate Luminance and Chrominance?.
  • In addition, our eyes are much more sensitive to the luminance than the colour of an image.
  • StarTools splits luminance and colour to reduce the negative impact of some of the processes on the colour of the image.
  • By separating the luminance and colour data it is possible to process the luminance to get the maximum detail without the trade-off of increasing the noise in the colour. In addition it is possible to apply more aggressive denoise in the colour to further reduce the colour noise without noticeable effect.
  • With Narrow-band imaging it is quite common to capture L,R,G and B data with more L data than R,G and B. The R,G and B is combined and processed as one frame. The luminance (L) data is processed separately and recombined with the RGB towards the end of Post-Processing.
  • It is possible to do the same with OSC and DSLR colour frames by separating out the L and RGB components.
  • See the Special Techniques sections both here and in the Layer Module Use.
    • Layer Module - 'Creating a synthetic luminance frame'
    • Layer Module - 'Splitting a colour image into luminance and RGB before Processing'
    • Layer Module - 'Combining luminance and RGB images using the Layer Module'
Combining data sets
There is an interesting musical analogy Ivo uses here

The summary is:
  • Broadband data - The Exposure sliders are for carefully controlling the mixing of the R G and B channels to create a synthetic luminance when the R G and B channels represent wide bandwidth data and the R, G and B combined cover the full visible spectrum. This retains the 'documentary' value of the image.
  • Narrowband data - We can use the Compose module to add Narrowband data in various ways in order to aim for certain effects. However, using Narrowband data in this way does not have any true 'documentary' validity. This, however, may not be important - and the results can be stunning.
Combining OSC and Narrowband data
Interesting discussion about the different ways of combining Narrowband and RGB data here

Considerations:
Sometimes the Narrowband data coincides with obvious visual elements (e.g. in HII objects where the Ha signal is generated in the same region)
  • In this case using the data to add to luminance makes sense - this increases the intensity of the narrowband data and reduces the other detail visible.
  • or adding it to an appropriate R, G, or B channel depending on the nearest visual wavelength is (usually R channel for Ha) - this enhances that color element and so skews the colouring.
  • or use the NBAccent module (v1.8) to process the highlight separately and have more control.
And sometimes there are no prominent corresponding visual elements (as in the case with Ha in M33)
  • In this case processing the Narrowband element separately makes sense and will give full control of the impact on the image.
    To do this either:
    • Process the Narrowband separately (just Wipe and AutoDev may be enough) and combine it with the LRGB version in the Layer module or
    • Use the NBAccent module (v1.8).
Synthetic Luminance, Total Exposure times & Weighting of channels

When is it useful to create Synthetic Luminance?
  • You have a DSLR/OSC dataset and you want to process using LRGB (i.e using Compose) and have no separate Luminance data
  • You have Narrowband data (e.g. HSO) and you want to process using LRGB (i.e using Compose) and have no separate Luminance data
  • You have Wideband Luminance (L) data but you also have low noise Wideband R,G or B data and want to benefit from the extra signal by supplementing the L data.
You create Synthetic L data by choosing a 'Luminance, Color' setting which includes 'L + Synthetic L'

Prerequisites for using Synthetic L
  • All channels should be aligned as best as you can. Stack L first (or the best signal of RGB if you dont have L) and then use that stack as reference frame to stack the other data sets against.
  • The red, green and blue filters should have the same characteristics in terms of bandwidth and response
  • When combining Synthetic Luminance with Real Luminance the combined filter response of the R,G and B channels should match the filter response of the real luminance channel.
  • Choose your filters so they match this as best you can. See here
  • If the above is not the case you can adjust the exposure times to rebalance the contributions from each channel.
Total Exposure times
  • The Total Exposure times are only significant when creating Synthetic L data.
  • Total Exposure times dictate how the channels contribute to creating Synthetic Luminance.
  • The aim of setting Total Exposure times, is to indicate the data blend that will give the cleanest synthetic luminance signal with the lowest noise.
  • The relative values are important, not the values themselves.
Synthetic L and DSLR/OSC data
  • If you have a DSLR/OSC dataset - The Total Exposure values are not important - They just need to be all the same.
  • For a visual spectrum DSLR/OSC data set 'Luminance, Color' to 'L + Synthetic L from R(2xG)B, RGB (Color from OSC/DSLR)' This will take into account the effect of the Bayer matrix producing twice as much green data.
  • For a duoband DSLR/OSC data set 'Luminance, Color' to 'L + Synthetic L from R(2xG)B, R(GB)(GB) (Bi-Color from OSC/DSLR)'
Calculating Synthetic L
See reference here.
The StarTools Synthetic L calculation assumes that:
  • Only shot noise from the object varies between channels
  • The red, green and blue channels have the same characteristics in terms of bandwidth and response
  • When combining Synthetic Luminance with Real Luminance it is assumed that the combined filter response of the R,G and B channels exactly matches the filter response of the real luminance channel.
    Red filter response + Green filter response + Blue filter response = Luminance filter response.
  • For data sources that have a bayer matrix the green channel is assumed to contribute twice the signal of the red and blue channels.
Calculation:
  • S Luminance = red * sqrt(exposure time) + green * sqrt(exposure time * N) + blue * sqrt(exposure time)
    Where N=2 for OSC/DSLR sources with bayer matrix, otherwise N=1
  • Total Luminance = Luminance * sqrt(exposure time) + S Luminance * sqrt(exposure time)
Note:
NB Accent data does not get included in Synthetic luminance generation.
Channel Interpolation setting does not impact Synthetic Luminance generation.

Channel Exposure times and weighting
The usual aim is to contribute half of the luminance from the L and half from the 'Synthetic L' derived from the RGB channels.
This means:
  • We aim for relative values of L:RGB of approximately 1:1
  • So for LRGB data the relative exposure times should be L:R:G:B of approximately 3:1:1:1, the weighting will be Lx1/2,Rx1/6,Gx1/6,Bx1/6
  • If, for example, there is just L and R data then the relative exposure times should be L:R of 1:1, the weighting will be Lx1/2,Rx1/2
Adjusting the channel weighting
Normally you will set the weight of each channel by setting the Total Exposure time based on the actual exposure times.
There are cases when you may want to do adjust that default weighting.
  • Weak signal and high noise:
    Omit any channels that have a weak signal component and/or significant noise that is not signal-related.
    Do this by setting the Total Exposure for the channel to 0. The data will then not contribute to the synthetic luminance and will be used for colour only.
  • Duo-Band filtered data (e.g. Ha and O-III/Hb):
    Set Luminance, Color mode to 'L + Synthetic L from RGB, RGB' and load your Ha data as Red, O-III/Hb in both Green and Blue channels.
    In creating the Synthetic L we only want to include the O-III/Hb data once - so set one of these channels (green or blue) Total Exposure to 0
Making multiple images the same size, resolution and alignment
Images loaded in LRGB must be the same pixel size and alignment.
In some cases you might be trying to combine images that are not aligned or not the same pixel size. For example if taken with different cameras, on different nights or with different filters.
There are a number of ways to do this depending on what the differences are:
  • Images are the same physical size and resolution but different alignments. Either:
    - Use Regim to align frames as described here - using a single frame or stacking multiple frames. The result will be a frame of the same alignment as the reference frame. or...
    - Use Deep Sky Stacker (DSS) to align frames as described here - using a single frame or stacking multiple frames. The result will be a frame of the same alignment as the reference frame.
  • Images are the same physical size and alignment but different resolutions. Either:
    - Use Regim to align frames using the lowest resolution frame as a reference. The result will be a frame of the same resolution as the reference frame. or...
    - Use the Bin Module in StarTools to reduce the resolution of the higher resolution frames to that of the lowest resolution frame. Save the image as a Tiff file to be loaded in the relevant channel later.
  • Images that are different physical sizes and possibly alignment:
    - Use Regim to align the frames using the lowest resolution frame as a reference. The result will be a frame of the same resolution as the reference frame.
    - Some cropping will be needed after combination to remove any borders.
Aligning LRGB images using Regim
To make sure the L, R, G, B images are all aligned the same. we need to select a single reference frame for all images.
  • In Regim images can have different dimensions. The output file dimensions will be that of the reference file.
  • This technique works when stacking multiple frames or with a single frame plus reference.
  1. Under the Preprocessing menu select the Preprocessing option.
  2. Set the standard Calibration, Register and Combination settings under the relevant tabs.
  3. Under the 'Files' tab select the luminosity reference light frame first.
  4. Select all other relevant lights, darks, flats etc.
  5. Select only the 'do calibration' and 'do register' checkboxes in the preprocessing dialog.
  6. Press OK to do the registration.
  7. All files registered to the reference frame will be .fit files and have the prefix “Reg_”. The reference file will not have one.
  8. Open the preprocessing dialog again and select all the "Reg_*.fit" files you want to combine and Add to images - exclude the reference frame if you want.
  9. Select only the 'do combination' checkbox.
  10. Press OK to do the combination.
  11. Save the image.
  12. Repeat for Luminosity, Red, Green and Blue data using the same reference frame.
  13. The result should be 4 files all aligned exactly the same.
Aligning LRGB images using Deep Sky Stacker (DSS)
To make sure the L, R, G, B images are all aligned the same. We need to select a single reference frame for all images.
  • In DSS all files to be stacked must have the same dimensions, number of colours, number of channels, only one master dark, offset and flat.
  • This technique works when stacking multiple frames or with a single frame plus reference.
  • Make sure you use the 'Standard Mode' setting in the 'Result' Tab of the Stacking Parameters in DSS.
  • If the reference sub-frame appears to be ignored if not included in the stack - try registering all the files again.
  1. Load the reference (luminosity) sub-frame into DSS.
  2. Right-click on it and select 'Use as reference frame'.
  3. Load relevant Lights, Darks, Flats etc. into DSS.
  4. Stack as normal and save the image.
  5. Repeat for Luminosity, Red, Green and Blue data using the same reference frame.
  6. The result should be 4 files all aligned exactly the same.
Colours and Filters
Eyes Response to Light
The generally accepted range of visible light is from 400nm-700nm although this varies from person to person and with different light levels. or more information see Eye spectral response.
  • Photopic: 50% 510nm-610nm, 5% 450nm-660nm
  • Scotopic: 50% 455nm-550nm, 5% 410nm-600nm
RGB Filters
The RGB filters commonly used have a spectral response as follows:
  • R: 600-700nm
  • G: 500-600nm
  • B: 425-500nm
Narrow-band imaging
Using different narrow-band filters to create three data sets and combining them using LRGB channels can have advantages:
  • Allows imaging through a lot of light pollution (other than LED broad spectrum light pollution). Even OSC and DSLR cameras can benefit from this (e.g. Optolong L-eXtreme filter which passes Hα & OIII and Optolong L-eNhance filter which passes Hα & Hβ/OIII ).
  • Nebulosity appears more detailed.
  • Stars seem less bloated.
  • Colours are artificial - so can be chosen to highlight features - e.g. Hubble Palette better differentiates SII and Ha.
  • Common narrow band data collected is:
    • SII - Red - 671.9 nm and 673.0 nm
    • Ha - Red - 656.3 nm
    • NII - Red - 654.8 nm and 658.3 nm
    • OIII - Cyan - 495.9 nm and 500.7 nm
    • Hb - Blue - 486.1 nm
    • OII - Near U-V - 372.6 nm and 372.9 nm
  • Three colour narrow-band images:
    Common combinations for assigning the three bands to the R,G and B channels are:
    • SII : Ha : OIII (R:G:B) - Hubble palette.
    • Ha : OIII : SII (R:G:B) - Canadian-France-Hawaii Telescope palette.
  • Bi-colour narrow-band images:
    For a number of reasons, including reduced imaging time needed over 3-colour images, bi-colour imaging can be an attractive approach. There are many possible bi-colour combinations of assigning the two sets of narrow-band data to the R,G and B channels - common ones are (R:G:B):
    • Ha : OIII : OIII
    • Ha : Ha+OIII : OIII
    • Ha : (Ha+OIII)x1.5 : OIII - Steve Cannistra's technique - see description in Special Techniques section above.
    • Ha : Hax0.4 + OIIIx0.6 : OIII
    • SIIx0.5+ Hax0.5 : Hax0.4 + OIIIx0.6 : OIII
  • Synthetic H-beta
    Wherever Ha appears there is often also Hb. You can capture the Hb with a filter but you can also easily create a synthetic Hb.
    See Synthetic RGB from [SII], Halpha and [OIII] Emission Line Data and Narrowband imaging with only H-alpha and OIII filters
    • The ratio of Ha:Hb emission is normally about 3:1 for emission nebulae and 6:1 for planetary nebulae.
    • The shorter wavelength Hb has a higher extinction so the perceived amount of Hb is lower.
    • Common to Combine OIII and Synthetic Hb into the blue channel as follows: OIII x 0.85 + Ha x 0.15 for an emission nebula with variation depending on the source.
  • For a list of targets see the CN list of advanced narrow band imaging targets.

Re: Compose Module Use

Posted: Thu Oct 22, 2020 11:48 am
by Heno
Great write-up! :thumbsup:
One question.
Under preparation you wrote:
If a luminance file has been loaded, any Red, Green or Blue file subsequently loaded must be either exactly the same size or exactly half the size of the luminance file.
Further down under Red button:
If a luminance file has been loaded then any Red, Green or Blue file subsequently loaded can be either the same size or exactly a quarter of the resolution of the luminance file
Should't these read the same?

Clear skies
Helge

Re: Compose Module Use

Posted: Thu Oct 22, 2020 2:28 pm
by Guy
If the Red, Green, or Blue file is half the size (i.e. half the no. of pixels in width and height) of the luminance then it will be a quarter of the resolution.
The Red, Green, or Blue channels are allowed to be 2x2 binned (i.e. a quarter of the resolution) with respect to the luminance channel.

I think the way I refer to the size of file is confusing - I will try to make it clearer.

Regards,
Guy

Re: Compose Module Use

Posted: Fri Apr 22, 2022 4:57 am
by Mike in Rancho
6. Otherwise if you have Luminance data (and don't want to use LLRGB) set the 'Luminance, Color' to 'RGB, RGB'
In the first Special Techniques section, step 6 quoted above, if one has a Luminance file, but doesn't want Synth-L for LLRGB, wouldn't the proper Luminance, Color selection be 'L, RGB' ? :think:

Re: Compose Module Use

Posted: Fri Apr 22, 2022 8:32 am
by Guy
You are right - setting the 'Luminance, Color' to 'RGB, RGB' would ignore the L channel - not what we were after.
I've made the correction.

Thanks for watching my back :)

Guy