After seeing this question I couldn't help but wonder if it's possible to take some (possibly very large) number of photos of a very far away object (several kilometers) distorted by atmospheric effects like air temperature difference and humidity, and using some algorythm pick only the least distorted portions of each image, and touch up the rest. Is it a thing or is it just never done in practice?
I understand this would be very hard with moving objects, so I'm only asking about stationary objects.
