Author Topic: Assign back stars to an image  (Read 517 times)

Offline Batch

  • Newcomer
  • Posts: 36
Assign back stars to an image
« on: 2019 March 28 22:01:08 »
I’m trying to determine the best method for adding stars back to an image that has had the stars removed in order to better process the underlying Nebula or galaxy. Any suggestions would be greatly appreciated.thx

Offline ngc1535

  • PixInsight Old Hand
  • ****
  • Posts: 326
Re: Assign back stars to an image
« Reply #1 on: 2019 March 29 08:59:50 »
There isn't a single best method. It depends on the nature of the data (both in the starless image and the original (star) data). The more the starless image diverges from the original data- the more difficult it becomes of course.

A small menu includes:

1. Writing the pixels from one image to the other using Pixel Math in combination with a mask. This is fraught with issues unless great care is taken to make the two images work well together.
2. Blend the images with:
          a. Max  (Pixel Math)
          b. Lighten (Blend Script or Pixel Math)
          c. Opacity (Pixel Math)
          d. Screen (Blend Script or Pixel Math)
          e. Some conditional statement (iif(something, then something, else $T)... Pixel math obviously

2 d. Is something that I specialize in with the right kind of data. It is a technique not widely implemented... but it is powerful!

-adam

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 231
    • sk-images
Re: Assign back stars to an image
« Reply #2 on: 2019 March 29 10:44:45 »
Hi "Batch" -

Adam has given you a nice menu to choose from.

The only approach I have used is his (a) choice which is probably the simplest one.
In PixelMath enter the expression max(StarlessImage, ImageWithStars). This has worked very well for me so far.

Steve
Telescopes:  WO Star71 ii, ES ED102 CF
Camera:  Canon T3 (modified)
Filters:  IDAS LPS-D1, Triad Tri-Band, STC Duo-Narrowband
Mount:  CEM40 EC
Software:  BYEOS, PHD2, PixInsight

http://www.SteveKing.Pictures/