Wavelets for gradients and star reduction

Discuss how you are able to get those fantastic images!!!
Post Reply
User avatar
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Offline
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Offline

TSS Photo of the Day

TSS Awards Badges

Wavelets for gradients and star reduction

#1

Post by SkyHiker »


I practiced my Gimp skills a bit by applying wavelets to gradient removal and star reduction. I was pleasantly surprised about the power of wavelets. This is withe the gradient-plagued M31 image that I showed earlier as an example and that also has too many stars.

Here's the original image:
m31_a.jpg
To apply wavelets to estimate the gradients first remove the nebulosity that we want to keep and fill it in with black:
m31_b.jpg
Decompose this image using wavelets (Filters->Enhance->Wavellet-decompose...) and select scale 7. Deselecting everything except the error we get:
m31_c.jpg
This is already a pretty good gradient but the edge is a bit sharp. Apply a Gaussian blur of 100 pixels:
m31_d.jpg
Now subtract it from the original (and save it as a "new layer from visible"):
m31_e.jpg
That was pretty easye with a good result! Next, to reduce the stars, we decompose this image with wavelets. This time we select the error and scales 6 and 7:
m31_f.jpg
Subtract this from the layer that we created them from (the gradient free M31) and save this as a "new layer from visible":
m31_g.jpg
This will be the basis for our star mask that we create using Colors->Threshold. Adjust the slider enough to exclude speckles at the center:
m31_h.jpg
Using Select->Grow grow it by 2 pixels. Deselect the mask and select the gradient-free M31 zoom in to see the selection:
m31_i.jpg
Reduce the stars by Filters->Distorts->Value propagate... and select the option to make it darker:
m31_j.jpg
Let's shrink the selection by Select->Shrink... by 2 pixels and do the Value propagate again. Zooming out the result is:
m31_k.jpg
There is some speckling in the lower right that we must despeckle. Since despeckling has side effects on the nebulosity we deselect this first; free-select around the nebulosity select its complement then apply Filters->Ennhance->Despeckle... with the sliders set appropriately by looking at the results in the preview window:
m31_l.jpg
This is quite a difference from the original. When zooming in you can see some minor artifacts but over all it's not too bad. I'm sure there are ways to tweak this but I find it pretty interesting for a first wavelet experience.
... Henk. :D Telescopes: GSO 12" Astrograph, "Comet Hunter" MN152, ES ED127CF, ES ED80, WO Redcat51, Z12, AT6RC, Celestron Skymaster 20x80, Mounts and tripod: Losmandy G11S with OnStep, AVX, Tiltall, Cameras: ASI2600MC, ASI2600MM, ASI120 mini, Fuji X-a1, Canon XSi, T6, ELPH 100HS, DIY: OnStep controller, Pi4b/power rig, Afocal adapter, Foldable Dob base, Az/Alt Dob setting circles, Accessories: ZWO 36 mm filter wheel, TV Paracorr 2, Baader MPCC Mk III, ES FF, SSAG, QHY OAG-M, EAF electronic focuser, Plossls, Barlows, Telrad, Laser collimators (Seben LK1, Z12, Howie Glatter), Cheshire, 2 Orion RACIs 8x50, Software: KStars-Ekos, DSS, PHD2, Nebulosity, Photo Gallery, Gimp, CHDK, Computers:Pi4b, 2x running KStars/Ekos, Toshiba Satellite 17", Website:Henk's astro images
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Image processing”