Correct Vignetting
 
Share:
Notifications
Clear all

Mar 28 2026 APP 2.0.0-beta40 will be released in 7 days.

It did take a long time to have the work finished on this and it  will have a major performance boost of 30-50% over 2.0.0-beta39 from calibration to integration. We extensively optimized many critical parts of APP. All has been tested to guarantee correct optimizations. Drizzle and image resampling is much faster for instance, those modules have been completely rewritten. Much less memory usage. LNC 2.0 will be released which works much better and faster than LNC in it's current state. And more, all will be added to the release notes in the coming weeks...

Update on the 2.0.0 release & the full manual

We are getting close to the 2.0.0 stable release and the full manual. The manual will soon become available on the website and also in PDF format. Both versions will be identical and once released, will start to follow the APP release cycle and thus will stay up-to-date to the latest APP version.

Once 2.0.0 is released, the price for APP will increase. Owner's license holders will not need to pay an upgrade fee to use 2.0.0, neither do Renter's license holders.

 

Correct Vignetting

30 Posts
5 Users
1 Reactions
2,449 Views
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi,

I am quite new in APP and just moved from OSC Camera to Mono.

Last Friday i pictured IC5070 LRGB 12x300S L and 4x300s each of RGB

My FW is a ZWO 50mm with corresponding filters. After having changed from mounted to unmounted filters i still have vignetting because my camera sensor is just too large (ASI6200 ZWO).

So wanted to remove the vignetting. First applied to the calibrated and integrated LRGB result single image, i learned it has to be applied on each individual uncalibrated fits. So I did this on the first raw L exposure without seeing the dark in the corner removed.

  • Does removing vignetting also increases the light level in the corner (to compensate the lack of signal/light there)  ? or do i mix up things ?
  • As I have vignetting on all filters i guess i have to apply it on all types L, R, G, B ?

Link to one of my L picture. https://1drv.ms/u/s!AvDvDcozziy93mHGpuQgenPRZaX2?e=mpbTbQ

 

Any advices welcome

Many Thanks

Marc

 


This topic was modified 5 years ago 2 times by Marc Hambuch

   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Hi Marc. I shoot with an ASI6200MM as well and my pictures also suffer from considerable vignetting. What calibration files do you use? The one and only good way to correct for vignetting is to use good flats and yes, you will need them for all filters. When you use those, the dark corners will be lifted to the same background level as the center of the image.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Many thanks for the reply. I have prepared 25 flats for each channel. Around ADU 33000

Here one of those https://1drv.ms/u/s!AvDvDcozziy93mJc84q0cSLzCy8w?e=GNwZUF

My calibrated and integrated image (so wo vignetting correction)  shows very bright corners so i must be doing something wrong

Marc

 

image

 



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 It can be very difficult to shoot proper flats. What light source are you using? Do you aim at 33000 ADU manually or do you use automation from some software for that? Since you have combined LRGB data, it is very hard to tell where the problem exactly lies. It requires investigating the color channels separately and investigating for which channel the flats produce a good and for which a not so good result.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

I am using an Alnitak Flip-Flat Electroluminescent Flat Fielding Device and sequence generator pro. Adu is read from the image statistic tab. What would be a good result next to the achieved adu? On all r and g and b flats i see more energy on the center that then reduces when moving to the border creating some cercle that are somehow "applied" on the combined lrgb above, very visible on the top left side. I will continue experimenting around your advice to use flats for removing vignetting. 

 

This is one flat from the green Channel. They all look similar (L R G B flats). When i integrate all to create the combined LRGB, as just stated, i have those "cercles" visible (image above, top left) and the corners with too much light.

 

 

image

This post was modified 5 years ago 5 times by Marc Hambuch

   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Hi Marc. The flats look like what you should expect to me but it is hard to judge from a screenshot. ADU 33.000 usually is OK but depending on the caqmera you may want to aim at, say, 55.000 or so to make even better use of the full bit depth of the sensor. What version of APP are you using? What other calibration files are you using?



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi Wouter, 

I use APP 1.083 beta 2

I have a set of 25 flats per channels, 51 bias, 31darks 

Thanks



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Hi Marc, could you please upload, say, 5 lights and flats for L, 5 darks and 5 bias to

https://upload.astropixelprocessor.com/

username and password both are: upload

Create a folder called marc68_flat_overcorrection and put them there. Then I'll have a look at your data. Thanks!



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Many Thanks for your time! Files uploaded.



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Thanks a lot. I have downloaded the data and processed them. Apart from maybe the lower right corner all looks OK to me:

Screenshot 2021 09 08 at 14.36.21

Perhaps you can process each color channel separately to see where the issue is? Note that once processing of the lights is done, you can load a light in the APP preview window by double clicking on a file in the files list. Then in the upper part of APP there is a drop down list that allows you to through all the steps that were performed by APP:

Screenshot 2021 09 08 at 15.05.26

