add gray image histogram equlization