Author Topic: Additional Flexibility in DynamicBackgroundExtraction  (Read 203 times)

Offline fneyer

  • Newcomer
  • Posts: 29
    • View Profile
Hi Juan,

I think it is a relatively easy feature to add: Could you please allow the axis of symmetry (horizontal and vertical) to be rotated by a user defined angle?

I sometimes need to correct for a linear gradient and I do this by setting two samples with either vertical or horizontal symmetry enabled. The resulting background model is a linear gradient but only with either horizontal or vertical orientation. I'm missing all the other orientations or is there another way to do it?

Thanks!
Fabian

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 5897
    • View Profile
    • http://pixinsight.com/
Re: Additional Flexibility in DynamicBackgroundExtraction
« Reply #1 on: 2017 June 17 20:02:13 »
Hi Fabian,

Nice idea. I think this can be implemented in the new DynamicBackground tool (the successor to DBE), which will be released after version 1.8.5 of PixInsight, probably in September. Thank you.

A linear gradient with arbitrary orientation can be generated quite easily with PixelMath. I'll work on a general expression and will post it here.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline fneyer

  • Newcomer
  • Posts: 29
    • View Profile
Re: Additional Flexibility in DynamicBackgroundExtraction
« Reply #2 on: 2017 June 18 12:45:34 »
Great to hear you will implement this, thank you Juan!

I'm sure there is a relatively easy way to create a linear gradient with PixelMath. The hard part (I think), however, is to correctly set the steepness of this 2D plane. With DBE this easy to do (the two positions where you want the lightness to be equal are set with two samples and DBE estimates the corresponding background values that define the slope steepness). I like this easy and very fast approach with DBE and I'm curious to see if you can do something similar with PixelMath.

Fabian