That way you can inspect one or more individual subs to see how they contributed to the final stack. That should help you sort out which are the bad frames.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Thanks a lot, i will process each color channel separately in order to find the issue.  



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi Wouter

I have calibrated all lights separately. The issue comes from the RGB channels (all).

Bellow a single calibrated green. Vignetting is overcorrected and the "circles" (left side) back.

I allowed myself to load this calibrates green on the link you gave me (subfolder Greencal) with the uncalibrated fits and a couple of green flats as well as the master dark and bias. If you have time to have a look...

Marc

 

image

 



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 I am downloading the data and will have a look.



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Can you add a few more raw green light subs please?



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Done. I have only 4 raw greens in that session. Thanks for your help.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi Wouter, i have uploaded all my 4 green frames. Let me know your calibration result. Many Thanks for your help. Marc



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 Marc, sorry for the late reply. I’ll have a look today and will let you know. 



   
ReplyQuote
(@wvreeven)
Quasar
Joined: 8 years ago
Posts: 2134
 

@marc68 I can reproduce the issue but don't know exactly what's causing it. I'll ask Mabula for help. Stay tuned!



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

Having a look as well, I noticed a gain of 0 in the green lights is that correct? If I then look at the histogram at 30% stretch, I also seem to notice some data lacking in the background. Could it be that there are some true black pixels in those corners? If I'm not mistaken that could produce issues when trying to calibrate as there then would be no data.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi vincent, gain is 0 as per zwo preset in the ascom driver for this camera model. I dont think having black pixel in the corner as we can clearly see stars there on the light calibrated image as the one above from wouter. Also the issue is not only in the corners i also have the circles from the flats taken over in the cals. Those are besides the corners.


This post was modified 5 years ago by Marc Hambuch

   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

Ok, just wondering, I don't see gain 0 a lot. But things like the offset I didn't see in the header, what did you set that at?



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Gain is 0 and offset 50



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

Ok thanks for checking, that all seems fine. I'll continue investigating as well.



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

So indeed, seeing the same. I think it must be lying in the way the flats are shot. Over-correction usually is caused by a difference between how the light enters the setup normally and when the flats setup is used. Like Wouter also mentions, it may also be worth it to shoot at a higher ADU.



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Thanks Vincent, ok i will try higger adu.

 



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Hi Marc @marc68,

I am investigating your data.

Regarding the Lum data that you uploaded:

After data calibration I see the same, the vignetting profile is overcorrected in the corners. It seems that the gain and sensor offset are all okay and the same for the lights and the bias, darks and flats.

So I had a good luck at the actual calibration data and I see several issues which can and probably will explain why calibration is not working optimally 😉

First have a look at the bias and darks, this is a single dark frame where I set the Black slider to zero to see if the sensor offset is set high enough :

Dark clipping on left side of histogram

Clearly it isn't because the histogram is clipping on the left side. The Same holds for your bias frames. So that needs to be fixed and can easily be done by using a higher sensor offset using your camera's driver.

Now if I look at your Luminance flats, I see immediate problems I think, the vignetting profile is not uniform from center to the corners, it has ripples in it and that will never be okay I would expect.

Lum Bad Flat

So.. probably you will need to change/improve the way in which you make your flats for this setup. But first try to fix the sensor offset and check if things have improved 😉 already.

Will check your green data as well now.

Mabula



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Hi Marc @marc68,

Just had a look at the green flats. I see the same issue as with your lum flats, they show ripples in the vignetting profile and that needs to be solved/fixed. You expect a smooth illumination profile in the flats from the center to the corners without those ripples superimposed on it.

Green Bad Flat

Mabula



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi Mabula, thanks a lot for having looked into this. Got your points and will apply. I was not sure about those "circles" in my flats, i guess this is what you name ripples. I will try to find out why my alnitak flip flat device does produce this and also increase offset.



   
ReplyQuote
(@the_bluester)
Main Sequence Star
Joined: 7 years ago
Posts: 26
 

Just to confirm something, your flats were shot at 0 gain as well? I recently had a very similar issue with my ASI2600, flats shot carefully at 100 gain (Sky flats and with a panel) looked fine and the master flat looked fine but it over corrected the corners. I reshot really rough flats at 0 gain by just guessing exposure times as the sky darkened and they corrected really nicely, so I reshot proper sky flats at 0 gain. The illumination is quite flat to begin with and all I can think of is that the 5ADC/e of 100 gain (About the same as your 6200) introduced too much quantisation uncertainty for the flats to work well. 

 

I didn't do that until after I spent quite some time looking for light leaks of course!



   
ReplyQuote
(@marc68)
White Dwarf
Joined: 6 years ago
Posts: 14
Topic starter  

Hi, yes gain 0 and offset 50 for all flats. I will try the points from mabula, what i dont yet get i where those ripples on my flats are coming from. Need to check my setup. Thanks



   
ReplyQuote
Share: