선정목록으로
Multi-region Nonuniform Brightness Correction Algorithm Based on L-Channel Gamma Transform
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.1155/2022/2675950
- 저널
- Security and Communication Networks
- 발행년도
- 2022
- 발행기관
- Hindawi Publishing Corporation
- 피인용수
- 71
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1155/2022/2675950
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4224252009
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Nonuniform brightness distribution of collimator reticle images leads to the recognition difficulty of reticle grids and coordinate scales on images and affects the digitalization of reticle coordinate system. The article proposes an image quality improvement algorithm that operates on L channel of LAB color space to perform brightness correction. It designs four typical image modules depending on representative brightness features. Corresponding brightness correction models for all typical image modules are constructed by designing the new correction functions based on nonlinear gamma transform. A concept of brightness similarity is defined for automatic matching between typical image modules and the image region to be processed. On this basis, the algorithm can automatically adjust brightness correction mode to ensure the brightness of each pixel tends to be uniform, which is reflected in a visible improvement in the color distortion of the image. The algorithm can effectively reduce the complexity of model processing and adaptively adjust brightness correction intensity according to the pixel brightness value. It enables more accurate corrections with good results.
본문 42,352자
본문 펼치기
Hindawi
Security and Communication Networks
Volume 2023, Article ID 9796151, 1 page
[https://doi.org/10.1155/2023/9796151](https://doi.org/10.1155/2023/9796151)
## _Retraction_ Retracted: Multi-region Nonuniform Brightness Correction Algorithm Based on L-Channel Gamma Transform
Security and Communication Networks
Received 5 December 2023; Accepted 5 December 2023; Published 6 December 2023
[Copyright © 2023 Security and Communication Networks. Tis is an open access article distributed under the Creative Commons](https://creativecommons.org/licenses/by/4.0/)
[Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is](https://creativecommons.org/licenses/by/4.0/)
properly cited.
Tis article has been retracted by Hindawi, as publisher,
following an investigation undertaken by the publisher [1].
Tis investigation has uncovered evidence of systematic
manipulation of the publication and peer-review process.
We cannot, therefore, vouch for the reliability or integrity of
this article.
Please note that this notice is intended solely to alert
readers that the peer-review process of this article has been
compromised.
Wiley and Hindawi regret that the usual quality checks
did not identify these issues before publication and have
since put additional measures in place to safeguard research
integrity.
We wish to credit our Research Integrity and Research
Publishing teams and anonymous and named external researchers and research integrity experts for contributing to
this investigation.
Te corresponding author, as the representative of all
authors, has been given the opportunity to register their
agreement or disagreement to this retraction. We have kept
a record of any response received.
References
[1] M. Qi, S. Cui, X. Chang et al., “Multi-region Nonuniform
Brightness Correction Algorithm Based on L-Channel Gamma
Transform,” _Security and Communication Networks_, vol. 2022,
Article ID 2675950, 9 pages, 2022.
Hindawi
Security and Communication Networks
Volume 2022, Article ID 2675950, 9 pages
[https://doi.org/10.1155/2022/2675950](https://doi.org/10.1155/2022/2675950)
## _Research Article_ Multi-region Nonuniform Brightness Correction Algorithm Based on L-Channel Gamma Transform
Min Qi , <sup>1,2</sup> Shanshan Cui , <sup>1</sup> Xin Chang , <sup>1</sup> Yuelei Xu , <sup>3</sup> Hongying Meng , <sup>4</sup>
Yi Wang , <sup>1</sup> and Ting Yin 1
_1School_ _of_ _Electronics_ _and_ _Information,_ _Northwestern_ _Polytechnical_ _University,_ _Xi’an,_ _China_
_2National_ _Engineering_ _Laboratory_ _for_ _Integrated_ _Aero-Space-Ground-Ocean_ _Big_ _Data_ _Application_ _Technology,_ _Xi’an,_ _China_
_3Unmanned_ _System_ _Research_ _Institute,_ _Northwestern_ _Polytechnical_ _University,_ _Xi’an,_ _China_
_4Department_ _of_ _Electronic_ _and_ _Computer_ _Engineering,_ _Brunel_ _University_ _London,_ _Uxbridge,_ _UK_
[Correspondence should be addressed to Min Qi; drqimin@nwpu.edu.cn](mailto:drqimin@nwpu.edu.cn)
Received 20 January 2022; Revised 18 March 2022; Accepted 25 March 2022; Published 23 April 2022
Academic Editor: Muhammad Arif
[Copyright © 2022 Min Qi et al. (is is an open access article distributed under the Creative Commons Attribution License, which](https://creativecommons.org/licenses/by/4.0/)
permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Nonuniform brightness distribution of collimator reticle images leads to the recognition difficulty of reticle grids and coordinate
scales on images and affects the digitalization of reticle coordinate system. (e article proposes an image quality improvement
algorithm that operates on _L_ channel of LAB color space to perform brightness correction. It designs four typical image modules
depending on representative brightness features. Corresponding brightness correction models for all typical image modules are
constructed by designing the new correction functions based on nonlinear gamma transform. A concept of brightness similarity is
defined for automatic matching between typical image modules and the image region to be processed. On this basis, the algorithm
can automatically adjust brightness correction mode to ensure the brightness of each pixel tends to be uniform, which is reflected
in a visible improvement in the color distortion of the image. (e algorithm can effectively reduce the complexity of model
processing and adaptively adjust brightness correction intensity according to the pixel brightness value. It enables more accurate
corrections with good results.
1. Introduction
In many technologies such as image enhancement [1] and
target detection, the influence of illumination [2] has always
been an important concern. During the image acquisition
process, due to changes in the imaging environment or
uneven smoothness of the surface of the object, the
brightness of the image may vary locally. Some regions may
be brighter than others, while some may look dim, which
makes it difficult to identify local details in the image [3].
(erefore, before applying the image, it is necessary to
improve the overall quality of the brightness-distorted image, that is, to preprocess the image.
Common processing methods include histogram
equalization method, homomorphic filtering method based
on illumination-reflection model, gradient domain transform method, and gamma transform method. Histogram
equalization [4–7] has a certain practical value for images
whose background and foreground are too bright or too
dark, but its disadvantage is that it does not select the
processed data, so it may eventually increase the contrast of
the background area or decrease the contrast of useful
signals; the homomorphic filtering method [8,9] based on
the principle of illumination-reflection imaging can enhance
the high-frequency information of the image while retaining
part of the low-frequency information, achieving the effect
of compressing the dynamic range of the image gray level
and enhancing the contrast of the image. However, when the
grayscale value of one part of the image is enhanced, it is easy
to cause the grayscale value of another part of the image to be
over-enhanced; the gradient domain transformation method
[10,11] can better maintain the detailed information and
sense of hierarchy in the original image, but it will sharpen
the image to a certain extent. Gamma transform [12–16] can
2 Security and Communication Networks
effectively attenuate the influence of light and improve the
quality of the image under unknown lighting conditions by
selecting an appropriate gamma value.
(e current gamma transform correction methods are
divided into linear correction methods and nonlinear correction methods. (e linear correction method can realize
the change of the gamma transform intensity with the pixel
grayscale value to a certain extent, and overcome the
shortcoming of traditional gamma transform method that
cannot solve the problem of grayscale correction where
highlight areas and shadow areas coexist in the same image,
but there are still some shortcomings. First, the linear
correction methods lack the ability to effectively enhance the
gamma value changing with the pixel grayscale values.
Second, the selection of the gamma value has not yet solved
the practical problem of the grayscale changes in the
highlight, transition, and shadow areas in an image. Finally,
the grayscale images are slightly distorted after gamma
transform, and the phenomenon becomes obvious for color
images which are converted to grayscale images before
gamma transform. (e nonlinear correction method uses a
correction mode in which nonlinear functions are superimposed on each other, but its correction model is too
complicated and computationally complex, which is not
conducive to implementation.
(e collimator [17] is an optical tool commonly used in the
calibration process. Due to the small area of the collimator
reticle, the resolution of its coordinates in the display with a
green background is limited. In addition, the observation is also
inconvenient and human eyes are prone to fatigue. the digitalization of the collimator reticle coordinate system can address the shortcomings and provide an intelligent, convenient,
and more accurate optical measurement. (e first step in the
process is to acquire the image of the reticle. At this point, the
main problem encountered is that the color of the reticle image
has distortion with two forms superimposed. One is that the
colors in some areas are darker than normal color and some are
lighter than normal colors. Another is that the overall color
shades of some of the images taken at different moments are
different. (ese problems pose difficulties for the subsequent
recognition of reticle grids and coordinate scales on images and
affect the generation of a complete digital reticle coordinate
system. (us, the image quality needs to be improved.
However, the various methods referred to above do not
solve this problem well. Among these methods, the performance of the traditional nonlinear gamma transform
correction method is relatively good, but the results of color
correction are still not satisfactory. (e gamma transform is
hard to obtain satisfactory parameters for a whole reticle
image. (e reason is that the correction model is too
complex to control under the complicated color distribution
as collimator reticle images which need the adjustment of an
opposite trend for darker color and lighter color to get a
consistent middle value.
Considering the fact that the essence of visual color
distortions comes from the unequal brightness on the reticle
image, known as uneven brightness, unlike usual gamma
transform methods that operate on grayscale images of color
images, the proposed algorithm in this article transforms
color images from RGB color space to LAB color space to
perform correction in _L_ channel independently. (e strategy
of correction aimed at brightness is directed at the intrinsic
factor and enables more accurate corrections with good
results. In addition, the algorithm reasonably designs four
typical image modules depending on brightness features and
constructs correction model for each module. (e proposed
models aided by auxiliary functions are based on gamma
transform by studying the brightness characteristics and its
variation laws in different modules, and the corresponding
parameters are trained respectively. It effectively reduces the
complexity of model processing. Last, a new concept of
brightness similarity of two image regions is defined, which
allows the algorithm to automatically identify different regions in an image according to their different brightness
intensities, and adaptively adjust brightness correction mode
to ensure the brightness of all pixels in an image tends to be
uniform and produce an image with harmonious colors.
2. Methodology
(e color collimator reticle image from the RGB color space
is mapped to the LAB color space; the _L_, A, and B channel
values of all pixels are then saved; and the _L_ -channel image
displayed in grayscale is extracted separately. Considering
the transformation capability of gamma transform and the
characteristics of the brightness distribution of reticle images, four typical image modules are designed according to
their brightness distribution characteristics in _L_ -channel
image; brightness correction models are construct based on
nonlinear gamma transform and designed corresponding
correction functions; the correction functions are performed
with different parameters on each typical image module to
make reticle grids and coordinate scales clear, and the
correction parameters are obtained saving as typical
brightness correction parameter sets. When correcting the
uneven brightness of the reticle image, the color reticle
image is divided into multiple regions, and each region is
matched to the most similar typical image module through a
similarity measurement mechanism; the corresponding
brightness correction parameter set is obtained to complete
the best brightness correction; after the brightness correction of all areas, the color reticle image which has been
processed is restored to the RGB color space. (is is the
high-quality image with uniform brightness that will be
provided for subsequent recognition of reticle grids and
coordinate scales. Specific steps are shown in Figure 1.
_2.1._ _Mapping_ _the_ _Color_ _Collimator_ _Reticle_ _Image_ _from_ _RGB_
_Color_ _Space_ _to_ _LAB_ _Color_ _Space._ In the RGB color space,
different lighting will affect the pixel values of the R, G, and B
channels, which brings difficulty to the overall lighting
processing. Compared with the RGB color space, the LAB
color space is a device-independent color system. (e _L_
channel represents the brightness of the pixel, the A channel
represents the range from red to green, and the B channel
represents the range from yellow to blue. Different lighting
that affects only the _L_ channel value will not affect the other
Security and Communication Networks 3
Mapping the color collimator
reticle image from RGB to
LAB color space
Defining typical image
modules based on
brightness characteristics
Constructing correction
models for all typical image
modules respectively
Converting the reticle image from
LAB to RGB color space
Adaptive brightness correction
through a similarity
measurement mechanism
Figure 1: (e flowchart of the overall method.
two channels. (e image is mapped to the LAB color space,
and the brightness can be independently corrected, which is
helpful to solve the image quality problem caused by the
light interference.
_2.2._ _Defining_ _Typical_ _Image_ _Modules_ _Based_ _on_ _Brightness_
_Characteristics._ Due to the different parallel light intensity
of the collimator tube and the influence of the surrounding
environment when taking pictures of the reticle, the imaging
effect of the reticle will be different, including different
brightness regions in one image and different brightness
levels for different images. (erefore, it is necessary to
analyze and define several typical image modules for the
reticle images according to the brightness distribution
characteristics. (ey are defined as low brightness (LB)
image module, high brightness (HB) image module,
brightness transition (BT) image module, and normal
brightness (NB) image module. (e size of the four image
modules is 64 × 64 with the unit pixel, and this size can be
adjusted according to the actual situation. According to the
existing reticle image, an area with a size of 64 × 64 in pixel is
selected on the L-channel image and four typical image
modules are selected and defined according to the following
steps:
(e average brightness “ _g_ ” of the area is calculated ad
follows:
64
<u>1</u> 64
_g_ - 64 × 64 <sup>?</sup> _i_ �0
_L_ ( _i, j_ ) _,_ (1)
corresponding position on the L-channel image, the average
brightness difference Ñ _g_ between the background pixel and
the foreground pixel is obtained as follows:
∇ _g_ �| _gb_ - _gf_ | _._ (3)
When Ñ _g_ < 38, the brightness difference between the
collimator reticle coordinates image and the background
image is too small to be displayed clearly, and it will adversely affect the subsequent image processing.
(e area that meets the conditions listed in Table 1 are
selected and defined it as typical image modules.
_2.3._ _Constructing_ _Brightness_ _Correction_ _Models_ _for_ _Typical_
_Image_ _Modules._ (e brightness correction models for all
typical image modules are studied. New formulas of correction functions based on gamma transform are designed,
and they are performed respectively on the L-channel images
of the LB, HB and BT modules to make reticle grids and
coordinate scales clear in order to get their typical brightness
correction parameter sets.
(e L-channel image of the LAB color space is displayed
as a grayscale image with a size of 64 pixels ×64 pixels. (e
basic form of gamma transform is:
_s_ - _cr_ <sup>_α_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> - _cr_ <sup>1/</sup> <sup>_c_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> _,_ _α_ ( _r_ ) > 0 _,_ (4)
where _c_ is a normal number and the typical value is 0.5. _r_ is
the brightness value before conversion, _s_ is the brightness
value after conversion, _α_ ( _r_ ) is the power exponent related to
the pixel value, _c_ ( _r_ ) is the correction function, and _α_ ( _r_ ) is the
reciprocal of each other, the typical value of _c_ ( _r_ ) is as follows:
_<u>πr</u>_
_c_ ( _r_ ) � 1 + _m_ cos? ~~?~~ _m_ ∈ (0 _,_ 1) _,_ (5)
2 _r_ 0
where _m_ is the adjustment coefficient and _r_ 0 is the critical
value of brightness correction. In terms of the control of the
brightness correction effect, only relying on increasing _m_ to
expand the value range of _c_ ( _r_ ) will cause the amplitude
change rate of _c_ ( _r_ ) in the value range to be too large, that is,
the unit brightness change causes _c_ ( _r_ ) amplitude to change
too much, which causes the value of _α_ ( _r_ ) to change drastically, and finally causes obvious distortion of the corrected
image. In order to solve this problem and improve the
robustness of brightness correction, _c_ ′( _r_ ) is put forward
based on _c_ ( _r_ ). At this time _α_ ( _r_ ) is:
<u>1</u> <u>1</u>
_α_ ( _r_ ) � _c_ <sup>′</sup> ( _r_ ) <sup>�</sup> _c_ ( _r_ ) + _f_ ( _r_ ) <sup>_~~.~~_</sup> (6)
_i_ �0
64
?
_j_ �0
where _i_ is the row number of the image area and _j_ is the
column number.
Using the following formula, the area is binarized and
the average brightness difference between the background
image and the foreground image including reticle grids and
coordinate scales is calculated. (e range of brightness
values for each pixel is [0, 100] in _L_ channel. For the subsequent definition of typical image modules, only a rough
distinction between foreground and background is needed,
so here the binarization is carried out using formula (1).
1 _,_ _L_ ( _i, j_ ) ≥ 50 _,_
? (2)
0 _,_ _L_ ( _i, j_ ) < 50 _._
_L_ ( _i, j_ ) �
1 _,_ _L_ ( _i, j_ ) ≥ 50 _,_
After the binarization, the background pixel value is 1
and the foreground pixel value is 0.
With the average brightness _gb_ of the background pixel
at the corresponding position on the L-channel image and
the average brightness _gf_ of the foreground pixel at the
4 Security and Communication Networks
Table 1: Definition of four typical image modules.
<u>Typical</u> <u>image</u> <u>module</u> <u>LB</u> <u>HB</u> <u>BT</u> <u>NB</u>
Average brightness _g_ < 40 _g_ - 84 40 ≤ _g_ ≤ 84 40 ≤ _g_ ≤ 84
<u>Average</u> <u>brightness</u> <u>difference</u> <u>Ñg</u> <u><</u> <u>38</u> <u>Ñg</u> <u><</u> <u>38</u> <u>Ñg</u> <u><</u> <u>38</u> <u>Ñg</u> <u>≥</u> <u>38</u>
_c_ ′( _r_ ) is composed of _c_ ( _r_ ) superimposed on an auxiliary
function f( _r_ ), and f( _r_ ) is composed of one or several linear
functions or nonlinear functions. (e following discusses the
brightness correction strategy of the L-channel image of the
four typical image modules.
_5e_ _brightness_ _correction_ _model_ _for_ _LB_ _image_ _module_ . (e
pixel brightness value in the LB image module is low, and the
brightness value needs to be increased through correction. In
this case, the form of the correction function _c_ ( _r_ ) is as
follows:
_<u>πr</u>_
_c_ ( _r_ ) � 1 + _m_ 1 cos? ~~?~~ _m_ 1 ∈ (0 _,_ 1) _,_ (7)
2 _r_ 01
where _m_ 1 is the regulation coefficient, with a typical value of
0.2. _r_ 01 is the critical value of the corrected brightness of the
LB image module, and the typical value is 0.3. In this article,
the brightness value in the narrow range of [0, _r_ 01] is extended to a large brightness range by gamma transform, so as
to improve the image brightness, stretch the contrast at the
same time, and achieve the purpose of making the dotted
grid and coordinate scale clear. Since the correction range is
limited to [0, _r_ 01], and the brightness is increasing, only the
correction range is different, so the auxiliary function _f_ ( _r_ )
uses the following linear function form:
_s_
1
0 _r_ 01 1 _r_
Figure 2: (e brightness correction function of LB image module.
_5e brightness correction model for HB image module_ . In the
HB image module, the marking grid and coordinate scale are
not clear because of the influence of the brightness value is
too high, so the brightness value needs to be reduced
through correction. In order to achieve this purpose, the
correction function _c_ ( _r_ ) uses the following form:
_f_ ( _r_ ) � _nd_ ?1 − <sup>_<u>r</u>_</sup> ~~?~~ _,_ _r_ ∈ ?0 _, r_ 01? _nd_ ∈ (0 _,_ 1) _,_ (8)
_r_ 01
_c_ ( _r_ ) � 1 + _m_ 2 cos? _π_ - <sup>_<u>π</u>_</sup> <sup><u>(1 −</u></sup> <sup>_<u>r</u>_</sup> <sup><u>)</u></sup> ~~?~~ _,_ _m_ 2 ∈ (0 _,_ 1) _,_ (10)
2� 1 − _r_ 02?
where _nd_ is the regulation coefficient, with a typical value of
0.7. (us, the brightness correction function of the LB image
module is obtained as follows:
⎧⎨ _r_ <sup>1/1+</sup> <sup>_m_</sup> <sup>1 cos</sup> ( <sup>_πr_</sup> <sup>/2</sup> <sup>_r_</sup> <sup>01</sup> ) <sup>+</sup> <sup>_n_</sup> _d_ ( <sup>1−</sup> <sup>_r_</sup> <sup>/</sup> <sup>_r_</sup> 01) _,_ _r_ ∈ ?0 _, r_ 01? _,_
_s_
⎩
⎧⎨ _r_ <sup>1/1+</sup> <sup>_m_</sup> <sup>1 cos</sup> ( <sup>_πr_</sup> <sup>/2</sup> <sup>_r_</sup> <sup>01</sup> ) <sup>+</sup> <sup>_n_</sup> _d_ ( <sup>1−</sup> <sup>_r_</sup> <sup>/</sup> <sup>_r_</sup> 01) _,_ _r_ ∈ ?0 _, r_ 01? _,_
⎩ (9)
where _m_ 2 is the regulation coefficient, with a typical value of
0.2. _r_ 02 is the critical value of the corrected brightness of the
HB image module, and the typical value is 0.7. At this point,
the auxiliary function _f_ ( _r_ ) in the HB image module uses the
following linear function form:
_f_ ( _r_ ) � <sup>_nh_</sup> <u>�</u> <sup>_r_</sup> <sup><u>02</u></sup> <sup>−</sup> <sup>_r_</sup> <u>?</u> _~~,~~_ _r_ ∈ ? _r_ 02 _,_ 1? _nh_ ∈ (0 _,_ 1) _,_ (11)
1 − _r_ 02
where _nh_ is the regulation coefficient, with a typical value of
0.1.
(us, the brightness correction function of the HB image
module is obtained as follows:
_r,_ _r_ ∈ ? _r_ 01 _,_ 1? _._
(e typical brightness correction parameter set _PSd_ of
this module is { _m_ 1, r01, n _d_ }. (e correction function curve is
shown in Figure 2. After correction, the average grayscale
value _g_ and average brightness difference ∇ _g_ of the image
are all in the range of NB image module, and the reticle grids
and coordinate scales can be clearly displayed.
_r,_ _r_ ∈ ?0 _, r_ 02? _,_
_r_
_s_
⎪⎧⎪⎪⎪⎨
⎪⎪⎪⎪⎩
(12)
<u>1</u>
1 + _m_ 2 cos� _π_ - _π_ (1 − _r_ )/2� 1 − _r_ 02?? + _nh_ - _r_ 02 − _r_ ?/1 − _r_ 02 _,_ _r_ ∈ ? _r_ 02 _,_ 1? _._
Security and Communication Networks 5
(e typical brightness correction parameter set _PSh_ of
this module is {m2, r02, nh }. (e correction function curve
is shown in Figure 3. After correction, the average grayscale
value _g_ and average brightness difference ∇ _g_ of the image
are all in the range of NB image module, and the reticle grids
and coordinate scales can be clearly displayed.
_5e brightness correction model for BT image module_ . Under
the actual illumination conditions, there is usually a transition area between the high brightness region and low
brightness region. (is article adopts the adaptive strategy of
different correction strength in the BT image module. For
the pixels whose brightness is distributed in the middle
region of the module, the intensity of brightness correction
is weak. (e brightness distribution is close to the pixels at
both ends, and the intensity of brightness correction is
strengthened. In this case, the form of correction function
_c_ ( _r_ ) is as follows:
_s_
1
0 _r_ 02 1 _r_
Figure 3: (e brightness correction function of HB image module.
1 + _m_ 1 cos <sup>_<u>πr</u>_</sup> _~~,~~_ _r_ ∈ ?0 _, r_ 01? _,_
2 _r_ 01
1 _,_ _r_ ∈ - _r_ 01 _, r_ 02? _,_
1 + _m_ 2 cos? _π_ - <sup>_<u>π</u>_</sup> <sup><u>(1 −</u></sup> <sup>_<u>r</u>_</sup> <sup><u>)</u></sup> ~~?~~ _,_ _r_ ∈ ? _r_ 02 _,_ 1? _,_
2� 1 − _r_ 02?
_f_ ( _r_ ) � _ρ_ sin(4 _πr_ )cos _θ_ +? _r_ - <sup><u>1</u></sup> ~~?~~ sin _θ,_ _ρ_ ∈ (0 _,_ 1) _,_
2
(16)
_θ_ - arctan(−2 _n_ ) _t._
(e typical brightness correction parameter set _PSt_ of
this module is {m1, m2, r01, r02, nt, _ρ_ }. (e correction
function curve is shown in Figure 4. After correction, the
average grayscale value _g_ and average brightness difference
∇ _g_ of the image are all in the range of NB image module,
and the reticle grids and coordinate scales can be clearly
displayed.
(e brightness correction model for NB image module.
(e reticle grids and coordinate scales in the NB image
module can be clearly displayed, so the brightness correction
function is simply _s_ - _r_ .
_2.4. Adaptive Brightness Correction._ (e L-channel image of
the color reticle image to be processed into several regions is
divided, and the optimal brightness similarity match is
carried out between each region and all typical image
modules. (e corresponding typical brightness correction
parameters are obtained to carry out brightness correction.
For L-channel images, horizontal and vertical parallel
lines separated by size (typical value is 64 in pixels) are used
to divide them into multiple square areas. When the side
length of the remaining region is less than the size near the
image boundary, it still becomes an independent region. (e
concept of brightness similarity of two images block is
defined, which is denoted by _Si_ ( _U_, _V_ _i_ ) as:
_c_ ( _r_ ) �
⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩
(13)
where _m_ 1 and _m_ 2 are the adjustment coefficients, with
typical values of 0.2. _r_ 01 and _r_ 02 are the threshold values of the
corrected brightness of the LB image module and the HB
image module, and the typical values are 0.3 and 0.7,
respectively.
(e auxiliary function _f_ ( _r_ ) is designed as the following
nonlinear function:
_f_ ( _r_ ) � _ρ_ sin(4 _πr_ )cos _θ_ +? _r_ - <sup><u>1</u></sup> ?sin _θ,_ _ρ_ ∈ (0 _,_ 1) _,_ (14)
2
where _θ_ - arctan(−2 _nt_ ), _nt_ is the regulation coefficient, with
a typical value of 0.3. (e parameter _ρ_ is introduced in
order to make the correction effect of pixel brightness to be
weak in the middle and strong at both ends when the
auxiliary function _f_ ( _r_ ) is corrected. (e typical value of _ρ_ is
0.1.
(us, the brightness correction function of the BT image
module is obtained as follows:
<u>1</u>
_r_ 1 + _m_ 1 cos _πr_ /2 _r_ 01 + _f_ ( _r_ ) _,_ _r_ ∈ ?0 _, r_ 01? _,_
<u>1</u>
_r_ 1 + _m_ 2 cos? _π_ - _π_ (1 − _r_ )/2� 1 − _r_ 02?? + _f_ ( _r_ ) _,_ _r_ ∈ ? _r_ 02 _,_ 1? _,_
(15)
_U_ <sup>_T_</sup> _Vi_
_Si_ ( _U, V_ ) _i_ ? _U_ <sup>_T_</sup> _U_ ?1/2 - ? _V_
1/2 - ? _ViTV_ ? _i_
1/2 <sup>_~~,~~_</sup> _i_ - _d,_ _h,_ _t,_ _n,_ (17)
_s_
⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩
<u>1</u>
_r_ 1 + _f_ ( _r_ ) _,_ _r_ ∈ - _r_ 01 _, r_ 02? _,_
where _U_ is the brightness matrix of a certain region of the
reticle L-channel image to be processed; _Vi_ represents the
brightness matrix of the L-channel image of a typical image
module. (e size of the brightness matrix is 64 × 64, and the
element value in the matrix is the corresponding pixel value
where
6 Security and Communication Networks
_s_
1
0 _r_ 01 _r_ 02 1 _r_
Figure 4: (e brightness correction function of BT image module.
of the L-channel image. When subscript _i_ is _d_, it stands for
LB image module, _h_ stands for HB image module, _t_ stands
for BT image module, and _n_ stands for NB image module.
(e larger the _Si_ ( _U_, _V_ _i_ ), the higher the similarity between the
two and the closer the brightness distribution. According to
formula (17), the brightness similarity _Si_ ( _U_, _V_ _i_ ) between a
certain region and the L-channel image of the four typical
image modules is calculated respectively. According to the _i_
value corresponding to the maximum brightness similarity
value, the brightness correction parameter set of typical
image modules is obtained. Based on this parameter, the
brightness correction of the region of the L-channel image of
the reticle to be processed is completed.
All _N_ regions of the L-channel image of the reticle to be
processed are traversed, and the self-adaptive brightness
correction of the entire image is completed.
_2.5._ _Converting_ _the_ _Reticle_ _Image_ _from_ _LAB_ _Color_ _Space_
_back to RGB Color Space._ (e RGB color mode was adopted
by current monitors. In order to enable the corrected
image to be displayed normally on the monitor, the
brightness-corrected reticle image is converted from the
LAB color space back to the RGB color space.
At this point, a complete reticle image with uniform
brightness is obtained. (e reticle grids and coordinate
scales of the low brightness region, high brightness region,
brightness transition region, as well as the normal brightness
region in the original image are all clearly displayed at the
same time and provide a high-quality image.
3. Results and Discussion
(e experiments were performed on a Windows 10 64 bit
operating system. (e processor is Intel Core i7-9700 K with
3.60 GHz operating frequency, and the memory is 32 GB.
(e vision system uses a CCD camera with a resolution of
3072 × 2048. In the following experiments, brightness
correction has been completed for four kinds of regions, and
good correction results have been achieved. Figure 5 is a
collimator reticle image with uneven brightness. It shows
one example for each kind of region with different
brightness features individually: area 1 is for low brightness
region, area 2 is for high brightness region, area 3 is for
brightness transition region, and area 4 is for normal
brightness region.
In order to implement the correction of brightness, the
first step is to get the parameters of correction models for
each typical brightness image module. (e color collimator
reticle images from RGB color space are mapped to LAB
color space. According to the criteria in Table 1, four representative image blocks with the size of 64 × 64 in pixel
respectively in the _L_ channel are selected and defined them as
the four typical image modules. Each correction model is
trained with the corresponding typical image module to
make the brightness of all pixels uniform. At the same time,
the green color of background becomes even and the lines
are clear visually. (en the parameter sets of brightness
correction models for each typical image module can be
obtained. (e typical values are as follows:
(e parameter set _PSd_ of { _m_ 1, _r_ 01, _nd_ } for LB image
module is {0.2, 0.3, 0.7}; the parameter set PSh of {m2, r02,
nh } for HB image module is {0.2, 0.7, 0.1}, the parameter set
PSt of {m1, m2, r01, r02, nt, _ρ_ } for BT image module is {0.2,
0.2, 0.3, 0.7, 0.3, 0.1}, and the NB image module needs no
parameter set. (e values of all the parameter sets can be
fine-adjusted when required for specific different
applications.
For a color collimator reticle image to be processed, the
image is divided into multiple square regions with a size of
64 in pixel. (e brightness similarity _Si_ ( _U_, _V_ _i_ ) is calculated
between each region and all typical image modules and the
maximum is obtained to perform the adaptive brightness
correction. (e following are examples of experimental
results of brightness correction for different brightness areas
in the processed image. For _Si_ ( _U_, _V_ _i_ ), in the value of _i_, _d_ is for
LB typical image module, _h_ is for HB typical image module, _t_
is for BTtypical image module, and _n_ is for NB typical image
module.
_3.1. Adaptive Brightness Correction of Area 1._ (e brightness
similarities _Si_ ( _U_, _V_ _i_ ) between area 1 and all typical image
modules are shown in Table 2. _U_ is the brightness matrix of
area 1. Among _Si_ ( _U_, _V_ _i_ ), the _Sd_ ( _U_, _V_ _d_ ) value is the largest,
indicating that the region is closest to the brightness of the
LB typical image module, so the parameters of the typical
brightness correction parameter set _PSd_ of LB image module
are used to perform brightness correction on area 1 and
converted the transformed image to the RGB color space.
Figure 6(a) is the original image of area 1, Figure 6(b)
shows its L-channel image, and Figure 6(c) is the corrected
image. At this time, the overall brightness of the image is
improved, and the grid lines are more clearly displayed.
_3.2. Adaptive Brightness Correction of Area 2._ (e brightness
similarities _Si_ ( _U_, _V_ _i_ ) between area 2 and all typical image
modules are shown in Table 3. _U_ is the brightness matrix of
Security and Communication Networks 7
Figure 5: (e collimator reticle image with uneven brightness.
Table 2: (e brightness similarity _Si_ ( _U_, _V_ _i_ ) between area 1 and four typical image modules.
_<u>Sd</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vd</u>_ <u>)</u> _<u>Sh</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vh</u>_ <u>)</u> _<u>St</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vt</u>_ <u>)</u> _<u>Sn</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vn</u>_ <u>)</u>
<u>Area</u> <u>1</u> <u>0.913</u> <u>0.517</u> <u>0.851</u> <u>0.699</u>
(a) (b) (c)
Figure 6: (e results of area 1 before and after correction. (a) Original image of area 1, (b) L-channel image, and (c) corrected image.
Table 3: (e brightness similarity _Si_ ( _U_, _V_ _i_ ) between area 2 and four
typical image modules.
_<u>Sd</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vd</u>_ <u>)</u> _<u>Sh</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vh</u>_ <u>)</u> _<u>St</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vt</u>_ <u>)</u> _<u>Sn</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vn</u>_ <u>)</u>
<u>Area</u> <u>2</u> <u>0.494</u> <u>0.927</u> <u>0.816</u> <u>0.711</u>
area 2. Among _Si_ ( _U_, _V_ _i_ ), the _Sh_ ( _U_, _V_ _h_ ) value is the largest,
indicating that the region is closest to the brightness of the
HB typical image module, so the parameters of the typical
brightness correction parameter set _PSh_ of HB image
module are used to perform brightness correction on area 2
and converted the transformed image to the RGB color
space.
Figure 7(a) is the original image of area 2, Figure 7(b)
shows its L-channel image, and Figure 7(c) is the corrected
image. At this time, the overall brightness of the image is
reduced and tends to be uniform. (e contrast is enhanced,
and the grid lines that were previously unrecognizable are
clearly displayed.
_3.3. Adaptive Brightness Correction of Area 3._ (e brightness
similarities _Si_ ( _U_, _V_ _i_ ) between area 3 and all typical image
modules are shown in Table 4. _U_ is the brightness matrix of
area 3. Among _Si_ ( _U_, _V_ _i_ ), the _St_ ( _U_, _V_ _t_ ) value is the largest,
indicating that the region is closest to the brightness of the
BT typical image module, so the parameters of the typical
brightness correction parameter set _PSt_ of BT image module
are used to perform brightness correction on area 3 and
converted the transformed image to the RGB color space.
Figure 8(a) is the original image of area 3, Figure 8(b) shows
its L-channel image, and Figure 8(c) is the corrected image. At
this time, the overall brightness of the image is improved and
tends to be uniform, and the contrast is enhanced. (e grid
lines that were previously unrecognizable are clearly displayed.
_3.4. Adaptive Brightness Correction of Area 4._ (e brightness
similarities _Si_ ( _U_, _V_ _i_ ) between area 4 and all typical image
modules are shown in Table 5. _U_ is the brightness matrix of
8 Security and Communication Networks
(a) (b) (c)
Figure 7: (e results of area 2 before and after correction. (a) Original image of area 2, (b) L-channel image, and (c) corrected image.
Table 4: (e brightness similarity _Si_ ( _U_, _V_ _i_ ) between area 3 and four typical image modules.
_<u>Sd</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vd</u>_ <u>)</u> _<u>Sh</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vh</u>_ <u>)</u> _<u>St</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vt</u>_ <u>)</u> _<u>Sn</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vn</u>_ <u>)</u>
<u>Area</u> <u>3</u> <u>0.697</u> <u>0.712</u> <u>0.919</u> <u>0.823</u>
(a) (b) (c)
Figure 8: (e results of area 3 before and after correction. (a) Original image of area 3, (b) L channel image, and (c) corrected image.
Table 5: (e brightness similarity _Si_ ( _U_, _V_ _i_ ) between area 4 and four
typical image modules.
_<u>Sd</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vd</u>_ <u>)</u> _<u>Sh</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vh</u>_ <u>)</u> _<u>St</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vt</u>_ <u>)</u> _<u>Sn</u>_ <u>(</u> _<u>U</u>_ <u>,</u> _<u>Vn</u>_ <u>)</u>
<u>Area</u> <u>4</u> <u>0.727</u> <u>0.693</u> <u>0.786</u> <u>0.923</u>
area 4. Among _Si_ ( _U_, _V_ _i_ ), the _Sn_ ( _U_, _V_ _n_ ) value is the largest,
indicating that the region is closest to the brightness of the
NB typical image module, so area 4 does not need brightness
correction.
4. Conclusion
Uneven brightness on collimator reticle images has adverse
effects on the digitalization of reticle coordinate system. (e
effective multi-region nonuniform brightness correction
algorithm is proposed to adjust the image brightness so that
they converge to the same value, and the color distortion is
improved at the same time. (e algorithm converts the
image to the LAB color space and corrects the image
brightness in _L_ channel. (is measure makes the correction
effect easier to be controlled and more accurate. (e idea of
four typical image modules is proposed and their brightness
correction models are reasonably constructed based on
nonlinear gamma transform. Corresponding correction
functions aided by auxiliary functions are designed with
parameters trained respectively according to different
brightness features. It effectively reduces the complexity
of correction models and lays the foundation for
adaptive brightness correction. (e presented concept
of brightness similarity allows every region on an image
to be matched to one of typical image modules with
closest brightness characteristics and to obtain the
optimal correction parameters for them. (e algorithm
effectively achieves adaptive brightness correcting for
the type of image which is of discrepancy in brightness
as high brightness and low brightness coexisting in one
image and needs to be adjusted for an opposite trend to
get a consistent value in the middle region. (e algorithm can obviously be used to solve color distortion
problems, when the distortion is caused by uneven
illumination.
Data Availability
(e datasets used and/or analyzed during the current study
are available from the corresponding author on reasonable
request.
Security and Communication Networks 9
Conflicts of Interest
(e authors declare that they have no conflicts of interest.
Acknowledgments
(e authors acknowledge the funding of the Key Project of
Shaanxi Province Innovation Program, China
(2017ZDCXL-GY-11-02-02).
References
[1] S. Wang, J. Zheng, H.-M. Hu, and B. Li, “Naturalness pre
served enhancement algorithm for non-uniform illumination
images,” _IEEE Transactions on Image Processing_, vol. 22, no. 9,
pp. 3538–3548, 2013.
[2] H. Liang, J. Gao, and N. Qiang, “A novel framework based on
wavelet transform and principal component for face recognition under varying illumination,” _Applied_ _Intelligence_,
vol. 51, no. 4, pp. 1762–1783, 2021.
[3] L. K. Teck and M. I. Nor Ashidi, “Bi-histogram modification
method for non-uniform illumination and low-contrast images,” _Multimedia_ _Tools_ _and_ _Applications_, vol. 77, no. 7,
pp. 8955–8978, 2018.
[4] T. Arici, S. Dikbas, and Y. Altunbasak, “A histogram modi
fication framework and its application for image contrast
enhancement,” _IEEE Transactions on Image Processing_, vol.18,
no. 9, pp. 1921–1935, 2009.
[5] J. R. Tang and N. A. Mat Isa, “Bi-histogram equalization using
modified histogram bins,” _Applied_ _Soft_ _Computing_, vol. 55,
pp. 31–43, 2017.
[6] Y. Chang, C. Jung, P. Ke, H. Song, and J. Hwang, “Automatic
contrast-limited adaptive histogram equalization with dual
gamma correction,” _IEEE Access_, vol. 6, pp. 11782–11792, 2018.
[7] M. Kumar and S. R. Jindal, “Fusion of RGB and HSV colour
space for foggy image quality enhancement,” _Multimedia_
_Tools_ _and_ _Applications_, vol. 78, no. 8, pp. 9791–9799, 2019.
[8] B. P. Horn, _Robot_ _Vision_, MIT Press, Cambridge, MA,
USA, 1986.
[9] C.-N. Fan and F.-Y. Zhang, “Homomorphic filtering based
illumination normalization method for face recognition,”
_Pattern Recognition Letters_, vol. 32, no.10, pp.1468–1479, 2011.
[10] A. Sokolova, Y. Uljanitski, A. R. Kayumov, and
M. I. Bogachev, “Improved online event detection and differentiation by a simple gradient-based nonlinear transformation: i,” _Biomedical Signal Processing and Control_, vol. 66,
no. 17, Article ID 102470, 2021.
[11] C. Zhou, H. Liu, Z. G. Gui, and Z. Pengcheng, “Industrial
X-ray image enhancement algorithm based on gradient field,”
_Journal_ _of_ _Computer_ _Applications_, vol. 39, no. 10, pp. 3088–
3092, 2019.
[12] D. W. Wang, J. Wang, Z. J. Xu, and Y. Liu, “Adaptive cor
rection algorithm for non-uniform illumination images,”
_Systems_ _Engineering_ _and_ _Electronics_, vol. 39, no. 6,
pp. 1383–1390, 2017.
[13] F. Kallel and A. Ben Hamida, “A new adaptive gamma cor
rection based algorithm using DWT-SVD for non-contrast
CT image enhancement,” _IEEE_ _Transactions_ _on_ _Nano_ _Bio-_
_science_, vol. 16, no. 8, pp. 666–675, 2017.
[14] Z. Xiao, X. Zhang, F. Zhang et al., “Diabetic retinopathy
retinal image enhancement based on gamma correction,”
_Journal_ _of_ _Medical_ _Imaging_ _and_ _Health_ _Informatics_, vol. 7,
no. 1, pp. 149–154, 2017.
[15] B. Subramani and M. Veluchamy, “Quadrant dynamic clipped
histogram equalization with gamma correction for color
image enhancement,” _Color_ _Research_ _&_ _Application_, vol. 45,
no. 4, pp. 644–655, 2020.
[16] M. Veluchamy and B. Subramani, “Image contrast and color
enhancement using adaptive gamma correction and histogram equalization,” _Optik_, vol. 183, pp. 329–337, 2019.
[17] Z. Hua and C. Xu, “(e beam parallelism of large aperture
collimator measured by scanning pentaprism method,” _Op-_
_tical_ _Technigue_, vol. 47, no. 5, pp. 582–586, 2021.
섹션 본문
섹션 본문이 없습니다.
참고문헌 14건
- Homomorphic filtering based illumination normalization method for face recognition Pattern Recognition Letters · Elsevier BV · 2011 10.1016/j.patrec.2011.03.023
- Naturalness Preserved Enhancement Algorithm for Non-Uniform Illumination Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2013 10.1109/tip.2013.2261309
- A Histogram Modification Framework and Its Application for Image Contrast Enhancement IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2009 10.1109/tip.2009.2021548
- Diabetic Retinopathy Retinal Image Enhancement Based on Gamma Correction Journal of Medical Imaging and Health Informatics · American Scientific Publishers · 2017 10.1166/jmihi.2017.1998
- Bi-histogram equalization using modified histogram bins Applied Soft Computing · Elsevier BV · 2017 10.1016/j.asoc.2017.01.053
- Bi-histogram modification method for non-uniform illumination and low-contrast images Multimedia Tools and Applications · Springer Science+Business Media · 2017 10.1007/s11042-017-4789-4
- A New Adaptive Gamma Correction Based Algorithm Using DWT-SVD for Non-Contrast CT Image Enhancement IEEE Transactions on NanoBioscience · Institute of Electrical and Electronics Engineers · 2017 10.1109/tnb.2017.2771350
- Automatic Contrast-Limited Adaptive Histogram Equalization With Dual Gamma Correction IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2797872
- Fusion of RGB and HSV colour space for foggy image quality enhancement Multimedia Tools and Applications · Springer Science+Business Media · 2018 10.1007/s11042-018-6599-8
- Adaptive Correction Algorithm for Non-Uniform Illumination Images 2017 10.3969/j.issn.1001-506x.2017.06.29
- Image contrast and color enhancement using adaptive gamma correction and histogram equalization Optik · Elsevier BV · 2019 10.1016/j.ijleo.2019.02.054
- Quadrant dynamic clipped histogram equalization with gamma correction for color image enhancement Color Research & Application · Wiley · 2020 10.1002/col.22502
- A novel framework based on wavelet transform and principal component for face recognition under varying illumination Applied Intelligence · Springer Science+Business Media · 2020 10.1007/s10489-020-01924-9
- Improved online event detection and differentiation by a simple gradient-based nonlinear transformation: Implications for the biomedical signal and image analysis Biomedical Signal Processing and Control · Elsevier BV · 2021 10.1016/j.bspc.2021.102470