# Underwater Color Restoration
<img height="315px" width="332px" align="right" src="https://www.eng.tau.ac.il/~berman/images/underwater_half.jpg">
This is a revised implementation the color restoration method described in:
[Diving into Haze-Lines: Color Restoration of Underwater Images. Berman, D. and Treibitz, T. and Avidan S., BMVC2017](https://www.eng.tau.ac.il/~berman/UnderwaterColorRestoration/UnderwaterHazeLines_BMVC2017.pdf)
If you use this code, please cite the appropriate paper.
#### bibtex
> @inproceedings{UnderwaterHL,
> title={Diving into Haze-Lines: Color Restoration of Underwater Images},
> author={Berman, D. and Treibitz, T. and Avidan, S.},
> booktitle={Proceedings of the British Machine Vision Conference},
> publisher = {BMVA Press},
> year={2017},
> }
## Getting Started
### System Requirements:
The code requires MATLAB, and was tested on windows.
### Download code and Pre-requisites
#### Option A: with git
Run the following commands to initialize your local repository, and to fetch all of the dependencies:
git clone https://github.com/danaberman/underwater-hl.git
cd underwater-hl
git submodule init
git submodule update
#### Option B: without git
1. Download the code as a zip file.
2. Download the toolbox from `https://github.com/pdollar/toolbox` into `utils/toolbox/`.
3. Download the toolbox from `https://github.com/pdollar/edges` into `utils/edges/`.
### Demo
1. Change MATLAB's directory to the folder the code was extracted to.
2. Run the file main_underwater_restoration.m in order to see the algorithm's perfomance on the attached images.
#### Working with RAW images
If you wish to use a raw image as input, please download [Adobe DNG Converter](https://helpx.adobe.com/photoshop/digital-negative.html) and convert the raw image to a linear decompressed according to these settings:
<img src="AdobeDNGConverter.png">
## Authors
Dana Berman, *danamena@post.tau.ac.il*
## License
The software code of the non-local image dehazing algorithm is provided for non-commercial use under the attached [LICENSE.md](LICENSE.md)
没有合适的资源?快使用搜索试试~ 我知道了~
danaberman-underwater-hl.zip
共30个文件
m:16个
jpg:4个
md:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 30 浏览量
2023-08-07
18:53:48
上传
评论
收藏 79.69MB ZIP 举报
温馨提示
danaberman-underwater-hl.zip
资源推荐
资源详情
资源评论
收起资源包目录
danaberman-underwater-hl.zip (30个子文件)
underwater-hl-master
LICENSE.md 14KB
新建文本文档 (2).txt 0B
uw_restoration.m 8KB
AdobeDNGConverter.png 63KB
get_water_types.m 2KB
utils
edges
adjust_contrast.m 3KB
toolbox
set_chart_trans.m 856B
convert_dng2linear.m 3KB
selective_color.m 335B
apply_cmatrix.m 622B
inpaint_nans.m 16KB
linear_stretch.m 339B
boxfilter.m 904B
find_textureless.m 2KB
convert_linear2rgb.m 1KB
guidedfilter_color.m 2KB
estimate_veiling_light.m 2KB
.gitmodules 178B
uw_restoration_type.m 6KB
main_underwater_restoration.m 2KB
.gitignore 52B
images
ship_highres_input.jpg 46KB
Ancuti2_input.jpg 27KB
galdran1_input.jpg 113KB
IMG_1620_mask_1514_2010.mat 11KB
IMG_1620_linear_demosaiced.dng 70.14MB
shipwreck_input.jpg 79KB
IMG_1620.CR2 15.23MB
README.md 2KB
TR500.txt 27KB
共 30 条
- 1
资源评论
AbelZ_01
- 粉丝: 889
- 资源: 5441
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功