A Comparative Study of Color and Contrast Enhancement for Still Images and Consumer Video Applications