underwaterCorrection

所属分类:其他
开发工具:matlab
文件大小:2404KB
下载次数:28
上传日期:2020-05-31 15:51:06
上 传 者1145556
说明:  基于暗通道先验的颜色校正算法进行仿真模拟,得到了较为自然准确的恢复图像。本文仿真的算法主要分为三个子模块:暗通道先验、折射率计算、颜色校正。暗通道先验提供了颜色校正需要的参数,颜色校正后的图片基本实现了颜色失真的校正。最后对处理得到的图片进行质量评价。实验结果表明,本文的算法能够基本实现水下图像的恢复,能够很好地校正失真的图像,改善颜色失真的情况。
(The color correction algorithm based on the dark channel prior is simulated, and the more natural and accurate restoration image is obtained. In this paper, the simulation algorithm is divided into three sub modules: dark channel prior, refractive index calculation, color correction. The dark channel prior provides the parameters needed for color correction, and the color corrected image basically realizes the correction of color distortion. Finally, the quality of the processed image is evaluated. The experimental results show that the algorithm can basically achieve the restoration of underwater image, can correct the distorted image and improve the color distortion.)

文件列表:
underwaterCorrection\colorCorrect.m (508, 2020-04-21)
underwaterCorrection\getTransmissivity.m (859, 2020-04-21)
underwaterCorrection\Idark.m (817, 2020-04-21)
underwaterCorrection\InputImages\test1.jpg (27697, 2018-02-04)
underwaterCorrection\InputImages\test2.jpg (115832, 2018-02-04)
underwaterCorrection\InputImages\test3.jpg (46798, 2018-02-04)
underwaterCorrection\InputImages\test4.jpg (81097, 2018-02-04)
underwaterCorrection\mainTest.m (935, 2020-04-21)
underwaterCorrection\OutputImages\ccI.jpg (125728, 2020-04-21)
underwaterCorrection\test.m (3070, 2020-04-21)
underwaterCorrection\valueImages.m (713, 2020-04-21)
underwaterCorrection\基于暗通道先验和自适应颜色校正的水下图像处理.pdf (1891010, 2020-04-21)
underwaterCorrection\流程图1.png (84400, 2020-04-21)
underwaterCorrection\流程图2.png (6550, 2020-04-21)
underwaterCorrection\InputImages (0, 2020-04-20)
underwaterCorrection\OutputImages (0, 2020-04-21)
underwaterCorrection (0, 2020-04-21)

# 基于暗通道先验的水下图像恢复 ## 算法流程 本程序算法主要参考的是四川大学的[基于暗通道先验和自适应颜色校正的水下图像处理](基于暗通道先验和自适应颜色校正的水下图像处理.pdf)。 文章中的算法流程图如下: ![avatar](流程图1.png) 本程序实现了暗通道先验及自适应颜色校正,主要的详细流程变更为下图所示: ![avatar](流程图2.png) 各部分的内容在参考文献中给出,这里不再赘述。 ## 模块说明 ### 主模块 1. [mainTest](mainTest.m) : 主程序,包括读取图片,调用各子函数模块 2. [Idark](Idark.m):计算水下图片的暗通道先验,得到一个和原图片同样大小,但是通道为一的灰度图片 3. [getTransmissivity](getTransmissivity.m):根据暗通道先验得到的A,计算折射率 4. [colorCorrect](colorCorrect.m):根据暗通道先验和折射率自适应矫正图像颜色 ### 其他 * [test](test.m):基于直方图均衡的图像增强算法,供测试对比 * [valueImages](valueImages.m):对比水下原图和算法恢复图片边缘数目变化,测试算法恢复性能 ## 程序运行方法: 1. 在InputImages中存入要恢复的图片,修改[mainTest](mainTest.m)中index的值,index要小于等于InputImages文件夹下图片数目,即可读出当前文件夹下对于顺序的第X章图片; 2. 运行主程序无误可以得到一个2X2的figure,可以保存该figure。在程序运行结束后,可以在OutputImages中得到一个ccI.jpg的图片,为最终颜色校正的图片。

近期下载者

相关文件


收藏者