Added contrast enhancement (linear stretching histogram) and HSI manipulation.