Image Restoration Under Adverse Illumination for Various Applications