Image enhancement plays an important role in image processing. This paper proposed method using a nonlinear(exponential) function. Firstly, we use the exponential function to construct gray transformation equation. Then, depending on position of each pixel, scale obtained by is further adjusted based compression factor. In section 3, comparative experiment shows that could achieve good performa...