So I have an obscure problem. I take timelapses using computer scanners. Right now I am watching a fungus colonize legumes (tempeh). The motor and/or belt on one of my scanners is acting up. In some photos it will go a bit slower on some portions of the scanner platen, which has the effect of making those portions mildly stretched. When these images are rendered into a video it kind of creates a shimmering effect.
I had this problem before, but it turned out that the problematic images were stretched uniformly, so I was able to create a Photoshop action where I stretched them back using Free Transform and it fixed the problem. The problem with this timelapse is that the stretching happens very subtly and non-uniformly so you would have to go image by image and determine which portions of each image are stretched, and manipulate them back to how they should be. That would be very hard to do manually.
Maybe this would be in the domain of a different program, but would there be any way within AE to detect which parts of the images in the sequence are stretched and stretch them back automatically? I realize that this is a complicated and obscure problem that might be hard to fix in post.