Author Topic: What is going on here?  (Read 2056 times)

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
What is going on here?
« on: 2018 September 24 00:43:14 »
I have luminance  subs of varying quality, so I am trying the following
1.  Use all the subs to get an image with a smooth background. (Image A)
2. Generate a better quality image (smaller FWHM) by only using the best subs.(Image B)
3. Substitute the objects of interest (stars and a galaxy) from the good FWHM image into the smoother background image.

So what I tried was the following once I had the two frames
1.  Cover image A with a luminance mask to protect the background
2.  Load image B into pixelmath with no other expression, just the file name
3.  Apply pixelmath to image A protected by the mask by pulling the little triangle at the bottom left of the tool onto image A

When I do this, the resulting image is always identical to image B!!?? Even if I apply a pure black mask to image A, the same thing still happens.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline GJL

  • PixInsight Addict
  • ***
  • Posts: 102
Re: What is going on here?
« Reply #1 on: 2018 September 24 01:18:00 »
Had a similar problem yesterday. My impression is that PixelMath does not consider the mask.
What do our specialists say?

Gerhard

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: What is going on here?
« Reply #2 on: 2018 September 24 01:25:47 »
No, after PixelMath the mask is always used!

The only case could be the mask was put to status "do not use" in the mask selections
(There is:  invert, invisible, DONT USE, remove in the selection possible)

Gerald

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: What is going on here?
« Reply #3 on: 2018 September 24 01:28:03 »
I just tried a couple of experiments with a masked image and PixelMath and it seems to be working fine for my specific examples.  Do you have the mask disabled, Geoff?  Try Ctrl+Shift+M to toggle the enabled/disabled status.

Cheers,
Rick.

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: What is going on here?
« Reply #4 on: 2018 September 24 02:46:28 »
Tab was showing brown, so I presume mask was enabled. I will post some examples tomorrow.
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: What is going on here?
« Reply #5 on: 2018 September 24 16:49:06 »
Here is a screen shot of what I am doing. I have deliberately chosen a ridiculous mask to highlight the problem.
When I apply Image B to the masked image I get a copy of image B.
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: What is going on here?
« Reply #6 on: 2018 September 24 17:10:48 »
you need to replace the target image for the mask to take effect...

rob

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: What is going on here?
« Reply #7 on: 2018 September 24 19:12:22 »
Aha! Thanks Rob.
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline GJL

  • PixInsight Addict
  • ***
  • Posts: 102
Re: What is going on here?
« Reply #8 on: 2018 September 26 00:29:09 »
That was my mistake, too. Thank you

Gerhard