Author Topic: Overlay two images  (Read 2748 times)

Offline remi@astrorl.ca

  • Newcomer
  • Posts: 6
Overlay two images
« on: 2017 September 22 14:28:34 »
Hi,
I would like to combine a Luminance layer with an Ha layer. I normally do this in PhotoShop using layers and overlay. How can I do the equivalent in PI? Can it be done in PixelMath and if yes, what would be the equation?
Thanks in advance.
Remi

Offline avastro

  • PixInsight Addict
  • ***
  • Posts: 181
    • http://astrosurf.com/avastro/
Re: Overlay two images
« Reply #1 on: 2017 September 23 00:46:27 »
Remi, search the forum for combining Ha with RGB, you will find many approach, like this one.
https://pixinsight.com/forum/index.php?topic=11526.msg71476#msg71476
cheers
Antoine
Antoine
Lentin Observatory
http://www.astrosurf.com/avastro/

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Overlay two images
« Reply #2 on: 2017 September 23 07:04:50 »
Hi Remi!
If you have Luminance image  "L" and H-Alpha image "Ha"
You can mix mix/overlay these 2 mono images/layers with different PixelMath expressions:
The simplest one is:
L + Ha

including also  percentages: 70% L and 30% Ha the expression in PixelMath is:
(L*0.7)   +  ( Ha*0.3)

etc... etc...

There should be also in your installation the script "Blend" selectable. (Utilities/Blend)
Where you find more possibilites to overlay images as you know from the astropaintings program,
without needing PixelMath knowledge.

In addition let me mention:
to mix Lum with Ha does only make sense if you stay in mono!!
Mixing the Lum+Ha result with RGB  results in wrong/pink Ha colors as Lum gets also into Green and Blue channel.
Therefore this results in typically pink HA areas...
Ha should never be imbeddeed into L when doing LRGB!
Ha should be imbedded into the R channel.

Gerald

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
Re: Overlay two images
« Reply #3 on: 2017 September 23 08:11:04 »
Blend is not in the current release. Still works? Have a link

Thanks
Max

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Overlay two images
« Reply #4 on: 2017 September 23 08:27:40 »
Max!

Give me a few minutes, will come up with the private link.
On my installation WIN 7 Prof +  newest PI it works.

Gerald
P.S.: if you have added  in
Manage Update Repositories
http://pixinsight.com.ar/repository/
it should be available.

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Overlay two images
« Reply #5 on: 2017 September 23 08:40:17 »
Hi Max!

If you click
http://pixinsight.com.ar/repository/

you can download manually the zipped
BlendStarMask script.

Gerald