Explosion analysis from images: Trinity and Beirut