add show histogram of gray image