Star Recombination puts a starless image and its stars back together. It blends the stars into the starless image with Screen, Add or Lighten, scaled by an amount, and gives one image or a layered image to adjust later.

Categories
  • Stars
Keywords
  • star recombination
  • recombine
  • stars
  • starless
  • star image
  • screen
  • add
  • additive
  • lighten
  • unscreen
  • layers
  • put the stars back
  • stars amount

1Introduction

Star removal splits an image in two: a starless image, processed on its own, and an image of the stars. Star Recombination is the last step, the one that puts the stars back. It does what a Pixel Math expression or two layers in the Layers panel do, from one panel.

The two images are open images of the same size. The stars image may be gray on a color starless image: it then goes into every channel. A color stars image on a gray starless image is refused. The process is our own and has no equivalent in PixInsight, so it saves as a DSPX process (.dsproc) only.

2Quick Start

  1. Open the processed starless image and its stars image, and bring the starless image to the front. Choose Process > Stars > Star Recombination.
  2. Pick the Starless image and the Stars image.
  3. Choose the Mode that matches how the stars image was made: Screen for a screen star image, Add for an additive one. The live preview (the eye) shows the result on the starless image.
  4. Set Stars amount to dim or brighten the stars, then click Apply.

3Interface & Parameters

The panel has two sections, Images and Recombination, then the image the process applies to with the live preview's eye, the buttons and the system bar along the bottom.

3.1Images

Starless image: The open image without stars.

Stars image: The open image of the stars, of the starless image's size. A gray stars image goes into every channel of a color starless image.

3.2Recombination

Mode: How the stars are blended in. Screen by default.

Stars amount: Scales the stars image before the blend. 1 keeps the stars as they are; lower dims them, higher brightens them. From 0 to 2, 1 by default.

Result: Combined (the default) is one image with the stars blended in. Layers is a layered image: the starless image at the bottom, the stars on the layer above it in the blend mode of the Mode (Screen, Linear Dodge for Add, Lighten). With Screen and a Stars amount up to 1, the stars layer's opacity is the amount, so it can be changed later in the Layers panel; otherwise the stars layer holds the stars already scaled, at full opacity. Either way the layered image looks the same as Combined. A layered image is always RGB.

Target: Where the result goes. Starless image (the default) or Stars image: that image is replaced by the result, in one history step that Undo takes back. New image: the result opens as a new image named after the starless image, with _recombined added. The other image is never changed, whichever image the process is applied to.

3.3Apply, Preview and Instance

Live preview (the eye): Shows Combined on the image in front, usually the starless image. Layers and a new image are not previewed: Combined shows the same result.

Apply: Recombines the two images and puts the result where Target says. Replacing an image does not go through its mask.

Instance: Shows the process as the panel has it now, as a DSPX process (.dsproc) text. Copy puts the text on the clipboard; Save... saves it as a file and puts it on the Process Shelf.

Reset: Puts every setting back to its default.

4Usage Tips and Tricks

Match the mode to the star image. Screen with a screen star image, Add with an additive one: only the matching mode gives back the original where nothing was processed.

Layers to decide later. With Result Layers, the stars stay a layer of their own: change their opacity or blend mode in the Layers panel, or add a mask to them, before flattening.

A new image to compare. With Target New image, the starless image stays as it was next to the result.

Deep Star Removal and StarNet2: make the starless image and the stars image.

Pixel Math: the same recombination written as an expression.