*Article* **Retinex-Based Fast Algorithm for Low-Light Image Enhancement**

**Shouxin Liu, Wei Long, Lei He, Yanyan Li \* and Wei Ding**

> School of Mechanical Engineering, Sichuan University, Chengdu 610065, China; liushouxin@stu.scu.edu.cn (S.L.); long\_wei@scu.edu.cn (W.L.); markushe\_scu@163.com (L.H.); dingwei1995@stu.scu.edu.cn (W.D.) **\***Correspondence:yyl\_scu@163.com;Tel.:+86-15002820593

 

**Abstract:** We proposed the Retinex-based fast algorithm (RBFA) to achieve low-light image enhancement in this paper, which can restore information that is covered by low illuminance. The proposed algorithm consists of the following parts. Firstly, we convert the low-light image from the RGB (red, green, blue) color space to the HSV (hue, saturation, value) color space and use the linear function to stretch the original gray level dynamic range of the V component. Then, we estimate the illumination image via adaptive gamma correction and use the Retinex model to achieve the brightness enhancement. After that, we further stretch the gray level dynamic range to avoid low image contrast. Finally, we design another mapping function to achieve color saturation correction and convert the enhanced image from the HSV color space to the RGB color space after which we can obtain the clear image. The experimental results show that the enhanced images with the proposed method have better qualitative and quantitative evaluations and lower computational complexity than other state-of-the-art methods.

**Keywords:** Retinex; image enhancement; gamma correction; low-light image; HSV color space
