Astrofriend's homepage

www.astrofriend.eu
Share: Twitter Reddit Facebook Gmail Gmail Email
Search Astrofriend's homepage:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR

Navigation

Advertisement /
Annons:

Twitter @AstrofriendLars

Follow Astrofriend

Project News

Advertisement / Annons:

Tutorial:
Gimp for astrophotography


Content:

Note:
I take no responsibility or liability for what are written here, you use the information at your own risk!


2.1, Correct image for vignetting:

I got a question on a forum if it's possible to correct the optical vignetting (rotational symmetric) in Gimp. I had never thought about to do it in Gimp because I do it in AstroImageJ with high precision. I took a look on how to do it in Gimp and found it to be very easy.


Test object comet Panstarrs C/2011 L4:

Correct image for vignetting, Gimp

To do this I took the same image as earlier, my Panstarrs comet. This image is already calibrated and now has very low vignetting. But it doesn't matter, I just only want to show the procedure.


Make a copy and create a gradient layer:

Correct image for vignetting, Gimp

Make a copy of the image and rename it to radial gradient.


Gradient tool:

Correct image for vignetting, Gimp

Click on the gradient tool and change the shape. Vignetting is rotational symmetric around the center of the image.


Set to shape Radial:

Correct image for vignetting, Gimp

Choose Radial shape.


Set foreground color:

Correct image for vignetting, Gimp

In center of the image the optics has it brightest part. Because we will do a division as we do when doing a normal flat calibration. We normalize the gradient to be white in center, Luminance = 100, check that also the R,G and B is set to 100.


Set the background color:

Correct image for vignetting, Gimp

Do some measurement about how much the signal has dropped in the corners relative the center. You can use the Drop tool. If the drop is 30%, set the background to 100 - 30 = 70, check also that R, G and B get the same level.


Set direction of gradient:

Correct image for vignetting, Gimp

If we want to start from center: Click on the square symbol until it has the white part to the left. FG to BG means, Foreground to background direction.

Set the first point in center of image, the foreground color. Then move to one of the corners and set the second point, background color.


Set layer to Divide:

Correct image for vignetting, Gimp

Set the radial gradient layer to Divide. In this case it got a bit overcorrected, and of course it should be that because it was already corrected for vignetting. After this you subtract the background.

When doing a flat calibration with this method you don't correct for the pixel to pixel variations. That comes from the different gain of different pixels. I handle it by taken my images with dithering, i.e. small movements between each image. When stacking the variation between pixels is somewhat even out.

To my surprise this was very simple to do, maybe you don't get the precision as I can get in AstroImageJ. But it will be OK in most cases.

Go Back to content

Go Back
Next: Correct for really bad vignetting

Advertisement / Annons: