Gerrit Erdt and I jointly developed a new and much improved script to find background in astronomical images.
Video explaining the new script: LinkToYoutubeVideo

What problem does it solve:
In images of dense star fields or nebula, it is often hard or close to impossible to find a region where you are sure that there are no objects.
FindBackground is able to quickly and reliably find a very good background estimate or the best possible background estimate based on your parameters.
What is the result after application:
The script creates a preview covering the found background region and prints all relevant information about it to the console. This includes the average background brightness per channel, additive color correction constants, and the coordinates of the found region.
Requirements:
- Gradients must have been removed. Otherwise, it will just chase the gradient and converge on a place with the lowest gradient impact.
- Stacking artifacts at the edges must have been removed for the same reason.
How to use the script:
You can apply the script to monochrome and color images.
For most images, the default parameters should work well, so you can immediately apply the script to any of the open images.
It will, per default, create a preview covering the background and print information about it to the console.For more complex cases, you can adapt all relevant parameters.
The complete documentation of every functionality can be found in the tooltips of the script. Yes, every element on there has a tooltip!
Known limitations:
Currently, none.
Installation:
Add my repository to your updates repository list (be sure to click the link then copy the full URL from the address bar):https://raw.githubusercontent.com/setiastro/pixinsight-updates/main/
You can manage your update repository list under Resources -> Updates -> Manage Repositories -> Add
It will install this script, and all my other scripts. You can find them under Script -> SetiAstro
For a standalone download, you can use this link to my website: https://www.setiastro.com/pjsr-scripts
In case you have any questions, please reach out!!
[email]frank@setiastro.com[/email]
[email]gerrit_erdt@hotmail.com[/email]
We hope you enjoy the script and it simplifies your process!
Video explaining the new script: LinkToYoutubeVideo

What problem does it solve:
In images of dense star fields or nebula, it is often hard or close to impossible to find a region where you are sure that there are no objects.
FindBackground is able to quickly and reliably find a very good background estimate or the best possible background estimate based on your parameters.
What is the result after application:
The script creates a preview covering the found background region and prints all relevant information about it to the console. This includes the average background brightness per channel, additive color correction constants, and the coordinates of the found region.
Requirements:
- Gradients must have been removed. Otherwise, it will just chase the gradient and converge on a place with the lowest gradient impact.
- Stacking artifacts at the edges must have been removed for the same reason.
How to use the script:
You can apply the script to monochrome and color images.
For most images, the default parameters should work well, so you can immediately apply the script to any of the open images.
It will, per default, create a preview covering the background and print information about it to the console.For more complex cases, you can adapt all relevant parameters.
The complete documentation of every functionality can be found in the tooltips of the script. Yes, every element on there has a tooltip!
Known limitations:
Currently, none.
Installation:
Add my repository to your updates repository list (be sure to click the link then copy the full URL from the address bar):https://raw.githubusercontent.com/setiastro/pixinsight-updates/main/
You can manage your update repository list under Resources -> Updates -> Manage Repositories -> Add
It will install this script, and all my other scripts. You can find them under Script -> SetiAstro
For a standalone download, you can use this link to my website: https://www.setiastro.com/pjsr-scripts
In case you have any questions, please reach out!!
[email]frank@setiastro.com[/email]
[email]gerrit_erdt@hotmail.com[/email]
We hope you enjoy the script and it simplifies your process!


