Roy Easto
unread,Jan 5, 2026, 11:25:08 AM (9 days ago) Jan 5Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to croydo...@googlegroups.com
Just a post to ask what other people have as a solution to a particular
image processing problem.
The problem is to remove sky background from a wide field image, say a
20mm - 200mm camera lens where there is a light gradient across the
image. So without removing the background, if you brightness stretch the
image to show fainter stars you will burn out part of the image and
blacken other parts.
Flat fields are done but as the gradients are real in the sky they do
not disappear. I have tried generating gradients programmatically but
without great success. Finally I asked ChatGPT to write me a program and
this is what I use now. It takes the image, identifies and removes the
stars, replaces the hole with surrounding levels and then does a large
Gaussian blur on the whole image to create a background for subtraction
from the original image.
The attached image is a side by side comparison of the raw vs processed
image after flat fielding and background generation and subtraction. The
image is a 5 second exposure at f1.4 with a 50mm lens and mag 10 stars
are just visible.
I'm wondering if other people use functions within PaintShopPro or
something else?
Roy