Author Topic: Problem with DBE  (Read 5544 times)

Offline Astrocava

  • PixInsight Addict
  • ***
  • Posts: 180
    • Astrocava.com
Problem with DBE
« on: 2009 July 18 06:40:39 »
Something strange. ???

I put 64 samples to make model, but i got this message saying that there are less than three samples:

http://img405.imageshack.us/img405/8739/errora.jpg

Sergio
Moonfish ED80 over a Meade LX200GPS 8"

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Problem with DBE
« Reply #1 on: 2009 July 18 08:02:11 »
Hi Sergio,

This happens because less than three samples are statistically significant as background samples. The Wr, Wg and Wb fields of the DBE interface represent the statistical weights for the currently selected sample in the red, green and blue channels, respectively. These weights correspond to the probability of a sample to represent the sky background in the image: a weight value of 1 means that the sample is being considered as fully representative of the background; a weight of 0 means that the sample does not represent the background at all.

What is happening in your case is that, even while you've defined much more than three samples, less than three of them have been assigned weights greater than zero (at least for one channel). To fix this problem you must tell DBE to apply more tolerant sample rejection criteria. Try increasing the Tolerance parameter, and perhaps also Shadows Relaxation. Your goal is to convince DBE that your samples are representative of the background.

Let me know how it goes.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Problem with DBE
« Reply #2 on: 2009 July 18 08:24:39 »
Hmm, this is interesting. To be honest the DBE parameters besides sample size are pretty much voodoo to me so I always use default settings.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Problem with DBE
« Reply #3 on: 2009 July 18 11:02:22 »
Hi

I try and adjust the tolerance settings as low as I can get while still including the data from the samples

I find doing this very usefull particulary when working with faint nebula it helps not to over flatten and have gone as low as .05


Regards Harry
« Last Edit: 2009 July 18 12:02:48 by Harry page »
Harry Page

Offline Astrocava

  • PixInsight Addict
  • ***
  • Posts: 180
    • Astrocava.com
Re: Problem with DBE
« Reply #4 on: 2009 July 18 11:51:44 »
Hi Sergio,

This happens because less than three samples are statistically significant as background samples. The Wr, Wg and Wb fields of the DBE interface represent the statistical weights for the currently selected sample in the red, green and blue channels, respectively. These weights correspond to the probability of a sample to represent the sky background in the image: a weight value of 1 means that the sample is being considered as fully representative of the background; a weight of 0 means that the sample does not represent the background at all.

What is happening in your case is that, even while you've defined much more than three samples, less than three of them have been assigned weights greater than zero (at least for one channel). To fix this problem you must tell DBE to apply more tolerant sample rejection criteria. Try increasing the Tolerance parameter, and perhaps also Shadows Relaxation. Your goal is to convince DBE that your samples are representative of the background.

Let me know how it goes.

Thanks Juan. At least this will be useful to understand a bit more the DBE process. As Noctuyrnal said I only control the size of the box. :P

Sergio
Moonfish ED80 over a Meade LX200GPS 8"

Offline Astrocava

  • PixInsight Addict
  • ***
  • Posts: 180
    • Astrocava.com
Re: Problem with DBE
« Reply #5 on: 2009 July 21 10:51:47 »
Ok. I think I know what happens. The shots were made using my DSLR modified camera, and after calibrating with DSS and integrated with PI, the red curve is far right from the others, so all Wr values from all samples are zero. I need to put together the curves before doing DBE, perhaps with ChannelMath?

Sergio

Edit: ChannelMath didn't solve the problem, even ABE is unable to do it.

Code: [Select]
* Sample box generation and rejection:
Channel #0
Generating 532 background regions: 100%
Number of selected background regions: 508
Extracting background samples: 100%
Number of background samples: 0
*** Error: Insufficient background samples - couldn't build a meaningful background model

Only with tolerance 10 DBE can model the background, but...
« Last Edit: 2009 July 21 11:06:19 by cavamen »
Moonfish ED80 over a Meade LX200GPS 8"