Author Topic: Pixel Math + Masks  (Read 1928 times)

Offline cmarcus

  • Member
  • *
  • Posts: 56
Pixel Math + Masks
« on: 2018 October 15 16:00:14 »
I've been following this tutorial on youtube https://www.youtube.com/watch?v=QYzNmx7KOGA on how to combine LHaRGB.
However at 29.30 they describe a process of adding the HA to the Luminance before combining the Luminance with the NBRGB. This involves putting a mask on the luminance so the HA is only added in the right places - by Pixel Math. I am finding that when performing the pixel math to add the HA to the Luminance (+mask) the mask does not work and I get a washed out luminance (I have also tested by adding the HA to the Luminance without a mask and the result is the same.
Any idea what is going wrong here?
TIA for any input
Clifford

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 231
    • sk-images
Re: Pixel Math + Masks
« Reply #1 on: 2018 October 15 19:21:41 »
Hi Clifford - You could try the following in PixewlMath

      Ha * Mask + Lum

where Ha = name of Ha image, Mask = name of mask, and Lum = name of Luminance image.

This will modify the Ha image before it is added to the Lum.

I'm no expert, but, this should work fine.

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/

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Pixel Math + Masks
« Reply #2 on: 2018 October 15 19:48:12 »
Do you have the PixelMath box ticked to create a new copy of the image?  The mask will only have an effect if you replace the original image (which is the one that has the mask applied...)

Offline cmarcus

  • Member
  • *
  • Posts: 56
Re: Pixel Math + Masks
« Reply #3 on: 2018 October 18 05:40:30 »
Thank you very much for the replies, sorry not to acknowledge sooner, but I thought the forum advised if I got an answer.
RickS you are right, that is what I needed to do, I had found that out from the poster of the video.
Regards
C