Author Topic: Which is the best addition of 2 frames formula  (Read 2766 times)

Offline Tom OD

  • PixInsight Enthusiast
  • **
  • Posts: 88
Which is the best addition of 2 frames formula
« on: 2014 March 01 07:38:15 »
Hi All,
I have not taken an image for months due to work commitments. I finally have some data to play with and I can't remember a thing.
I want to add two images together, and I don't know what is the best formula in pixel math.
0.5 A + 0.5 B
(0.5 A + 0.5 B)/2
0.5 *A + 0.5*B
(0.5 *A + 0.5*B)/2
etc....
I have Geralds tutorials somewhere in a link, should I just start again and get watching and taking notes.
Also anyone got a quick reference for the noise evaluation script. I can't remember what the J, and % bits mean when you run the script. There is no documentation in the process drop downs
Thanks Tom.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Which is the best addition of 2 frames formula
« Reply #1 on: 2014 March 01 12:31:44 »
Use ImageIntegration and select each image twice. This way the tool will "see" four images and will allow you to combine them. Use average combination with noise evaluation weighting and additive output normalization (both options are enabled by default). This will give you an optimal combination in terms of SNR.

Quote
0.5 A + 0.5 B
(0.5 A + 0.5 B)/2

These are not valid PixelMath expressions because they lack operators between 0.5 and A and 0.5 and B.

Quote
(0.5 *A + 0.5*B)/2

This will average both images, but the result will be divided by two.

Quote
0.5 *A + 0.5*B

This will work as expected: the mean of both images.

Another possibility is:

(A + B)/2

and simply:

A + B

with the Rescale Result option enabled.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Tom OD

  • PixInsight Enthusiast
  • **
  • Posts: 88
Re: Which is the best addition of 2 frames formula
« Reply #2 on: 2014 March 01 13:07:55 »
Thanks Juan,
I'll get straight back to work now on the image.
Tom.