细节增强的matlab代码单图像除雾Python
本文的python实现:“具有边界约束和上下文正则化的有效图像去雾”
结果
安装和运行测试
方法1
pip
install
image_dehazer
用法:
$
import
image_dehazer #
Load
the
library
$
HazeImg
=
cv2.imread('image_path') #
read
input
image
--
(**must
be
a
color
image**)
$
HazeCorrectedImg
=
image_dehazer.remove_haze(HazeImg) #
Remove
Haze
$
cv2.imshow('input
image',
HazeImg); #
display
the
original
hazy
image
$
cv2.imshow('enhanced_image',
HazeCorrectedImg); #
display
the
result
$
cv2.waitKey(0) #
ho
2021-12-12 23:02:55
7.68MB
系统开源
1