PixInsight Forum (historical)

PixInsight => Bug Reports => Topic started by: C. Sonnenstein on 2008 August 27 09:13:13

Title: Message Error in DBE
Post by: C. Sonnenstein on 2008 August 27 09:13:13
There is a error message in DBE instance says that less than three background samples have been defined. Obviously, I have defined more samples in this case.

I report a screenshot with the workflow:

(http://wrunch.com/images/bfi1219853553c.jpg)

What happens?
Title: Message Error in DBE
Post by: C. Sonnenstein on 2008 August 27 09:35:37
Well, it seems this error message only happens with this image. I have tried with others different formats and sample files, and DBE it works fine.
Title: Message Error in DBE
Post by: Juan Conejero on 2008 August 27 12:34:16
Hi Carlos,

This isn't a bug. It happens because despite the fact that you've defined more than three samples, less than three of them are significant. A significant DBE sample has statistical weights greater than zero for the three channels (in a RGB color image). Watch the Wr, Wg and Wb values.

The best way to ensure that more samples are significant, is to increase the Tolerance parameter and/or Shadows Relaxation.

Let me know if this is what happens in your case.
Title: Message Error in DBE
Post by: C. Sonnenstein on 2008 August 27 13:46:20
Juan you are right, it is not necessary at all to increase the tolerance and/or shadows relaxation parameters, only I put some more samples in the upper of the image and then the algorithm runs.

Thank you.