Fundamentals · PixInsight 1.9.x

LRGBCombination

LRGBCombination combines a separate luminance with a colour image. The luminance provides brightness, structure and sharpness, the colour image provides colour. For the result to look neither pale nor oversaturated, the brightness of both images must match.

Purpose

TaskSetting
combine luminance with a colour imageonly L enabled, apply to the colour image
balance remaining differences in brightness and saturationLightness, Saturation
smooth colour noise during combinationChrominance Noise Reduction

Principle

LRGBCombination works in the CIE L*a*b* colour space. L* is brightness, a* and b* are the colour components. The L* of the colour image is replaced by the luminance; a* and b* remain.

Luminance relative to the colour image’s L*Result
brightermore brightness with the same colour information → pale, washed out
darkeroversaturated, dark
less contrastflat, dull colours
more contrastharsh, colours lost in the shadows

So match luminance and colour image before combining: .

Parameters

SectionEffectTypical choice
Channels / Source Imageswhich channels are replacedonly L enabled with the luminance; R, G, B disabled – the target image supplies the colour
Inherit astrometric solutioncarry plate-solve data into the resultenabled
Lightnessmidtone transfer of the luminancestart at 0.5
Saturationsaturation of the resultstart at 0.4
Chrominance Noise Reductionsmooths only the colour components, not the structureenabled; Smoothed wavelet layers 4, Protected wavelet layers 2

Operation

There is no real-time preview. Find values on duplicates:

  1. Drag the colour image’s tab onto an empty area → duplicate.
  2. Apply LRGBCombination to the duplicate.
  3. Compare with Ctrl+Z / Ctrl+Y.
  4. Several values: several duplicates side by side; dragging one window tab onto another window’s tab transfers zoom and position.
  5. Apply the values found to the actual colour image, close the duplicates.

After combining, the measuring previews can be dragged onto the result to check brightness and contrast.

Typical applications

Balancing remaining differences

Result looksRemedy
washed out, paleraise Lightness slightly or lower Saturation slightly
oversaturated, darklower Lightness slightly or raise Saturation slightly

Loss of detail after combining

Brightness comes entirely from the luminance. Structures that are brighter in the colour image than in the luminance – for example because a curve lowered them in the luminance and no measuring point was there – become darker and less distinct.

RemedyProcedureEffect
1 lower Lightnesstry 0.35–0.45raises the whole luminance transfer; quickest
2 additional measuring pointpreview on the affected structure; reapply the luminance curvefixes the cause rather than the symptom
3 blend luminancesPixelMath, new image: Luminance * 0.7 + ColourImage_L * 0.3 (share 0.2–0.4); use as Lrecovers structures that are well represented only in the colour image

Side effects of a low Lightness: paler colours → Saturation 0.30–0.35; brighter background → .

What a good result looks like

Typical errors

ObservationCauseRemedy
Pale coloursluminance too bright relative to the colourlower Saturation, raise Lightness; check the matching
Structures weaker than in the colour imageluminance too dark therelower Lightness, add a measuring point, blend luminances
Flat resultluminance with less contrast than the colour imagerepeat the matching before combining
Astrometric solution missingInherit astrometric solution offenable it
Colour noise visiblecolour image not denoisedChrominance Noise Reduction or

When to use it – and when not

Good forBetter another tool
combining a separate (real or synthetic) luminance with a colour imageassembling channels into a colour image → ChannelCombination or PixelMath
processing structure and colour separately and merging themmatching brightness → (beforehand)
Used in

HaLRGB workflow · Matching luminance and colour image · Narrowband workflow (HOO/SHO) · OSC workflow with a quad band-pass filter · PixelMath · Synthetic luminance