Characterization of the atmosphere vertical distribution from short-exposures images