In aerial images, there are many shadows covered by buildings, which not only influence the visibility of the images, but also the recognition of objects. It is necessary to compensate and remove the shadows. The Retinex is an image enhancement algorithm which can improve the brightness, contrast and sharpness of the images. A self-adaptive Retinex is proposed to overcome some limitations of the traditional Retinex. The self-adaptive Retinex can provide the parameters based on the average gray of the shadowed regi...