Puts a starless image and its stars back together, as one image or as layers
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.
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.
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.
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.
Mode: How the stars are blended in. Screen by default.
1-(1-starless)*(1-stars). Never goes past white. It gives back the original exactly from
the star image of Deep Star Removal with Star image Screen, and from the unscreen
star layer of StarNet2.starless+stars, clipped at 1. It gives back the original from an additive star image (Deep Star
Removal's Additive, StarNet2's star image). It can clip bright stars once the starless image has been brightened.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.
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.
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.