图像增强是图像处理中的一个经典问题,以传统的分段线性变换为基础,利用人工鱼群算法和二维Otsu阈值法,提出了一种自适应的图像对比度增强算法。该方法利用优化后的人工鱼群算法自动选取双阈值,依据图像的对比度自动搜索灰度变换斜率,得到最优的分段线性变换曲线,并用之对图像进行增强处理。实验表明,该方法可有效提高图像对比度,且优于直方图均衡化、反锐化掩模等传统的对比度增强方法。
Image enhancement is a typical problem in image processing.Based on the traditional piecewise linear transformation,this paper makes use of Artificial Fish Swarm(AFS)algorithm and two-dimensional Otsu threshold method,and puts forward a self-adaptive image enhancement algorithm.In the algorithm,dual thresholds are selected via an improved AFS algorithm.According to the quality of image contrast,transformative slopes are decided automatically.The image is enhanced with the best piecewise linear transformation curve.Experimental results show the suggested algorithm not only can improve image contrast efficiently,but also is superior to traditional contrast enhancement methods such as histogram equalization method and un-sharp mask method.