Author Topic: Star layer question  (Read 5537 times)

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Star layer question
« on: 2007 November 16 02:28:07 »
I am working on a very faint nebula that is benefited by really pushing the saturation.  However this also somewhat destroys the stars.  Is there a suggestion as to how to take the stars from a version that is not pushed and combine with the pushed version.
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Star layer question
« Reply #1 on: 2007 November 16 06:12:01 »
There are two approaches to this question.
One of them, is separate the small scale features from the large ones, in both images, and then merge the small scales of the unsaturated version with the larse scales of the saturated one. This method is not easy to apply, so if you haven't tried this before with a single image (to perform wavelets enhancements), you should avoid this from the moment. By the way, I have used this method to combine comet exposures, using the stars as references by one hand, and the comet, by the other. So, I ended with "punctual" (point-like) stars and comet core.

The second approach is to use a propper mask. The most simple star mask (but also the less efficient) is a inverted luminance. A more refined mask may be attained with the A Trous Wavelets process. Just disable all the scales above certain scale (trial and error), for example 16px. Then, set the deringing to the maximum to all the remaining scales. This way you end with small scale features only. Some of the larger star may be appear a bit opaque. You may fix it a bit using a "large scales" image (apply to a copy of the luminance the "inverted" wavelets process, it means, disable small scales, and enable the large scales. You'll end with a blured image) as a mask, so you may increase the pixel values with HistogramTransform selectively.
Well, after you have the mask, make sure that it affects the stars, and then use PixelMath to "import" the non-saturated image. You may try to combine that version with the current one too, with a expression like this: "Saturated*0.33+NonSaturated*0.67".

Hope this helps...
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Wow
« Reply #2 on: 2007 November 16 06:58:52 »
Carlos thanks very much, the Atrous Wavelets method worked as advertised.  Thank you!
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Star layer question
« Reply #3 on: 2007 November 16 11:44:21 »
You are wellcome :) I hope to see your image soon!
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Star Mask
« Reply #4 on: 2007 November 18 06:33:17 »
Juan will that solves my problem in a big way!  Thanks a lot!!!
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Inverse Star Mask
« Reply #5 on: 2007 November 19 09:09:38 »
I have a question about the new star mask.  If you use the star mask on an image and then select Inverse on the image does any process y0ou now apply to the image selectively affect only the stars?
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO