Removal of Fog from Hazy Images and Their Restoration