added histogram equalization and adaptive histogram equalization