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

Astronomy 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!


Align red, green, blue layers:

Now when I got to learn some basic how to use Gimp for astroimages I get more critical. I can see that DSS doesn't align the sub images in the stack correct. I have to adjust red and blue relative the green layer with a couples of pixel.

There are specialized plugin for this to download, but in this tutorial I use what's built in Gimp. This align is a one point align. Only shift up/downwards or left/right.


Correct a color shift:

Align the red, green and blue layer with Gimp

It can be seen a slight shift in position of the red / green color channels. Can it be corrected or is it to small ?


Decompose:

Align the red, green and blue layer with Gimp

To shift color channel the image must be separated into its individual layers.


Extract channels:

Align the red, green and blue layer with Gimp

Use the color model RGB.


Setup the red layer to correct:

Align the red, green and blue layer with Gimp

Now the image is separated it its individual layers. Turn on the red and green layer with the 'eye' and activate the red layer that we want to shift in x and y axis.


Open the Offset tool:

Align the red, green and blue layer with Gimp

Open the offset tool from Layer>Transform>Offset.


Offset:

Align the red, green and blue layer with Gimp

Adjust X and Y offset until they match each other in position. You can either turn on/off the red 'eye' or set the red layer to 50% opacity. Maybe the split view can help in some cases. When correct, click 'OK'.


Setup the blue layer to correct:

Align the red, green and blue layer with Gimp

Next to adjust the blue layer. Turn of the red and turn on the green with the 'eye' buttons. Activate the green layer and set the opacity to 50%. Activate the blue layer and adjust, when ok click 'OK' button. In this case either the red or the blue layer was possible to adjust, needed smaller steps than discrete pixels.


Compose:

Align the red, green and blue layer with Gimp

Compose back the layer to a RGB image.


Set layers color:

Align the red, green and blue layer with Gimp

Set correct file to correct layer. Click 'OK'.


Back to rgb mode:

Align the red, green and blue layer with Gimp

Back to were we started, no difference this time, but next time the adjustment maybe is worse and can be corrected. I need a shift tool that can correct on sub pixel level. I have not find it in Gimp yet.

Go Back to content

Go Back

Advertisement / Annons: