What is the mathema...
 
Share:
Notifications
Clear all

2023-04-17: APP 2.0.0-beta17 has been released !

RAW support for camera color matrix with Bayer Drizzle integration, fixed couple of image viewer issues.

 

We are very close now to  releasing APP 2.0.0 stable with a complete printable manual...

 

Astro Pixel Processor Windows 64-bit

Astro Pixel Processor macOS Intel 64-bit

Astro Pixel Processor macOS Apple M Silicon 64-bit

Astro Pixel Processor Linux DEB 64-bit

Astro Pixel Processor Linux RPM 64-bit

What is the mathematics of the adaptive pedestal?

8 Posts
3 Users
0 Likes
429 Views
(@ddnum)
Main Sequence Star
Joined: 4 years ago
Posts: 20
Topic starter  

I want to compare two calibrated frames (to see the effect of moonlight on the background). I have calibrated the frames but they are more different than I expected. They have different adaptive pedestals and I suspect that this is the cause. How do I compensate for the difference? If I subtract the pedestal I get negative pixel values which I don't like. Will unchecking the adaptive pedestal option work?

I really need to know the mathematics behind the pedestal. I don't see how it affects amp glow (why do you need to change the calibration for amp glow?) but I'd like to know the effect on moon glow.

The ultimate aim is to do a plot of moon glow over the course of a lunar month as a plot of electrons per second versus day where there are a number of sessions within the month.


   
ReplyQuote
Topic Tags
(@vincent-mod)
Universe Admin
Joined: 6 years ago
Posts: 5456
 

Interesting question, I've forwarded it to Mabula.


   
ReplyQuote
(@ddnum)
Main Sequence Star
Joined: 4 years ago
Posts: 20
Topic starter  

It's quite puzzling. The documentation says that it only affects dark frame calibration. But when I have the option on it sets the adaptive pedestal for the master dark to zero and it only affects the light frames. This seems to be a reversal of the documentation.


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 6 years ago
Posts: 3552
 

Hi @ddnum & @vincent-mod,

The adaptive pedestal will only kick in / work if darks/masterdarks are available. And it will do nothing with the darks but it will affect the dark subtraction of the lights.

If you have under-exposed your light frames and a MasterDark is subtracted, many pixels will be clipped to the black point / 0 value.

Now the adaptive pedestal will correct for this is this happens. If no pixels are clipped to 0, the adaptive pedestal will do nothing on the light frame calibration. If a significant number of pixels is clipped to 0, the adaptive pedestal will kick in.

When it kicks in, the light frames will be modified by adding an artificial pedestal, so less pixels will be clipped when the MasterDark is subtracted. On seriously under exposed light frames, the adaptive pedestal will still have the effect that still no pixels will be clipped to zero 😉

I checked the explantion of the Tooltip for the adaptive pedestal and it is correct and explains why this is important for correction of severe Amplifier Glow in the dark current of sensors.

If you have different images that have different adaptive pedestals applied, it means that under-exposure of your frames has changed. The adaptive pedestal will start with adding Y ADUs where Y ADUs actually is derived from the MasterDark statistics. If Y ADUs still lead to clipping to zero for many pixels, 2xY will be added, if that still is not enough, 3xY will be added 😉

So that should help you to compensate for your moonglow statistics.

Mabula


   
ReplyQuote
(@ddnum)
Main Sequence Star
Joined: 4 years ago
Posts: 20
Topic starter  

Thanks. This makes sense. But I don't understand why it is useful for amp glow. If the darks have amp glow then the lights will have amp glow so when you subtract the dark from the light you shouldn't get negative values.


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 6 years ago
Posts: 3552
 

@ddnum, as explained by the tooltip, if the light frames are underexposed then subtracting a MasterDark can lead to clipping on the black point/0 value, right?

Now, with severe amp-glow and these new CMOS sensors, actually many pixels will start to clip in that amp-glow region specifically... And if you don't use an extra data pedestal/offset, the pixel integration values get skewed in that amp-glow area to the upside, because the pixel value distribution in the pixel stack is cut off on the low side... leading to visual amp-glow 😉 dus to skewed statistics.


   
ReplyQuote
(@ddnum)
Main Sequence Star
Joined: 4 years ago
Posts: 20
Topic starter  

I did an integration and it turned out to have the same pedestal as the individual calibrated frames. This is the histogram of the integration - the pedestal is 0.11

integration

 Two questions:

1) to use this image in other software not aware of the pedestal I should subtract the pedestal from each pixel right? I get a few negative pixels that way but I guess that's OK

2) there are a few pixels with zero value. Where could they have come from? They seem like outliers. My guess is something to do with registration and extra pixels added on the edges.


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 6 years ago
Posts: 3552
 

Hi @ddnum,

The pedestal of the integration is the same as the pedestal of the reference ;-).

Indeed, you can subtract the reported pedestal of the integration file from all pixels in the integration. Some pixels will be clipped, yes, that is why the pedestal has kicked in 😉 If there was no clipping, no pedestal would have been added.

Of course, some zero pixels could be on the border as well due to the full composition after registration of all files.

Mabula


   
ReplyQuote
Share: