Author Topic: DBE question  (Read 5635 times)

Offline greeko

  • Newcomer
  • Posts: 16
DBE question
« on: 2009 September 09 04:55:01 »
Hi

When using the DBE tool to generate the sampling of an image the result is lacking samples over the entire image and I'm not sure how to compensate for this.
On occasion I've had the entire image covered but not sure what feature function or parameter has an impact on this.

The most common setting I use are
Default sample radius 12
Samples per row 20

I"ve tried different settings with limited change.
Is there some parameter or pre cursor to help ensure the samples are generated to cover the entire image?

The idea is to eliminate having to manually generate the samples which isnt fun on a APS size chipset image.

Thanks in advance.

Troy

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: DBE question
« Reply #1 on: 2009 September 09 07:50:29 »
Hi Troy

If you want something automatic, and just play with some parameters, give first ABE a try. It works with another kind of interpolation, but it makes a global fit, instead of a local one, as in DBE.

Of course, ABE will fail if you images are not dominated by background sky, i.e. you have large nebulaes, or very dim objects crossing the entire frame. In those cases the only choise is DBE.

Now, in DBE, you have 2 choises. Using a system similar to what is internally done in ABE, DBE lets you automatically generate samples over the entire image. To include (or reject) more samples, just change the tolerance and shadows relaxation parameters. How dense is the grid is controlled by the number of samples per row. Usually it is not necessary to cover the whole image, or to have too many samples. Just enough to be representative. Remember that the background modelization is a smooth function, and in normal conditions you wont have small or medium scale variations.
Once you found a good compromise with those parameters, manually add or erase samples, to ensure that they are located over background sky only. This is the main advantage of DBE over other algorithms.
Regards,

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

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: DBE question
« Reply #2 on: 2009 September 09 10:32:40 »
manually add or erase samples, to ensure that they are located over background sky only.

Is this really needed? I understand that the box in the DBE's interface where the samples' contents is shown is lighter in areas that have more weight, and darker in areas that tend to be ignored for the purpose of the model generation. So, a sample that falls on a star usually has a black circle, indicating that there's no problem at all with it being on a star. This also implies that samples over nebulosity have less weight too.

Am I wrong?
--
 David Serrano

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: DBE question
« Reply #3 on: 2009 September 09 10:49:28 »
Yes, stars don't count. Very large ones are automatically excluded, so it is very unusual to have a sample over one of them (the internal algorithm rejects the sample). I was talking about really faint features, wich are very close in brightness to the background, so it is not obvious for the algorithm to discriminate, even with a low tolerance. Also this scheme may be screwed a bit if the object is too big (cover a significant portion of the image), so the global statistics are not a good starting point to determinate what is considered as background.

BTW, less weight does not mean no weight at all ;) It may produce a slight deformation on the output model, even when the current DBE's algorithm is much more robust and intelligent right now to avoid this side-effect.

(Have I said that sometimes I'm quite a bit "perfectionist"? :D )
Regards,

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

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: DBE question
« Reply #4 on: 2009 September 09 11:36:12 »
Hi Troy

When I get this problem I adjust the min sample weight down to get the samples on the screen and once I have done
that fiddle with the tolerance setting to get a good selection in samples ( Ie lightish in colour)
Most stars are ignored but i would steer away from bright stars


Regards Harry
Harry Page

Offline greeko

  • Newcomer
  • Posts: 16
Re: DBE question
« Reply #5 on: 2009 September 14 15:59:13 »
Hi Carlos and Harry

This was really helpful and thanks for your suggestions I'm rolling again.
No carpeltunnel for me now. :P

Troy
« Last Edit: 2009 September 14 16:09:35 by greeko »

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: DBE question
« Reply #6 on: 2009 September 18 06:33:09 »
It's not the cores of the stars that are the problem but the faint outer regions. Depending on the image and the DBE settings these can affect the model. I avoid stars in my samples and only place them by hand. If you get areas that are lighter or darker than the surroundings look for samples in that are in the wrong spot. If a sample is too light the resulting model will be light which in turn punches a 'hole' in the image.

With the new DBE (integrated image adjustment) it's much easier to make iterative improvements on the DBE data set.
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 Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: DBE question
« Reply #7 on: 2009 September 18 07:14:18 »
I fully agree with Sander's opinion: outer regions of stars are the most problematic ones for DBE's rejection routines. The reason is simple: uncertainty. Statistical models for real (that is, uncertain) data are always subject to error (that's why statistics isn't actually a branch of mathematics ;D). So we really can't discriminate where a star ends and the background begins in an "ideal" way.

The Tolerance DBE parameter, along with a few more, has been designed to deal with this problem. Tuning Tolerance is actually a must to achieve good results with DBE. The same is true for ABE, of course.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: DBE question
« Reply #8 on: 2009 September 18 07:17:20 »
Hi,

I should add that high quality optics, mount and clear skies all make this less of a problem because the FWHM values of star go down. This makes them steeper and that allows statistics to be more effective as that faint outer region gets smaller and smaller. So now you know why I need to be careful with stars in my samples :) So-so optics, crappy mount and terrible skies :)
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