Puggo - Jar Jar's Yoda said:
The scripts for aligning and combining the clips also worked! So now I have to identify those scenes that might benefit from it, because judging from the output many scenes won't. If there were a way to have it choose pixels based on which pixel is less extreme (that is, pick the pixel closer to the midpoint, which should use the lighter source in the dark areas, and the darker source in the light areas - rather than averaging them), then it could probably be used everywhere. Hmm, I wonder if anyone has ever written a script to do that? As it is, it may only be useful for improving sections that are already pretty good in both sources.
Pretty remarkable nonetheless. I could see using this for a variety of applications besides this one.
I'm glad it works. Maybe you could try to change this variable:
avgcap1cap2=overlay(cap1out,cap2out,mode="blend",opacity=0.5)
to something like this:
avgcap1cap2=overlay(cap1out,cap2out,mode="luma",opacity=0.5)
(darkclip,lightclip,mode="luma,opacity=0.5)
The base clip should probably be the darker clip and the overlay clip should be the lighter clip. Then change the opacity to try and find what you are looking for. opacity=1 might even work.
It might work, might not.