기본 정보
- 저자
- DOI
- 10.2991/icaita-18.2018.30
- 저널
- –
- 발행년도
- 2018
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.2991/icaita-18.2018.30
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2799293751
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
The dark channel de-fog algorithm has a landmark significance in the field of single image fogging removal.In the original algorithm, the sky region is prone to over enhancement.Existing improved algorithms has to take lots of time and space.In order to improve the effect of defogging and make sure the operation efficiency, this paper presents a sky region overgrowth suppression algorithm, which is based on the phenomenon of that these three channel values in sky area are approaching the maximum.First, the RGB channel in the original image is separated, then histogram equalization is got.Second, a proposed limiting algorithm is used to calculate the oversaturation grayscale information in the sky region, and then the transmission rate is obtained based on the correction of the dark channel de-fog algorithm.Finally, the output image is generated.The validity of the algorithm in this paper is verified.The suppression algorithm and the original algorithm is evaluated by using the visible side evaluation indicators.It is shows that the ratio of supersaturated pixels has been significantly reduced with slightly affecting new visible edge ratio and balanced gradient ratio.The over enhancement suppression algorithm can effectively suppress sky over enhancement.It is proved that the suppression algorithm can effectively correct the transmittance of the sky region in fog images, and be suitable for occasions where require high speed.
본문 21,276자
본문 펼치기
2nd International Conference on Artificial Intelligence: Technologies and Applications (ICAITA 2018)
# Over Enhancement Inhibition in Sky Region Based on Dark Channel
Fang Ding <sup>*</sup>, Cailiang Du and Xiaojing Song
College of electronic information and automation, Civil Aviation University of China, Tianjin, China
*Corresponding author
_Abstract—_ The dark channel de-fog algorithm has a landmark
significance in the field of single image fogging removal. In the
original algorithm, the sky region is prone to over enhancement.
Existing improved algorithms has to take lots of time and space.
In order to improve the effect of defogging and make sure the
operation efficiency, this paper presents a sky region overgrowth
suppression algorithm, which is based on the phenomenon of that
these three channel values in sky area are approaching the
maximum. First, the RGB channel in the original image is
separated, then histogram equalization is got. Second, a proposed
limiting algorithm is used to calculate the oversaturation grayscale information in the sky region, and then the transmission rate
is obtained based on the correction of the dark channel de-fog
algorithm. Finally, the output image is generated. The validity of
the algorithm in this paper is verified. The suppression algorithm
and the original algorithm is evaluated by using the visible side
evaluation indicators. It is shows that the ratio of supersaturated
pixels has been significantly reduced with slightly affecting new
visible edge ratio and balanced gradient ratio. The over
enhancement suppression algorithm can effectively suppress sky
over enhancement. It is proved that the suppression algorithm can
effectively correct the transmittance of the sky region in fog
images, and be suitable for occasions where require high speed.
_Keyword—dark-channel; sky area over enhanced;single image_
_defogging; limiting_
I. INTRODUCTION
In foggy weather, tiny particles such as water droplets and
solid particles are suspended in the air.The scattering of
atmospheric light through these tiny particles can blur the image
obtained by various sensors, and impact the shooting effect and
theresolving power in various monitoring systems. The removal
of fog in the image has an important research significance.
At present, the single image defog algorithm can be broadly
two categories: 1, algorithm does not take into account the cause
of image degradation, you get sensitive information in the image
after processing the data, but it's easy to distort, such as
histogram equalization method [1], Retinex [2] etc. The other
algorithm consider the degradation of the image, according to
the physical model to elicit the original image, the resulting
image is more realistic [3-5], but it is difficult to estimate the
atmospheric light and light transmittance.
The main methods in the field of single image de-fog are
following. According to the statistical law proposed of the
phenomenon of image contrast with no fog is better than fog one,
Tan propose a fog algorithm by maximizing local contrast[6].
But, such methods are easy to saturate. Fattal proposed that the
theoretical propagation of the localized area is irrelevant to the
shading part. Whereby the cut-off image is obtained and then
the original image is presented[7].This method is liable to cause
loss of color information in heavy fog portion, the effect is not
ideal. Edwin, land et al proposed Retinex algorithm based on
color constancy theory[8].He et al proposed a dark passage
theory with priori rule firstly, Calculate a rough projection
secondly, recovery the original image by using the guidance
filtering algorithm Finally[9].
For the over-enhancement phenomenon of dark channel sky,
CHEN et al used the Gaussian function to estimate the
transmissivity and eliminated the block effect with the
maximum and minimum operation. Then, through the halo
operator and the morphology expansion operation to obtain the
atmospheric light description area in order to obtain the
atmospheric light value, Finally,according to the atmospheric
scattering model to restore a clear image [10],However, this
algorithm above need to perform a complex operation, which is
not suitable for scenes of the high real-time requirements.
II. DARK CHANNEL FOG REMOVAL ALGORITHM
_A._ _Determine the Atmospheric Model_
An atmospheric scattering model is widely used in the field
of single image de-fog is shown in equation 1 [12].
�(�) = �(�)�(�) + �(1 −�(�)) (1)
where, I(x) is a fog image, J(x) is the reflection image of the
object, t(x) is the transmissivity in the air, and A(x) is the
atmospheric light intensity. The formula shows that the main
reason for image degradation is the influence of fog on
atmospheric transmissivity [9,10,11,12].
_B._ _Dark Channel Theory_
He et al statistics on large amounts of non fogging images
and found that most of the images in non-sky areas with non
fogging images have the phenomenon that value in some pixel
channel tends to zero.
J <sup>����</sup> (x) = �∈{�,�,�}min <sup>(</sup> �∈�(�) <sup>min</sup> <sup>J�(y)) →0 (2)</sup>
where - <sup>����</sup> is the dark primary, Ω(�)is the neighborhood of
pixel x, and� <sup>�</sup> is the foggy image. In the image with fog, the
value of - <sup>����</sup> becomes high, and the size of the transmittance
t(x) can be reversed [9].
Assuming that the atmospheric light value is the constant
A[9], the transmittance is t (x), the estimated value t (x) of the
transmittance is obtained from some operations by equation 1.
_A._ _Sky over Enhancement Suppression Algorithm_
In the foggy picture, RGB value in a pixel of the sky area are
basically equal to each other and each value tends to the
largest.Some of values of RGB In non-sky areas tend to zero
because of influence of object [9]. In order to extract the sky
region, a fast limiting algorithm is proposed in this paper. The
result of fast limiting algorithm is used to correct the
transmittance of the sky region inthe dark channel algorithm,
inhibit over-enhanced phenomenon in the sky area.
_1)_ _Histogram equalization:_ The essence of the limiting
algorithm is to extract the region where the RGB values are
basically equal to each other and the values of each channel
tend to the largest. The gray scale information of the region is
retained simultaneously. Because of the picture affected by the
fog, histogram of each channel are too concentrated to extract
the gray-scale information. So, image equalization is necessary,
which mainly includes RGB Direct Method and HSV
Transformation Method. The HSV transformation can avoid
color distortion [14].Contrast found that in the fog picture, the
difference value between the absolute value of the difference
value between the two is not big. As showed in Figure 2, the
two methods are compared. Where the different value of the
absolute value is:
err=|���� −����| (6)
where err represents the absolute value of the difference
between the RGB Direct Method and the HSV Method. HRGB
represents an image obtained based on RGB equalization.
HHSV represents an image obtained based on HSV equalization.
FIGURE II. COMPARING ALGORITHM
Statistics of 493 pictures with fog in sky areas by using
equation 7 to calculate the average value of the absolute
difference of two algorithms. The distribution of its absolute
value is shown in Table 1.
Err={mean[err(R)], mean[err(G)],mean[err(B)]} (7)
where, Err is a three-dimensional vector; Err (R), Err (G), Err(B)
respectively represent the RGB three channel sub-matrix in the
deviation matrix; mean is the mean operation.
According to the Table 1, the absolute difference value in
90% images with fog between these two algorithms is less than
�̃(�) = 1 − ���
�∈{�,�,�} <sup>����</sup> �∈�(�)
<u>�</u> <sup>�</sup> (�)
- <sup>�</sup> <sup>~~�~~</sup> <sup>(3)</sup>
where t (x) is the estimated value of the transmittance, c is the
RGB three-channel space, and Ω(x)is the filter window space.
He considered that the atmospheric light intensity Ac is
obtained from the region with the largest brightness. In this
paper, enhanced suppression algorithm uses window scanning
to find Ac. This algorithm evaluates the mean of the RGB
channel of pixels in the window,Then take the maximum
value of all the pixels in the picture as an estimate of the
atmospheric light intensity Ac
Ac=���(�����(�), �����(�), �����(�)) (4)
where Ac is the estimate of atmospheric light intensity, Ω(x) is
the window with the largest gray scale. According to the actual
requirement, the window size is 15 × 15 [9].
The transmittance �̃(x) and the atmospheric light intensity
A <sup>�</sup> can be obtained by the calculation of formula 4-5. According
to equation 5 to calculate the original image J (x)[9].
<u>�(�)��</u> <sup>�</sup>
J(x) ~~=~~
<u>�)��</u> <sup>�</sup>
+ � <sup>�</sup> (5)
- <sup>�</sup> (�)
where J(x) is a foggy image, I(x) is a fog image, A <sup>�</sup> is an
estimate of atmospheric light intensity, and �̃(x) is an estimate
of transmittance.
III. PHENOMENON OF OVER-ENHANCEMENT AND ITS
IMPROVEMENT
There is a common problem among algorithms. For example
He algorithm [9], Retinex algorithm based on dark-channel
theory[2], Single image de-fog algorithm based on dark color
and incident light assumption[13],and other dark channel de-fog
algorithms . The sky area will emerge lots of stripes or overenhancement phenomenon or color block phenomenon.
The reason for these phenomena is a flaw in the darkchannel algorithm, that is, in the sky area, not all pixels have a
channel component that tends to zero. This results in a serious
deviation based on the estimation of the transmittance t of the
sky region in the dark channel algorithm [9]. As shown in figure
1, that are phenomena of over-enhancement and color block in
the sky.
FIGURE I. PROBLEMS IN CLASSICAL ALGORITHMS
8. Considering the long operation time of RGB-HSV transform
and inverse transform, the image equalization algorithm based
on RGB 3-channel achieve good results.
TABLE I. MEAN DISTRIBUTION OF THE ABSOLUTE DIFFERENCE
difference 0-2 2-4 4-6 6-8 >8
R channel 230 133 60 28 42
G channel 216 104 83 46 44
B channel 248 108 39 37 61
_2)_ _Validity analysis of limiter algorithm:_ If the gray region
information of the sky region is supersaturated, values of three
channels of the single pixel need to be mapped to a value e.
�= ���2{���(��, ��, ��) −�× ���1[�� + �� + ��]} (8)
where e is the output value; μ is the compression factor; ��, ��
and �� are three different channel values in the single pixel;
Lim1, Lim2 are limiter, where output of limiter is that less than
������ equal to ������, greater than ������ equal to
������. Considering the depth of pictures is 8, let ���2��� =
0, ���2��� = 255.
In the formula 8, ���1��� + �� + ���= (�� + �� + ��) >
3 × ���(��, ��, ��) . Compression factor μ> 1/3 to make e
equals zero when (�� + �� + ��) does not exceed the upper
limit of the limiter.
���1[�� + �� + ��] is a fixed value when (�� + �� +
��)exceeds the upper limit of the limiter. And the value of
���(��, ��, ��) where the RGB three channels not tend to zero
is greater than the value of ���(��, ��, ��) where a certain
channel of RGB tends to zero; When the compression factor μ
is increased, the value of ���(��, ��, ��) −�× ���1[�� +
�� + ��] does not tend to zero. If the one or two channels of the
RGB channel become zero, the the value of ���(��, ��, ��) −
�× ���1[�� + �� + ��] decreases to zero
In summary, the increase of the compression factor μ can
filter one or two channels in the pixel tends to zero. A reasonable
choice of compression factor μ, The gray information where
RGB channels not tend to zero can be got.
_3)_ _Experimental Verification:_ A fog picture Randomly is
selected in this experiment, The range of Lim1 is 0255. ��, ��, �� are respectively blue, green and red channel.
Results from Figure 3(a) to (d) are based on different
compression factor �.
FIGURE III. RESULT FROM DIFFERENT COMPRESSION FACTOR Μ
The limiter Lim1 is related to the compression factor μ.
Different limiter Lim1 with an appropriate μ be selected to
achieve a similar effect. As showed in Figure 4, results from the
combination of different Lim1 and different μ.
FIGURE IV. RESULTS FROM DIFFERENT LIM1 AND DIFFERENT Μ
It can be seen from Figure.4 that the effects of the four
graphs are similar. Table 2 will be got by using formula 9.
where G is the average gray scale; ٠is the picture space;��(�)
are gray value in the picture space in Figure.4.a; ��(�) are gray
value in the picture space in Figure.4.b- Figure.4.d. w is the
image width, h is the picture height.
It can be seen from the Table 2that the differences between
the four images in Figure.4 are are below 10%. Statistics of 493
pictures with fog in sky areas by using equation 9 shows that
More than 95% of the pictures are below 10%.
TABLE II. AVERAGE GREY VALUE
Image Figure.4.a-4.b Figure.4.a-4.c Figure.4.a-4.d
<u>Ratio</u> <u>1.8%</u> <u>4.3%</u> <u>5.9%</u>
In order to work fast in computers, our algorithm uses the
overflow feature of the 8-bit unsigned integer operation instead
of the judgment statement. This algorithm is computationally
less and the validity of the results is guaranteed. So, selected
range of two limiter is 0-255.
_B._ _Best Compression Factor_
In this paper, the new visible edges ratio[15] is used as the
evaluation index. When μ is increased from 0, there is no
obvious change of visible edges in the sky area, The single
continuous visible edges in ground region and boundary region
are first split into multiple small visible edges then be removed.
It is obvious that the total number of edges increases at first and
then decreases. When the number of visible edges reaches the
inflection point, the visible edges in ground area are removed,
while the boundary region retains some visible edges. It is found
that when the boundary region retains some visible edges, it can
suppress the over enhancement of the boundary region and
retain more details. Therefore, the μ is the best when the
inflection point appears on the number of visible edges.
Best compression factor of fog pictures in 493 images with
fog in sky area are count in Table 3,The statistical results show
that the amplitude limit of the two limiters is 0-255, the best
range of compression factor μ is 0.5-0.6.
∑�∈� (��(�)���(�))
<u>�</u>
��� <sup>(9)</sup>
G ~~=~~
<u>�(�)���(�))</u>
×
��
TABLE III. OPTIMAL COMPRESSION FACTOR DISTRIBUTION
<u>range</u> <u>0.2-0.3</u> <u>0.3-0.4</u> <u>0.4-0.5</u> <u>0.5-0.6</u> <u>0.6-0.7</u> <u>0.7-0.8</u>
<u>count</u> <u>2</u> <u>7</u> <u>60</u> <u>277</u> <u>90</u> <u>57</u>
_C._ _Transmittance Correction_
According to the dark channel theory, the transmittance of
the pixels where all RGB values not near zero is too large[9].
The estimated transmittance value �̃(x) is corrected using the
Grey information (e) of the failure region in dark channel theory.
�̃ <sup>�</sup> (�) = �̃(�) −�× � (10)
where �̃ <sup>�</sup> (x) is the correction value of the transmittance estimate
�̃(x); �̃(x) is the transmittance estimate obtained by the dark
channel algorithm; e is the correction matrix obtained by the
equation 8, k is the correction factor.
The magnitude of the k value affects the transmittance of the
dark channel failure region. Experiments show that the selection
of inappropriate k value will affect the uniformity of gray area
in the sky area.
FIGURE V. TRANSMITTANCE OF THE SKY REGION
As shown from Figure 5, when k value increases, the
transmittance of the sky region decreases and the uniformity
becomes better. However, if the K value increased too large, the
details of the sky region will be lost. Our experimental results
show that when k is 1.1-1.3, the sky uniformity is the best, the
supersaturated pixel[13] is low. Taking into account the time
complexity, regardless of the adaptive k value, our algorithm
makes k = 1.2.
IV. EXPERIMENTAL RESULTS AND ANALYSIS
The algorithm contrast effect experiment is carried out by
using figures 6.a and 7.a. Where parameters is selected as below:
The minimum atmospheric light value is 240, the bootstrap filter
window and the minimum filter window are 15x15, the error
limit is 10-6. The experimental results are shown in Figures 6 to
7.
As is shown from the comparison of the two algorithms in
Figure 6. Compared with the He algorithm, our algorithm
suppress the over-enhancement in the sky area effectively.At the
same time the gray scale of the sky region is more uniform and
retain more details.
Figure 7 compares two algorithms, and shows that our
algorithm suppress the phenomenon of color blocks effectively.
In this paper, the method of visible side is used to evaluate
the He algorithm and the enhanced suppression algorithm. This
method calculates the percentage of new visible margin e,
normalized gradient ratio r̅, the percentage of oversaturated
black or white pixels σ[13].
<u>�����</u>
��
- <sup>��=</sup> �= <u>������</u> <sup>�̅ = exp</sup> <sup>~~�~~</sup> ��
- <sup>��</sup>
- × �
(11)
<u>�</u> <sup>�</sup>
�=
��� <sup>∑</sup> �� ������
where n� is the number of visible edges, n� is the number of
visible edges of the graph after processing, r is the visible
correlation coefficient, ΔI�, ΔI� are gradient of pixels on
visible edges of the fog map and the original image respectively.
r̅ is the balanced gradient ratio; x� is the pixel point on the
edge. σis the oversaturated pixel ratio, n <sup>�</sup> is the number of
supersaturated pixels.
The defogging effect is better when the values of E and r̅
are bigger at the same time σ is smaller [15]. Table 4 compares
the He algorithm with our algorithm.
FIGURE VI. ENHANCED SUPPRESSION ALGORITHM AND LOCAL
DETAILS
FIGURE VII. COLOR BLOCK SUPPRESSION
TABLE IV. COMPARISON OF HE ALGORITHM AND OUR
ALGORITHM
Img Algorithm
index
e �̅ σ
Figure 6
He 2.1336 1.6618 0.0651
Our 2.0994 1.6178 0.0001
He 0.4118 0.8314 0.2336
Figure 7
<u>Our</u> <u>0.3547</u> <u>0.7811</u> <u>0.0018</u>
From Table 4 shows that our algorithm has a great
improvement over the He algorithm in the supersaturated pixel
ratio σ, but the e and the r̅ of our algorithm is slightly reduced.
Statistics of 493 pictures with fog in sky areas by using equation
11 showed a reduction of 99% in ratio σ over 80% of these
pictures.
V. CONCLUSION
Aiming at restrain the phenomenon that pixels in sky area is
easy to be enhanced in the He de-fog algorithm, in this paper a
correction algorithm is proposed. Our algorithm is simple and
dispense with edge detection, corrosion, expansion or other
complex operations. The transmission rate was corrected by
using a straight - square - balanced gray-scale correction matrix.
Experiments show that our algorithm solve the problem more
effectively by comparing with He algorithm. The sky area is
more uniform and no color blocks appear.
REFERENCES
[1] Sheng H L, Isa N A M, Chen H O, et al. A new histogram equalization
method for digital image enhancement and brightness preservation[J].
Signal Image & Video Processing, 2015, 9(3):675-689.
[2] Yeonan-Kim J, Bertalmío M. Analysis of retinal and cortical components
of Retinex algorithms[J]. Journal of Electronic Imaging, 2017, 26(3).
[3] Ancuti C O, Ancuti C. Single image dehazing by multi-scale fusion.[J].
IEEE Transactions on Image Processing A Publication of the IEEE Signal
Processing Society, 2013, 22(8):3271-3282.
[4] Wang J B, He N, Zhang L L, et al. Single image dehazing with a physical
model and dark channel prior[J]. Neurocomputing, 2015, 149(PB):718728.
[5] Ju M, Zhang D, Wang X. Single image dehazing via an improved
atmospheric scattering model[J]. Visual Computer, 2016:1-13.
[6] Tan R T. Visibility in bad weather from a single image[C]// Computer
Vision and Pattern Recognition, 2008. CVPR 2008. IEEE Conference on.
IEEE, 2008:1-8.
[7] Fattal R. Single image dehazing[C]// ACM, 2008:1-9.
[8] Land E H. The Retinex Theory of Color Vision[J]. Scientific American,
1977, 237(6):108.
[9] He K, Sun J, Tang X. Guided image filtering[J]. Pattern Analysis &
Machine Intelligence IEEE Transactions on, 2013, 35(6):1397.
[10] G Chen, Y Yang, B Zhang. Fog removal algorithm based on improved
dark prior prior to transmittance and atmospheric light(in
chinese)[J].Journal Of Computer Applications, 2017, 37(5):1481-1484.
[11] Deng Li. Adaptive global dark prior prior to fog removal for bright
regions(in chinese)[J]. Optics and Precision Engineering, 2016,
24(4):892-901.
[12] Makkar D, Malhotra M. Single Image Haze Removal Using Dark
Channel Prior[J]. International Journal of Advanced Trends in Computer
Science & Engineering, 2016.
[13] MinJie Yu, Haofeng Zhang.Single image de fog based on dark color and
incident light assumption(in chinese)[J] Journal of Image and Graphics,
2014, 19(12):1812-1819.
[14] Bora D J, Gupta A K. AERASCIS: An efficient and robust approach for
satellite color image segmentation[C]// International Conference on
Electrical Power and Energy Systems. IEEE, 2017:549-556.
[15] Hautière N, Tarel J P, Aubert D, et al. Blind Contrast Enhancement
Assessment by Gradient Ratioing at Visible Edges[J]. Image Analysis &
Stereology, 2008, 27(2):87-95.
섹션 본문
섹션 본문이 없습니다.
참고문헌 13건
- Single Image Dehazing by Multi-Scale Fusion IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2013 10.1109/tip.2013.2262284
- BLIND CONTRAST ENHANCEMENT ASSESSMENT BY GRADIENT RATIOING AT VISIBLE EDGES Image Analysis & Stereology · Slovenian Society for Stereology and Quantitative Image Analysis · 2011 10.5566/ias.v27.p87-95
- Single image dehazing with a physical model and dark channel prior Neurocomputing · Elsevier BV · 2014 10.1016/j.neucom.2014.08.005
- Single image dehazing ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1360612.1360671
- A new histogram equalization method for digital image enhancement and brightness preservation Signal Image and Video Processing · Springer Science+Business Media · 2013 10.1007/s11760-013-0500-z
- The Retinex Theory of Color Vision Scientific American · Springer Nature · 1977 10.1038/scientificamerican1277-108
- Visibility in bad weather from a single image 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2008 10.1109/cvpr.2008.4587643
- Guided Image Filtering IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2012 10.1109/tpami.2012.213
- Single Image Haze Removal Using Dark Channel Prior IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2010 10.1109/tpami.2010.168
- Single image dehazing via an improved atmospheric scattering model The Visual Computer · Springer Science+Business Media · 2016 10.1007/s00371-016-1305-1
- AERASCIS: An efficient and robust approach for satellite color image segmentation 2016 10.1109/icepes.2016.7915989
- Analysis of retinal and cortical components of Retinex algorithms Journal of Electronic Imaging · SPIE · 2017 10.1117/1.jei.26.3.031208
- Single Image Haze Removal Using Dark Channel Prior International Journal Of Engineering And Computer Science · Engg Journals Publications · 2016 10.18535/ijecs/v5i1.12