Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Simple removal of gradients and vignetting


Recommended Posts

Gimp Version (does a better job IMHO)

Below are :

Original Image .... PixInsight Modded Image
Gimp Modded Image (exact details) .... Gimp Colour Enhanced Image

Note
The PixInsight stars are not the same colour as the original (and colours are washed out).
The 1st Gimped image has extracted the exact colour details from the original image.
The 2nd Gimped image lifts the original colours (as an option if wished)

Do appreciate that I figured this method by myself ... I'm sure it can be improved.

Original_Image_post-14666-1338773803.jpg.e6042d72ebd067b91fcdb7fcaa65eede.jpgPixInsight_modded-post-14666-133877380313.jpg.88610bc6e8349127ed56cbace490fc6f.jpg

Gimped_Original_Image_Details_(exact).jpg.f709a250d118dc19d86f5bcc3529af36.jpgGimped_Original_Image_Details_(colour_enhanced).jpg.c2320f5c29734ceb412991b733315d6d.jpg


The most important element, is that Gimp enables accurate extraction of the detail, with the option of colour enhancement
... and it doesn't cost a penny.

However, it is thanks to Rikyuu's original work, that guided me to this method 👍

I suggest that I write up the method as a separate tutorial.
Whether it should be stuck is up to the admins
... but as the original LE software is no longer available, and Gimp will be free and with us forever....

🌝

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 9 months later...
On 01/01/2020 at 20:50, Fo_Cuss said:

Gimp Version (does a better job IMHO)

Below are :

Original Image .... PixInsight Modded Image
Gimp Modded Image (exact details) .... Gimp Colour Enhanced Image

Note
The PixInsight stars are not the same colour as the original (and colours are washed out).
The 1st Gimped image has extracted the exact colour details from the original image.
The 2nd Gimped image lifts the original colours (as an option if wished)

Do appreciate that I figured this method by myself ... I'm sure it can be improved.

Original_Image_post-14666-1338773803.jpg.e6042d72ebd067b91fcdb7fcaa65eede.jpgPixInsight_modded-post-14666-133877380313.jpg.88610bc6e8349127ed56cbace490fc6f.jpg

Gimped_Original_Image_Details_(exact).jpg.f709a250d118dc19d86f5bcc3529af36.jpgGimped_Original_Image_Details_(colour_enhanced).jpg.c2320f5c29734ceb412991b733315d6d.jpg


The most important element, is that Gimp enables accurate extraction of the detail, with the option of colour enhancement
... and it doesn't cost a penny.

However, it is thanks to Rikyuu's original work, that guided me to this method 👍

I suggest that I write up the method as a separate tutorial.
Whether it should be stuck is up to the admins
... but as the original LE software is no longer available, and Gimp will be free and with us forever....

🌝

Hi. Did you ever write up any instructions on how to do this in GIMP please?

Link to comment
Share on other sites

  • 1 year later...

The GIMP-flattened image may have been black-clipped by the operation. It's hard to tell but it's something I'd be looking out for if I were to use it (which is unlikely since I have PI's DBE and ABE available and think they are the pick of the bunch.)

121193061_GIMPCLIP.JPG.4f145f63e3fa1193bad114678c7ab7f5.JPG

The image also has a considerable gradient and is very blue, an imbalance not confined to the background but also visible in the fainter stars. This image would not stretch well.

Olly

Edited by ollypenrice
Clarification
Link to comment
Share on other sites

I just love these discussions over such long periods - maybe I'll have to wait a few years for any sort of reply/feedback :D

Here is simple tutorial how to do such background removal in gimp:

Open original image / convert it into 32bit float per channel:

image.png.82a3f78e6d8cc358f0ef6d3f8ba4e154.png

Next use Filters /  G'Mic Qt

image.png.cdb03865940aa38735cded3f177923e8.png

Select details:

image.png.ca924cf3470ab7142008749da7600f59.png

and under details - select wavelet decomposition:

image.png.980ed64b4ca4c4d73266ad11a483d252.png

Select number of layers so that last layer is nice background (say 7 in this case)

This will create 7 layers:

image.png.22552786be5bc6bc913a674ac0e6aa6d.png

Last one is called residual - make a copy of that layer

image.png.1d209dff5a9e6a48757feae3afb29a91.png

Select all layers except that copy and merge them back to single layer (use merge visible layer by setting all visible except copy - set it to not visible, move residual on top as well):

image.png.cb79132279a6a087b971d03c8a2e21a8.png

Finally, set mode of that residual to subtract:

image.png.33d39983e43afb13632f8dca82ae0391.png

Here is result:

image.png.dc1bb72d2f298e082e88ef9a6d01727e.png

This will result in some clipping of the black - in order to avoid that, increase brightness of original layer or decrease brightness of residual layer by tiny bit.

Here is image and histogram after increasing brightness a bit:

image.png.636a6f93ffdc2eff150019301491efec.png

 

Link to comment
Share on other sites

  • 3 months later...

We seem to have no shortage of ways to remove gradients and vignetting especially it seems that there is a button for everything in Pixsinsight. I use Photoshop and suggest a few different alternatives that I use:

  • Remove gradients by using GadientXterminator
  • Remove gradient by using filter - blur -average and subtract this from your image. 
  • Use AstroFlat Pro it's cheap and works nicely to flattern image and take away gradient
  • Mask the nebula using color range and then remove colors from background
  • Vignetting can easily be removed or adjusted by using camera raw filter adjustment for vignetting
  • Vignetting is also taken care of in the abovementioned AstroFlat pro software
  • Any other ideas? 
Link to comment
Share on other sites

There isn't a "button for everything" in PI.  it is true that Russell Croman has recently introduced some scripts and modules that can help but a great deal of skill and experience is still needed to process a load of subs into a final image.  To say nothing of collecting the data in the first place.

  • Like 1
Link to comment
Share on other sites

4 hours ago, AstroMuni said:

Siril has a tool based on GraXpert

Great tool, so far have not found a gradient it could not deal with. IMO better than DBE in PixInsight too, but that is most likely user error as have not had time to learn DBE as well as possible.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Lots of ways to remove gradient that are quick and easy including:

  • In Photshop, click Filter then Blur select Average. Apply image and subtract from the current image layer.
  • Use RC-astro gradient Xterminator
  • Use astroflat pro
  • vignetting control in camera raw filter 

this is all with Photoshop. Hope this is of some help.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.