Fast adaptive contrast enhancement method for the display of gray-tone images