Author Topic: BackgroundNeutralization question  (Read 4743 times)

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
BackgroundNeutralization question
« on: 2011 May 09 21:23:31 »
Does the BN process use the values of every pixel above the lower limit and below the upper limit to do its calculations? If not, what else determines what is to be considered background and what isn't?




Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: BackgroundNeutralization question
« Reply #1 on: 2011 May 13 07:51:16 »
Nobody knows?  ???

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: BackgroundNeutralization question
« Reply #2 on: 2011 May 13 08:09:48 »
Have a look at the documentation  >:D
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: BackgroundNeutralization question
« Reply #3 on: 2011 May 13 09:59:24 »
I have read the docs, Georg. In fact, I actually put together some documentation myself, remember? :)
http://blog.deepskycolors.com/PixInsight/ColorCalibration.html#BackgroundNeutralization

But if that's the case, then the default value of 0.1 for the upper limit seems rather aggressive, doesn't it?
At least, in pretty much all my images, after calibration/etc, most of the data - basically everything except the core of stars - is always below the 0.1 threshold, so applying BN with the default values would be technically incorrect. That's why I was asking the question.

And yes, I understand a default is just that, so maybe I'm just thinking too much here...  8)



Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: BackgroundNeutralization question
« Reply #4 on: 2011 May 13 10:48:52 »
Hi Rogelio
I have not seen the code of BN, but those values certainly look like thresholds of the data, to set valid samples, and nothing else.
Also, there seems to be no statistical rejection, to avoid stars for example. The process is just confident that you selected a good reference, where the background dominates the statistics (the peak of the histogram is a good approximation to the background mean value, and so is the median of the reference).

You may decrease that value to avoid "contamination" of the sample, and let the median to be closer to the peak, but I would say that for background neutralization purposes, it is not critical.
Regards,

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

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: BackgroundNeutralization question
« Reply #5 on: 2011 May 13 11:09:10 »
I have read the docs, Georg. In fact, I actually put together some documentation myself, remember? :)
http://blog.deepskycolors.com/PixInsight/ColorCalibration.html#BackgroundNeutralization

...

Hi RBA,
My intention was to remind the PTeam that (official) documentation is very important. It should be possible to answer such questions without looking at the source code.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: BackgroundNeutralization question
« Reply #6 on: 2011 May 13 11:12:44 »
You may decrease that value to avoid "contamination" of the sample, and let the median to be closer to the peak, but I would say that for background neutralization purposes, it is not critical.

I agree with that. I guess I' m thinking in a more theoretical fashion.
The general recommendation so far seems to have been to mainly "select a reference that is well representative of the background", but I have never seen a recommendation of for example, actually looking at the histogram to better determine - even approximately - where the background ends and the signal begins, .

As I see it, usually the background seems to sit at a much lower range than "everything above 0 and below 0.1". Not a problem indeed if a good reference is selected, when a good reference can be found.

Thanks!


Offline martin_magnan

  • Member
  • *
  • Posts: 68
    • Messager Céleste
Re: BackgroundNeutralization question
« Reply #7 on: 2011 May 16 09:30:09 »
Well... sometime  simple trivial question can lead to enlightenment. that just happen to me with this thread. I had mixed success with the neutralize background process. I was using default values Now everything is clear.

Thanks !!!
MArtin
TEC140 / AP1200GTO / QSI583wsg - Astrodon LRGB 2 filters / Lodestar X2 Guider / Robofocus
http://www.messagerceleste.com