We present a new image enhancement algorithm based on combined local and global image processing. The basic idea is to apply α-rooting image enhancement approach for different image blocks. For this purpose, we split image in moving windows on disjoint blocks with different size (8 by 8, 16 by 16, 32 by 32 and, i.e.). The parameter alfa for every block driven through optimization of measure of enhancement (EME). The resulting image is a weighted mean of all processing blocks. This strategy for image enhancement allows getting more contrast image with the following properties: irregular lighting and brightness gradient. Some experimental results are presented to illustrate the performance of the proposed algorithm.