Author Topic: Batch Normalization?  (Read 2578 times)

Offline evwark

  • Newcomer
  • Posts: 1
Batch Normalization?
« on: 2013 August 12 10:11:28 »
I've been working on some solar time-lapse animations, combining several hundred still images into a video.  Unfortunately, because of the way the frames are generated, some tend to be brighter than others, and the end result is a sun that seems to flicker pretty badly.

I know PixInsight can normalize groups of images as part of its integration process... but is it possible to perform normalization as a stand-alone operation?  If the standard "Scale + Zero Offset" isn't available on its own, would it be possible to get the same effect out of Pixelmath?

Thanks in advance!

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Batch Normalization?
« Reply #1 on: 2013 August 25 06:51:33 »
You would need to make the statistics of the images compatible to each other. Most likely, you can do this with a bit of PixelMath, scaling the images such that they have identical mean values (or medians) and variances (or mad). You could then apply this formula to a stack of images using the ImageContainer process.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Batch Normalization?
« Reply #2 on: 2013 August 25 12:19:01 »
The LinearFit process might also do what you need.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)