Real Time and Post Facto Solar Image Correction