원시데이터 수집 시스템
선정목록으로

Brightness Equalization Algorithm for Chinese Painting Pigments in Low-Light Environment Based on Region Division

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Lijuan Cheng — College of Art and Art Design , Henan Vocational University of Science and Technology , Zhoukou , 466000 , China|||College of Art and Art Design, Henan Vocational University of Science and Technology, Zhoukou, 466000, China
DOI
10.14569/ijacsa.2024.0150111
저널
International Journal of Advanced Computer Science and Applications
발행년도
2024
발행기관
Science and Information Organization
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.14569/ijacsa.2024.0150111
토픽
Color Science and Applications
OpenAlex ID
W4391545875

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

With the promotion and development of Chinese painting and the advancement of photography technology, people can appreciate various types of Chinese paintings through image and other methods. However, Chinese painting images in low-light environments face the problem of extreme uneven brightness distribution. The currently proposed solutions for this problem are not sufficient. Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division. This algorithm also utilizes guided filtering for image denoising. In performance testing, the proposed method has a runtime of 16.63 seconds under a scaling factor of 1 and a runtime of 8.37 seconds under a scaling factor of 0.1, which are the fastest among the compared algorithms. In simulation experiments, the brightness equalization value of the proposed method is 198.93, which is listed at the best among all the compared algorithms. This research provides a valuable research direction for the brightness equalization of Chinese painting pigments.

본문 45,741자

본문 펼치기
_Vol. 15, No. 1, 2024_ # Brightness Equalization Algorithm for Chinese Painting Pigments in Low-Light Environment Based on Region Division Lijuan Cheng College of Art and Art Design, Henan Vocational University of Science and Technology, Zhoukou, 466000, China _Abstract_ —With the promotion and development of Chinese painting and the advancement of photography technology, people can appreciate various types of Chinese paintings through image and other methods. However, Chinese painting images in low-light environments face the problem of extreme uneven brightness distribution. The currently proposed solutions for this problem are not sufficient. Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division. This algorithm also utilizes guided filtering for image denoising. In performance testing, the proposed method has a runtime of 16.63 seconds under a scaling factor of 1 and a runtime of 8.37 seconds under a scaling factor of 0.1, which are the fastest among the compared algorithms. In simulation experiments, the brightness equalization value of the proposed method is 198.93, which is listed at the best among all the compared algorithms. This research provides a valuable research direction for the brightness equalization of Chinese painting pigments. _Keywords—Chinese painting; low-light; region division; guided_ _filtering; scaling factor_ I. INTRODUCTION In the process of promoting Chinese painting, pigments are one of the most visually impactful elements for viewers, as they directly determine the visual effects of the artwork [1]. However, due to the limitations of low-light environments, Chinese paintings in low-light scenes may face the problem of uneven pigment brightness, which affects the visibility and artistic quality of the artwork to some extent. A low-light environment refers to an environment with dim lighting or insufficient light sources [2]. In such environments, due to the scarcity and weakening of light, details in the image are difficult to display clearly, and the differences in pigment brightness become more pronounced. This significantly affects the appreciation of Chinese paintings by viewers. At present, the processing methods for low light images include image enhancement, noise removal, and multi frame image fusion, which can be divided into two approaches: hardware and software. However, the focus is mainly on software upgrades and improvements [3]. Due to the uneven lighting in the shooting environment, the brightness of captured images may be uneven, with some areas appearing too bright while others are too dark. Existing brightness equalization algorithms not only enhance the noise in the image but also have issues with inconsistent equalization across different regions [4]. Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division. This study will provide reference and guidance for the application of region-based brightness equalization algorithms in the field of Chinese painting pigment brightness equalization and other related fields. The research is divided into five sections: an overview of the research in Section I, a review of domestic and foreign studies in Section II, a study on the algorithm's methodology in Section III, performance testing of the algorithm in Section IV, and a summary and outlook on the limitations of this research in Section V. II. LITERATURE REVIEW Researchers have focused on using image region division techniques to improve image enhancement methods. Matsuyama E proposed a segmentation method for chest X-ray images. This method can automatically remove the scapular region, mediastinal region, and diaphragm region from various chest X-ray images as the learning data for this method. The method uses a simple linear iterative clustering algorithm and local entropy filtering to generate an entropy map, which is then subjected to morphological operations to perform region segmentation on the lung image. The method was tested, and the results showed that it can remove non-pulmonary markings from the image and present clear X-ray images of the lungs [5]. Chen et al. found that the evaluation metrics of existing iris segmentation algorithms may be influenced by inaccurate localization of the Ground Truth image. Therefore, researchers proposed using a mask image segmented based on deep learning algorithms as a substitute for the Ground Truth image. Experimental results showed that the mask image segmented based on deep learning algorithms can completely replace the original Ground Truth image [6]. Cao et al. found that existing line art coloring methods can produce credible coloring results, but these methods are often affected by color bleeding issues. Therefore, researchers proposed an explicit segmentation fusion mechanism. Testing outcomes shows that the model can better fulfill the coloring instructions given by the user and can greatly alleviate the problem of color bleeding artifacts [7]. Image enhancement methods are applicable in various fields, and researchers have made many improvements to these methods. Tirumani et al. found that existing image enhancement methods have unstable effects on contrast and resolution enhancement. Therefore, researchers process the <u>112 | P</u> resolution of the image, and then used auto optimization to enhance the resolution and brightness. Testing outcomes showed that this method can effectively and stably enhance the resolution and contrast of the image [8]. Xu et al. proposed a multi-scale fusion framework for low-light image enhancement. This framework first generates multiple artificially multi-exposure images using a mapping function, then combines exposure to create a weight map, and finally fuses different frequency bands of the image. Testing outcomes showed that this method outperforms existing algorithms in enhancing low-light images [9]. Lu et al. believed that the current image enhancement methods based on convolutional neural network models do not differentiate image features on different channels, which hinders the learning of hierarchical features. Therefore, researchers proposed a channel-split attention network that can analyze shallow features in a targeted manner by splitting them into residual and dense branches. Experimental results showed that this method exhibited excellent performance in both qualitative and quantitative evaluations [10]. In summary, although region division methods have been applied in multiple fields, their combination with image enhancement for brightness equalization of Chinese painting pigments is relatively rare. Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division, providing effective technical support for the promotion of Chinese painting. III. REGION-BASED BRIGHTNESS EQUALIZATION ALGORITHM FOR CHINESE PAINTING PIGMENTS IN LOW-LIGHT ENVIRONMENTS Chinese painting images in low-light environments often suffer from uneven lighting in the pigment display [11]. Traditional image brightness equalization algorithms have limitations in achieving sufficient brightness equalization and enhancing all local details [12]. To address this issue, this research proposes a region-based brightness equalization algorithm for Chinese painting pigments in low-light environments. This algorithm improves existing image enhancement algorithms and provides effective assistance in the refinement of image enhancement algorithms. _A._ _Single-Frame Image Brightness Equalization_ _Enhancement Method in Low-Light Environments_ Images in image processing come in various formats, including RGB, LAB, YUV, HSV, HIS, etc. The main image format studied in this research is HSV. In this research, the RGB image is first converted to the HSV image. In HSV, H represents the hue of the image, S represents the saturation, and V represents the value or brightness of the image. The advantage of the HSV format is that the color information of the image does not affect the brightness component, which ensures that the original colors of the image are preserved during brightness enhancement. The schematic diagram of an HSV image is shown in Fig. 1. In Fig. 1, a cone shape is hired to manifest the HSV color space, where the hue is determined by the rotation angle around the center of the cone, with each 120° representing a _Vol. 15, No. 1, 2024_ different color. The closer to the center of the cross-section, the less saturated the color is, and the closer to the apex of the cone, the weaker the brightness. The conversion of RGB to HSV is represented by Eq. (1). _V_ = max { _R_, _G_, _B_ } (1) Green 120° Yellow In Eq. (3), _R_ represents the _R_ value in the RGB. The brightness of an HSV image is divided into different levels [13]. The average brightness range of the V channel is [0,1] . An empirical threshold _Ith_ is set, and when the average brightness of an image is below this threshold, the image is <u>113 | P</u> Cyan Blue 240° White <u>1.0</u> <u>H</u> <u>0°</u> Saturation S Magenta 0.0 Black Fig. 1. The schematic diagram of an HSV image. In Eq. (1), _R_, _G_, _B_ represent the three primary colors in the RGB color space, where _R_ means red, _B_ represents blue, and _G_ represents green. The converted _S_ value is represented by Eq. (2). <u>min</u> <u>{</u> _<u>R</u>_ <u>,</u> _<u>G</u>_ <u>,</u> _<u>B</u>_ <u>}</u> , _V_ ≠ 0 (2)  _<u>V</u>_ - <u>min</u> <u>{</u> _<u>R</u>_ <u>,</u> _<u>G</u>_ <u>,</u> _<u>B</u>_ <u>}</u> , _V_ ≠ =  _V_  _<u>V</u>_ - <u>min</u> <u>{</u> _<u>R</u>_ <u>,</u> _<u>G</u>_ <u>,</u> _<u>B</u>_ <u>}</u> , _V_ _S_ =  _V_  0, _otherwise_  0, In Eq. (2), _V_ represents the value obtained from Eq. (1). The converted _H_ value is represented by Eq. (3).  ° 0, _V_ = min( _R_, _G_, _B_ )   _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 0 °, _V_ = _R_, _G_ ≥ _B_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_ =  60 °× + 360 °, _V_ = _R_, _G_ <  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 120 °, _V_ = _G_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 240 °, _V_ = _B_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> 0, _V_ = min( _R_, _G_, _B_ ) ° 0, _V_ = min( _R_, _G_, _B_ )   _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 0 °, _V_ = _R_, _G_ ≥ _B_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_ _H_ =  60 °× + 360 °, _V_ = _R_, _G_ < _B_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 120 °, _V_ = _G_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u>  _<u>G</u>_ <u>−</u> _<u>B</u>_  60 °× + 240 °, _V_ = _B_  <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> _<u>G</u>_ _<u>B</u>_ 60 °× + 0 °, _V_ = _R_, <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> _<u>G</u>_ _<u>B</u>_ 60 °× + 360 °, _V_ = _R_, <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> (3) _<u>G</u>_ _<u>B</u>_ 60 °× + 120 °, <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> _<u>G</u>_ <u>−</u> _<u>B</u>_ 60 °× + 240 °, <u>(</u> _V_ - <u>min(</u> _R_ <u>,</u> _G_ <u>,</u> _B_ <u>))</u> considered a high-brightness image. Therefore, the brightness range of high-brightness images is [ _Ith_,1] . For the enhancement of high-brightness images, the focus is mainly on enhancing the contrast [14]. Since the enhancement results of high-brightness images are similar to those of low-brightness images, this research converts high-brightness images to low-brightness images for enhancement and then converts them back to high-brightness images after enhancement [15]. The formula for obtaining the limited brightness image is represented by Eq. (4). _Vol. 15, No. 1, 2024_ In Eq. (6), _F_ ( _x_, _y_ ) represents the brightness value of each pixel, and _Fs_ 1 × _s_ 1 <sup>(</sup> _x_ <sup>,</sup> _y_ <sup>)</sup> represents the neighborhood mean value. The second binarization method subtracts the mean filtering image from _F_, and then subtracts a constant _C_ to obtain the difference image _Ism_ . Then, based on the pixel values of I, binarization is performed to obtain a binary image containing texture boundaries. The calculation process is represented by Eq. (7). _binary_ _ 2 ( _x_, _y_ ) =  1,0, _Ism_ ( _x_, _y_ ) =  1, _Ism_ ( _x_, _y_ ) - 0  0, _otherwise_ =  1, _Ism_ ( _x_, _y_ )  _I_ lim =  _Iv_, _<u>Iv</u>_ ≤ _I_ (7) _ 2 In Eq. (7), _Ism_ ( _x_, _y_ ) represents the pixel values of the image _Ism_ . The second step of region image processing is fusion, which involves merging the two binarized images obtained earlier to create a new binary image. The fusion formula is shown in Eq. (8). _Fbinary_ = _Fbinary_ _1 ⊕ _Fbinary_ _ 2 (8) In Eq. (8), ⊕ represents the logical AND operator. The third step is noise reduction using morphology. The fourth step is region segmentation. The specific operation involves first marking the boundaries of the denoised regions, and then dividing the image into multiple regions and assigning them numbers based on the marked content. The schematic diagram of image segmentation is shown in Fig. 2. In Fig. 2, the images from left to right are the original image, the two binarized images, the fused image obtained from the fusion calculation of the two binarized images, the denoised binary image, and the segmented image. Due to the significant brightness differences between different regions in images with uneven lighting, targeted brightness adjustment is needed [17]. The image is marked based on the different brightness levels in different regions, and the marking rule is shown in Eq. (9). _Fbinary_ _ 2 ( _x_, _y_ ) =  1,0, _Iotherwisesm_ ( _x_, _y_ ) lim =  _Iv_, _<u>Iv</u>_ ≤  1 - _Iv_, _<u>Iv</u>_ 1 - _Iv_, _v_, _<u>Iv</u>_ ≤ _Ith_ , _Iv_, _<u>Iv</u>_ - _I_ (4) _v_, _<u>Iv</u>_ - _Ith_ In Eq. (4), _I_ lim represents the limited brightness channel image, <sup>_I_</sup> _v_ <sup>represents the</sup> <sup>_V_</sup> <sup>channel image extracted after</sup> converting from RGB to HSV, and <sup>_<u>I</u>_</sup> _v_ <sup>represents the average</sup> brightness of the _V_ channel image. The brightness region division of the image in this research is divided into four steps. The first step is the initial enhancement of the limited _V_ channel image, and the enhancement formula is represented by Eq. (5). _F_ = log2 (1 + _I_ lim ) (5) In Eq. (5), _I_ lim represents the limited _V_ channel image, and _F_ represents the image after initial enhancement. The region segmentation of the image in this research is divided into four steps. The second step is the binarization of the multi-scale image [16]. Two different binarization methods are used for the edges and region shapes of the image. The first binarization method first applies mean filtering to the image _F_ after initial enhancement to obtain the neighborhood mean value of each pixel. Then, the brightness value is divided by the neighborhood mean value, and the result is compared with the adaptive sensitivity factor _T_ . Finally, the binarized _V_ channel brightness image is obtained. The calculation process is represented by Eq. (6). _if_ <u>(</u> _<u>Vi</u>_ <u>min</u> <u>+</u> _<u>Vi</u>_ <u>)</u> - 0.5, _bright_ (9)  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u>  1, ( _x_, _y_ ) =  _Fs_ 1 × _s_ 1( _x_ <u>,</u> _y_ <u>)</u>  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u>  1, - _T_ _Fbinary_ _1( _x_, _y_ ) =  _Fs_ 1 × _s_ 1( _x_ <u>,</u> _y_ <u>)</u>  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u>  1, =  _Fs_ 1 × _s_ 1( _x_ <u>,</u> _y_ <u>)</u>  _if_ <u>(</u> _<u>Vi</u>_ <u>min2</u> <u>+</u> _<u>Vi</u>_ <u>)</u>  _else_, _dark_ _else_, _dark_ <u>(</u> _<u>Vi</u>_ <u>min</u> <u>+</u> _<u>Vi</u>_ <u>)</u> - 0.5, <u>2</u> , _dark_ _1( _x_, _y_ ) =  _Fs_ 1 × _s_ 1 (6) _binary_ _1( _x_, _y_ ) =  _Fs_ 1 × _s_  × 0, _otherwise_ The first type of binarization <u>Fusion</u> Denoising Partition Second type of binarization Fig. 2. Schematic diagram of image partitioning. <u>114 | P</u> In Eq. (9), _i_ represents the index of the region, <sup>_V_</sup> _i_ min <u>represents the minimum brightness value in that region, and</u> <sup>_<u>V</u>_</sup> _i_ <sup>represents the average brightness of that region.</sup> _B._ _Image Brightness Equalization Enhancement Method_ _Based on Region Denoising_ Denoising is an important step in image enhancement. Currently, there are various denoising methods, including bilateral filtering-based denoising, Gaussian filtering-based denoising, and linear guided filtering-based denoising [18]. The denoising method based on bilateral filtering is computationally complex and slow. The denoising method based on Gaussian filtering tends to blur the edges of the denoised image and result in unclear presentation of image details. The denoising method based on linear guided filtering produces clear edges in the denoised image without artifacts and has a faster computation speed. Therefore, in this research, the guided filtering method is used for image denoising. The workflow of the guided filtering denoising method is shown in Fig. 3. #### qi = pi − ni Filtering output _q_ _Vol. 15, No. 1, 2024_ where most of the irrelevant information is noise. The linear regression model established in window ω _m_ is shown in Eq. (12). <u>1</u> ## qi = ω ∑ ( am Ii + bm ) = am Ii + bm _m i_ ∈ω _m_ <u>1</u> ## = ω ∑ ( am Ii + bm ) = am Ii + bm (14) _m i_ ∈ω _m_ _m_ ## = ∑ (( am Ii + bm − pi )2 +ε am 2 (12) _i_ ∈ω _m_ ## ( am, bm ) = ∑ (( am Ii + bm − pi )2 +ε am 2 ## E ( am, bm ) = ∑ (( am Ii + bm − pi )2 +ε am _i_ ∈ω _m_ ε ∈ω _m_ _m_ In Eq. (12), ε is a regularization parameter to constrain _am_, and its solution is shown in Eq. (13). <u>1</u> ## ∑ _Ii_ _pi_ - m _m_ _<u>p</u>_  <u>1</u> ##  ω ∑ Ii pi −  _<u>i</u>_ ∈ω _<u>m</u>_  _am_ = σ _m_ <u>2</u> +   _bm_ = _<u>pm</u>_ - _am_ m _m_ (13) ## ω ∑ Ii pi − m m pm _m_ = _<u>i</u>_ ∈ω _<u>m</u>_ <u>2</u> _<u>m</u>_ _a_ <u>1</u> ## ω ∑ Ii pi − m m _<u>i</u>_ ∈ω ∈ ∈ω _<u>m</u>_ σ _m_ <u>2</u> +ε _m_ <u>2</u> _bm_ = _<u>pm</u>_ - _a_ m _m_ _m_ = _<u>pm</u>_ - _am_ m _m_ In Eq. (13), σ _k_ 2 and µ _k_ represent the variance and mean of _I_ within window ω _m_, ω represents the number <u>1</u> of pixels in ω _m_, and _<u>pm</u>_ = <u>1</u> ## = ω ∑ pi represents the mean _i_ ∈ω _m_ <u>1</u> ## pm = ω ∑ pi _i_ ∈ω _m_ _m_ = ω _pi_ _m_ of _p_ within window ω _m_ . Since pixel _i_ is included in different ω _m_, there will be multiple values of <sup>_q_</sup> _i_ <sup>in different</sup> windows. Therefore, Eq. (14) is used to determine the value of <sup>_q_</sup> _i_ <sup>.</sup> <u>1</u> ## ∑ ( am Ii + bm ) window, Due to the rotational symmetry property of the summation ## ∑ m i ∈ω m am = ∑ i m ∈ω i am can be obtained. Guide _I_ _<u>qi</u>_ <u>=</u> _<u>aIi</u>_ <u>+</u> _<u>b</u>_ Fig. 3. Guiding the workflow of filtering and noise reduction methods. In Fig. 3, the workflow of guided filtering includes a guidance image _I_, an input image _p_, and an output image _q_ . The guidance image can be pre-set based on different application scenarios, but it can also be replaced by the input image. The guided filtering principle is based on the premise assumption that a linear relationship exists between the guidance image and the output image. Assuming that in a window ω _m_ centered at pixel _m_, _q_ is a linear transformation of _I_, the transformation formula is shown in Eq. (10). _qi_ = _am_ _Ii_ + _bm_, ∀∈ _i_ ω _m_ (10) In Eq. (10), _am_ and _bm_ represent the assumed linear invariant coefficients within the window ω _m_, and ω _m_ is a square window with a radius of _r_ centered at pixel _m_ . To determine the values of _am_ and _bm_, constraints need to be applied to the input image _p_, and the constraints are shown in Eq. (11). _qi_ = _pi_ - _ni_ (11) In Eq. (11), _n_ represents the excess information in _q_, represent the mean of the calculated results of the linear coefficients for pixel _i_ . The denoising effects of different denoising methods on the same image are shown in Fig. 4. In Fig. 4, Fig. 4(b) is the image after denoising with Gaussian filtering, Fig. 4(c) is the image after denoising with bilateral filtering, and Fig. 4(d) is the image after denoising with guided filtering. Fig. 4(a) is the original one. The image after denoising with Gaussian filtering appears darker in color and has unclear edges. The image after denoising with bilateral filtering has clear brightness edges. The image after denoising with guided filtering has clear brightness edges and the details in each region are smoothed, which better matches the actual lighting distribution [19]. In order to achieve better enhancement of the image, this research uses a two-dimensional gamma function to perform brightness correction on images with uneven lighting [20]. The formula for the two-dimensional gamma function is shown in Eq. (16). <u>115 | P</u> Therefore, Eq. (14) can also be written as Eq. (15). _qi_ = _<u>ai</u>_ _Ii_ + _<u>bi</u>_ (15) <u>1</u> In Eq. (15), _<u>ai</u>_ = <u>1</u> _<u>bi</u>_ = ω∑ _m_ ∈ω _i_ _bm_ <u>1</u> <u>1</u> _<u>ai</u>_ = ω∑ _m_ ∈ω _i_ _am_ and _<u>bi</u>_ = ω g _<u>M</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> = 255 ×  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> , g= _M_ ( _x_, _y_ ) _M_ <u>(</u> _x_  <u>255</u>  g g _<u>q</u>_ ( _x_, _y_ ) = 255 ×  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> , g= _M_ ( _x_, _y_ ) _M_ <u>(</u> _x_ <u>,</u> _y_ <u>)</u>  <u>255</u>  g  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u>  _I_ _g_ ( _x_, _y_ ) = 255 ×  , g= _M_ ( _x_, _y_ _<u>M</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> - _<u>Iq</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> - _<u>Iq</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> _g_ ( _x_, _y_ ) = 255 ×  _<u>F</u>_ <u>(</u> _<u>x</u>_ <u>,</u> _<u>y</u>_ <u>)</u> , g= _M_ ( _x_, _y_ ) _M_ <u>(</u> _x_ <u>,</u> _y_ <u>255</u> _Vol. 15, No. 1, 2024_ <sup>_I_</sup> _g_ ( _x_, _y_ ) represents the image after denoising with guided filtering. When _M_ ( _x_, _y_ ) - _Iq_ ( _x_, _y_ ) I, γ< 1, indicating an increase in brightness for _F_ ( _x_, _y_ ) ; otherwise, the brightness is reduced. The image obtained is further filtered using guided filtering with a radius of six and a regularization parameter of 1 _e_ - 4 for denoising. Then, contrast-limited histogram equalization is applied to obtain the image <sup>_I_</sup> _c_ <sup>, which is then</sup> weighted fused using the weighted fusion formula shown in Eq. (17). g (16) _v_ (a) Original drawing (b) Gaussian filtered illumination map = _a_  0.5 + 0.1 × <u>µ</u> <u>(</u> _<u>Iv</u>_ <u>0.6)</u> <u>−</u> <u>0.4</u>, µ ( _I_ _Iout_ = _a_ ⋅ _Ic_ + _b_ ⋅ _I_ _g_,   0.5, _else_ = _a_  0.5 + 0.1 × <u>µ</u> <u>(</u> _<u>Iv</u>_ <u>0.6)</u> <u>−</u> <u>0.4</u>, µ ( _Iv_ ) ≥ = _a_ ⋅ _Ic_ + _b_ ⋅ _I_ _g_,   0.5, _else_ = _b_ 1 - _a_ _<u>v</u>_ (17) _out_ = _a_ ⋅ _Ic_ + _b_ ⋅ _I_ _g_ = _a_  0.5 + 0.1 × <u>µ</u> <u>(</u> _<u>Iv</u>_ <u>0.6)</u> <u>−</u> <u>0.4</u>, µ ( _Iv_ ) ≥ 0.4 ,    0.5, _else_ 1 = _b_ 1 - _a_ (c) Bilateral filtered illumination map (d) Guided filtered illumination map Fig. 4. Noise reduction effect diagram. In Eq. (16), _F_ represents the preliminarily enhanced image after transformation, <sup>_I_</sup> _g_ represents the output enhanced image, _M_ represents the target mean, and In Eq. (17), _a_ represents the weighting coefficient for the output of contrast-limited histogram equalization, _b_ represents the weighting coefficient for <sup>_I_</sup> _g_, and µ ( <sup>_I_</sup> _v_ ) represents the mean brightness of the _V_ channel image of the original image. Finally, the _Iout_ channel image, the _H_ (hue) channel image _I_ _H_ from the initial input image, and the _S_ (saturation) channel image <sup>_I_</sup> _S_ <sup>are combined to form an</sup> HSV image, which is then converted to the RGB format and output as the final RGB image. In summary, the workflow of the brightness equalization algorithm based on region division in low-light conditions is shown in Fig. 5. Extracting V-channel Start Input RGB image RGB→HSV images <u>Y</u> <u>N</u> Adaptive Constructing <u>Y</u> Adaptive 1 - <sup>_I_</sup> _v_ Target Mean m ( _Iv_ ) - _Ith_ ? Adaptive Target Mean Gamma Correction Guide filtering to extract illumination components Image Adaptive histogram equalization m ( _Iv_ ) - _Ith_ ? <u>Y</u> <u>N</u> 1 - <sup>_I_</sup> _v_ Guided filtering for denoising End HSV→RGB Merge _IH_ and _IS_ Fig. 5. Flow chart of brightness equalization algorithm for Chinese painting pigments in low illumination environments based on region division. <u>116 | P</u> In Fig. 5, the first step is to input the original image in RGB format. The second step is to convert the original RGB image to the HSV format and extract the V channel image <sup>_I_</sup> _V_ <sup>.</sup> The third step is to calculate the grayscale mean of image <sup>_I_</sup> _V_ and determine if the mean is greater than a set empirical threshold _Ith_ . If the mean is less than _Ith_, the mean remains unchanged. If the mean is greater than _Ith_, the mean is inverted, resulting in a mean-limited grayscale image _I_ lim . The fourth step consists of three operations. The first operation is logarithmic transformation followed by binarization to obtain a binary image containing texture edges. Then, the binary image is segmented into regions. The second operation is 8-neighborhood mean filtering to obtain neighborhood information for each pixel. The third operation is denoising of the grayscale image _I_ lim using guided filtering, resulting in an illumination map <sup>_I_</sup> _q_ <sup>. The fifth step</sup> of the algorithm is to construct the target mean _M_ _i_ for each region based on the brightness mean, minimum value, and image mean of the original input image within the regions segmented in the first operation of the fourth step. The sixth step is to perform gamma correction on the preliminarily enhanced image to achieve brightness correction, resulting in the image <sup>_I_</sup> _g_ <sup>. The seventh step is to determine whether the</sup> inversion operation was performed in the third step. If inversion was performed, the image <sup>_I_</sup> _g_ <sup>is restored; if not, it</sup> remains unchanged. The eighth step is to denoise the image <sup>_I_</sup> _g_ <sup>using guided filtering to obtain the denoised image. The</sup> ninth step is to perform contrast-limited histogram equalization on <sup>_I_</sup> _g_ <sup>and then perform weighted fusion to</sup> obtain the corrected image _Iout_ . The final step is to combine the H and S channels back into the HSV color space, convert it to RGB format, and output the brightness equalized image. IV. PERFORMANCE ANALYSIS AND SIMULATION EXPERIMENT OF REGION-BASED IMAGE BRIGHTNESS EQUALIZATION ALGORITHM _A._ _Performance Analysis of Region-based Image Brightness_ _Equalization Algorithm_ The processor used for this performance test is an Intel(R) Core (TM) i9-13900HX CPU with a clock speed of 5.4GHz, 16GB RAM, and a 64-bit operating system. The simulation software used is MATLAB R2022a. The images used in this experiment were obtained by continuously capturing 300 frames of the same Chinese painting in a low-light indoor environment. Five frames were randomly selected from the 300 frames of Chinese painting images and named Frame 1 to 5. The information entropy and Structural Similarity (SSIM) of the images enhanced by different algorithms were compared. The comparison of information entropy is Table I. From Table Ⅰ, the original images information entropy is generally in the range of 4-6. After MSRCR processing, it is in the range of 5-7. After Dong processing, the information entropy is in the range of 6-8. After Zohair processing, the information entropy is in the range of 7-9. After processing _Vol. 15, No. 1, 2024_ with the proposed method, the information entropy of the images is in the range of 9-10. A higher information entropy value indicates more detailed information in the image. The images processed by the proposed algorithm in this study show significantly more detailed information compared to other algorithms. The comparison results of SSIM are shown in Table Ⅱ. TABLE I. INFORMATION ENTROPY Algorithm Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Original drawing 4.63 5.55 5.16 4.86 5.03 MSRCR 6.36 5.98 5.66 5.13 6.05 Dong 7.32 6.98 7.55 6.77 7.09 Zohair 7.53 8.25 7.86 8.03 7.33 This study 9.56 9.43 9.36 9.78 9.89 TABLE II. STRUCTURAL SIMILARITY COMPARISON RESULTS <u>Algorithm</u> <u>Frame 1</u> <u>Frame 2</u> <u>Frame 3</u> <u>Frame 4</u> <u>Frame 5</u> <u>MSRCR</u> <u>0.06</u> <u>0.13</u> <u>0.22</u> <u>0.09</u> <u>0.23</u> <u>Dong</u> <u>0.23</u> <u>0.15</u> <u>0.09</u> <u>0.21</u> <u>0.26</u> <u>Zohair</u> <u>0.22</u> <u>0.26</u> <u>0.19</u> <u>0.23</u> <u>0.25</u> <u>This study</u> <u>0.30</u> <u>0.34</u> <u>0.29</u> <u>0.36</u> <u>0.35</u> From Table Ⅱ, the SSIM of the images reinforced by MSRCR is in the range of 0.06-0.23. The SSIM of the images enhanced by Dong is in the range of 0.09-0.26. The SSIM of the images enhanced by Zohair is in the range of 0.19-0.26. The SSIM of the images enhanced by the proposed method in this study is in the range of 0.30-0.36. The SSIM of the images enhanced by the method is significantly higher than other algorithms, indicating that the details of the images preserved by the method are more complete and the enhancement effect is better compared to other algorithms. A comparison was made between the adaptive gamma brightness correction method used in the algorithm and the fixed parameter gamma correction method. The experimental results are shown in Fig. 6. Original image Fixed parameter Gamma correction Proposed Gamma correction Fig. 6. Comparison of different gamma brightness correction methods. In Fig. 6, from the experimental results, it can be observed that when the input images are in the range of 1-300 frames, the brightness fluctuation of the images corrected by the <u>117 | P</u> 0.55 0.54 0.53 Standard:7.634×10 <sup>-3</sup> 0.52 0.51 0.50 Standard:5.342×10 <sup>-3</sup> 0.49 0.48 Standard:1.861×10 <sup>-3</sup> 0.47 0.46 <u>0</u> <u>30</u> <u>60</u> <u>90</u> <u>120</u> <u>150</u> <u>180</u> <u>210</u> <u>240</u> <u>270</u> <u>300</u> Standard:7.634×10 <sup>-3</sup> Standard:5.342×10 <sup>-3</sup> Standard:1.861×10 <sup>-3</sup> 0.013 0.012 0.011 0.010 0.009 0.008 0.007 0.006 0.005 0.004 Sample improved adaptive gamma correction method in this study significantly decreases compared to the original images. On the other hand, the images corrected by the fixed parameter gamma correction method exhibit larger brightness fluctuations compared to the original images. The adaptive gamma correction method used in this study outputs a standard deviation of brightness of 1.861 × 10 <sup>−</sup> 3, while the original images have a brightness standard deviation of _Vol. 15, No. 1, 2024_ 7.634 × 10 <sup>−</sup> 3, and the images corrected by the fixed parameter gamma correction method have a brightness standard deviation of 5.342 × 10 <sup>−</sup> 3 . The standard deviation of brightness corrected by the adaptive gamma correction method is significantly lower than that of the original images and the fixed parameter gamma correction method. This study also compared the runtime of different algorithms at different scaling factors. The specific results are shown in Fig. 7. The algorithm proposed in this study Zohair Dong MSRCR 20 18 16 14 12 10 8 6 4 2 <u>0</u> <u>20</u> <u>40</u> <u>60</u> <u>80</u> <u>100 120</u> Packets <u>60</u> <u>80</u> <u>100 120</u> <u>140</u> <u>160 180</u> <u>200</u> The algorithm proposed in this study Zohair Dong 20 MSRCR 18 16 14 12 10 8 6 4 2 <u>0</u> <u>20</u> <u>40</u> <u>60</u> <u>80</u> <u>100 120</u> Packets <u>60</u> <u>80</u> <u>100 120</u> <u>140</u> <u>160 180</u> <u>200</u> (a) Scale factor r=1 (b) Scale factor r=0.1 Fig. 7. Running time of different algorithms under different scaling coefficients. Fig. 7(a) represents the runtime of different algorithms with varying group numbers under a scaling factor of 1. It can be observed that under a scaling factor of 1, the runtime of all algorithms increases with the increase in group numbers. When the group number reaches 200, the proposed algorithm in this study has the shortest runtime among all algorithms, which is 16.63 seconds. Fig. 7(b) represents the runtime of different algorithms with varying group numbers under a scaling factor of 0.1. It can be seen that under a scaling factor of 0.1, the runtime of all algorithms is significantly shorter compared to the case of a scaling factor of 1. Among them, the proposed algorithm in this study has the shortest runtime among all group numbers, which is 8.37 seconds when the group number reaches 200. _B._ _Simulation Experiment of Brightness Equalization_ _Algorithm for Chinese Painting Images Based on Regional_ _Division_ The comparison of the average brightness of Chinese painting pigments enhanced by different enhancement algorithms in low-light environments is shown in Fig. 8. In Fig. 8, the image enhanced by the MSRCR image enhancement algorithm has the lowest average brightness among the five algorithms, indicating that its brightness equalization processing is the worst among the five algorithms. The image enhanced by the Dong image enhancement algorithm has a lower average brightness and a slower growth rate. The image enhanced by the Zohair image enhancement algorithm has a higher average brightness and a faster growth rate. The image enhanced by the algorithm proposed maintains a high level of average brightness and has a fast growth rate. This study introduced the Peak Signal-to-Noise Ratio (PSNR) for evaluating the fidelity of the images. PSNR tests were conducted on different algorithms using the Brightening dataset and the LOL dataset, and the results are shown in Fig. 9. 40 20 <u>0</u> <u>30</u> <u>60</u> <u>90</u> <u>120</u> <u>150</u> <u>180</u> <u>210</u> <u>240</u> <u>270</u> <u>300</u> Packets Fig. 8. Average brightness results of Chinese painting pigments in low illuminance environments with different enhancement algorithms for image enhancement. In Fig. 9, Fig. 9(a) shows the comparison of PSNR for different algorithms under the Brightening dataset. The PSNR of the MSRCR algorithm is close to that of the Dong algorithm, and both algorithms have large fluctuations. The PSNR of the Zohair algorithm is higher, and its fluctuations are more stable than the above two algorithms. The PSNR of the algorithm proposed is greater than the above three at bit rates ranging from 0 to 2000, and it has a fast growth rate. The maximum PSNR values for the four algorithms are obtained when the bit rate reaches 2000, which are 26.6db, 28.4db, <u>118 | P</u> 200 180 160 140 120 100 80 60 The algorithm proposed in this study Zohair Dong MSRCR 32.5db, and 37.6db, respectively. Fig. 9(b) shows the comparison of PSNR for different algorithms under the LOL dataset. Except for the method proposed, the PSNR of the other three algorithms fluctuates significantly under the LOL dataset. However, the maximum PSNR values for each algorithm are still obtained at a bit rate of 2000, which are 28.2db, 32.6db, 35.8db, and 37.1db, respectively. The maximum PSNR for the four algorithms has improved under the LOL dataset. A comparison was made between the brightness histograms of the low-light Chinese painting images enhanced by different algorithms and the brightness histogram of the original Chinese painting image, and the results are shown in Fig. 10. In Fig. 10, Fig. 10(a) represents the brightness distribution histogram of the original low-light Chinese painting image. It 38 36 34 32 30 28 26 24 22 20 <u>0</u> <u>300</u> 38 36 34 32 30 28 26 24 22 20 <u>0</u> <u>300</u> <u>600</u> <u>900</u> <u>1100</u> <u>1400</u> <u>1700</u> <u>2000</u> Bit rate(Kb/s) (b) LOL dataset Fig. 9. Comparison of PSNR under different datasets. <u>600</u> <u>900</u> <u>1100</u> <u>1400</u> <u>1700</u> <u>2000</u> Bit rate(Kb/s) (a) Brightening dataset _Vol. 15, No. 1, 2024_ can be seen that the high brightness region of the original image is concentrated in one area, and the brightness in other areas is at a lower level, indicating a highly uneven brightness distribution of the image. Fig. 10(b) represents the brightness distribution histogram after brightness equalization processing using the Zohair algorithm. It can be seen that the overall brightness of the image has significantly improved, but there are still some areas with low brightness values, indicating an uneven brightness distribution. Fig. 10(c) represents the brightness distribution histogram after brightness equalization processing using the algorithm proposed. The overall brightness of the image has significantly improved, and the brightness distribution is balanced in all parts, indicating that the proposed method can better perform brightness equalization processing on Chinese paintings captured in low-light environments. The algorithm proposed Zohair Dong MSRCR The algorithm proposed Zohair Dong MSRCR 2.5 2.0 1.5 1.0 <u>×10</u> <sup>4</sup> <u>×10</u> <sup>4</sup> 2.5 2.0 1.5 1.0 0.5 0.0 ~~0~~ ~~50~~ <u>100</u> <u>150</u> <u>200</u> <u>250</u> 0.5 0.0 ~~0~~ ~~50~~ <u>100</u> <u>150</u> <u>200</u> <u>250</u> Horizontal axis Horizontal axis (a) Histogram of the original image (b) Histogram of the Zohair image 2.5 2.0 1.5 1.0 <u>×10</u> <sup>4</sup> 0.5 0.0 ~~0~~ ~~50~~ <u>100</u> <u>150</u> <u>200</u> <u>250</u> Horizontal axis (c) The histogram of the algorithm proposed in this study Fig. 10. Brightness histograms of low illuminance Chinese painting images enhanced by different algorithms. <u>119 | P</u> V. CONCLUSION The uneven display of pigment brightness in low light environments in Chinese painting poses certain obstacles to the promotion of Chinese painting and the dissemination of Chinese culture. Image denoising and image enhancement are common methods for processing low light images. However, traditional image denoising methods such as mean filtering and bilateral filtering may lead to loss of image details and poor generalization performance [21]. Traditional image enhancement methods based on grayscale transformation, histogram equalization, and Retinex theory also suffer from poor visual effects, unsatisfactory enhancement effects, and loss of details [22-23]. In this context, in order to enhance low light images more effectively, a region-based brightness equalization algorithm for low-light Chinese paintings was proposed. The performance test tells that the image information entropy enhanced by the proposed method was between 9 and 10, higher than the 5-7 of MSRCR, the 6-8 of Dong, and the 7-9 of Zohair, reaching the highest value among all the compared algorithms. This indicates that the image processed by the proposed algorithm presents more detailed information compared to other algorithms. The SSIM (Structural Similarity Index) of the image enhanced by the proposed method was between 0.30 and 0.36, significantly higher than the 0.06-0.23 of MSRCR, the 0.09-0.26 of Dong, and the 0.19-0.26 of Zohair. This indicates that the details of the image preserved after enhancement using the proposed method are more complete compared to other algorithms, resulting in better enhancement effects. In the simulation experiment, the brightness distribution histograms of the images after brightness equalization processing using different algorithms were compared. The testing outcomes tells that overall brightness value of the image processed by the proposed method was significantly improved compared to the original image. The brightness values were roughly between 1.51 and 2.0, indicating a more balanced distribution. This indicates that the proposed method can effectively perform brightness equalization processing for Chinese paintings in low-light environments. However, the proposed brightness equalization algorithm is easily affected by image brightness and noise when performing region partitioning, and it is implemented through simulation on the Matlab platform, which limits its runtime. Therefore, further research can explore better denoising methods for image preprocessing, algorithm optimization, and GPU acceleration. REFERENCES [1] Mishro P K, Agrawal S, Panda R, Abraham A. A novel brightness preserving joint histogram equalization technique for contrast enhancement of brain MR images. Biocybernetics and Biomedical Engineering, 2021, 41(2):540-553. [2] Tirumani V H L, Tenneti M, Srikavya K C, Kotamraju S K. Image resolution and contrast enhancement with optimal brightness compensation using wavelet transforms and particle swarm optimization.IET image processing, 2021, 15(12):2833-2840. [3] Jeevan K M, Anne G A B, Kumar P V. An image enhancement method based on gabor filtering in wavelet domain and adaptive histogram _Vol. 15, No. 1, 2024_ equalization. Indonesian Journal of Electrical Engineering and Computer Science, 2021, 21(1):146-153. [4] Rao G S, Srikrishna A. Image Pixel Contrast Enhancement Using Enhanced Multi Histogram Equalization Method. Ingénierie des Systèmes D Information, 2021, 26(1):95-101. [5] Hussain I, Muhammad J. Efficient convex region-based segmentation for noising and inhomogeneous patterns. Inverse Problems and Imaging, 2023, 17(3):708-725. [6] Matsuyama E. A Novel Method for Automated Lung Region Segmentation in Chest X-Ray Images. Journal of biomedical science and engineering, 2021, 14(6):288-299. [7] Chen Y, Gan H, Zeng Z, Chen H. DADCNet: Dual attention densely connected network for more accurate real iris region segmentation. International Journal of Intelligent Systems, 2021, 37(1):829-858. [8] Cao R, Mo H, Gao C. Line Art Colorization Based on Explicit Region Segmentation. John Wiley & Sons, Ltd, 2021, 40(7):1-10. [9] Tirumani V H L, Tenneti M, Srikavya K C, Kotamraju S K. Image resolution and contrast enhancement with optimal brightness compensation using wavelet transforms and particle swarm optimization.IET image processing, 2021, 15(12):2833-2840. [10] Xu Y, Yang C, Sun B, Yan X, Chen M. A novel multi-scale fusion framework for detail-preserving low-light image enhancement. Information Sciences, 2021, 548(12):378-397. [11] Liang Y. Analysis of the Integration of Chinese Painting Techniques in Watercolor Painting. Arts Studies and Criticism, 2022, 3(1):37-40. [12] Lu B, Pang Z, Gu Y, Zheng Y. Channel splitting attention network for low-light image enhancement. IET Image Processing, 2022, 16(5):1403-1414. [13] Reddy S K, Prasad R K. An Extended Fuzzy C-Means Segmentation for an Efficient BTD With the Region of Interest of SCP. International journal of information technology project management, 2021, 12(4):11-24. [14] Wang W, Liu R. A saturation-value histogram equalization model for color image enhancement. Inverse Problems and Imaging, 2023, 17(4):746-766. [15] Yu N, Li J, Hua Z. LBP-based progressive feature aggregation network for low-light image enhancement.IET image processing, 2022, 16(2):535-553. [16] Choudhuri S, Adeniye S, Sen A. Distribution Alignment Using Complement Entropy Objective and Adaptive Consensus-Based Label Refinement for Partial Domain Adaptation. Artificial Intelligence and Applications. 2023, 1(1): 43-51. [17] Yang Y, Song X. Research on face intelligent perception technology integrating deep learning under different illumination intensities. Journal of Computational and Cognitive Engineering, 2022, 1(1): 32-36. [18] Ponmani E, Saravanan P. Image denoising and despeckling methods for SAR images to improve image enhancement performance: a survey. Multimedia Tools and Applications, 2021, 80(17): 26547-26569. [19] Xu Y, Yang C, Sun B, Yan X, Chen M. A novel multi-scale fusion framework for detail-preserving low-light image enhancement. Information Sciences, 2021, 548(12):378-397. [20] Sandoub G, Atta R, Ali H A, Abdel-KaderA R F. low‐light image enhancement method based on bright channel prior and maximum colour channel. IET Image Processing, 2021, 15(8):1759-1772. [21] Ilesanmi A E, Ilesanmi T O. Methods for image denoising using convolutional neural network: a review. Complex & Intelligent Systems, 2021, 7(5): 2179-2198. [22] Hosny K M, Darwish M M, Aboelenen T. Novel fractional-order polar harmonic transforms for gray-scale and color image analysis. Journal of the Franklin Institute, 2020, 357(4): 2533-2560. [23] Bulut F. Low dynamic range histogram equalization (LDR-HE) via quantized Haar wavelet transform. The Visual Computer, 2022, 38(6): 2239-2255. <u>120 | P</u>

섹션 본문 49문단 · 24,730자

(제목 없음)

1With the promotion and development of Chinese painting and the advancement of photography technology, people can appreciate various types of Chinese paintings through image and other methods.However, Chinese painting images in low-light environments face the problem of extreme uneven brightness distribution.The currently proposed solutions for this problem are not sufficient.Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division.This algorithm also utilizes guided filtering for image denoising.In performance testing, the proposed method has a runtime of 16.63 seconds under a scaling factor of 1 and a runtime of 8.37 seconds under a scaling factor of 0.1, which are the fastest among the compared algorithms.In simulation experiments, the brightness equalization value of the proposed method is 198.93, which is listed at the best among all the compared algorithms.This research provides a valuable research direction for the brightness equalization of Chinese painting pigments.

I. INTRODUCTION

2In the process of promoting Chinese painting, pigments are one of the most visually impactful elements for viewers, as they directly determine the visual effects of the artwork [1].However, due to the limitations of low-light environments, Chinese paintings in low-light scenes may face the problem of uneven pigment brightness, which affects the visibility and artistic quality of the artwork to some extent.A low-light environment refers to an environment with dim lighting or insufficient light sources [2].In such environments, due to the scarcity and weakening of light, details in the image are difficult to display clearly, and the differences in pigment brightness become more pronounced.This significantly affects the appreciation of Chinese paintings by viewers.At present, the processing methods for low light images include image enhancement, noise removal, and multi frame image fusion, which can be divided into two approaches: hardware and software.However, the focus is mainly on software upgrades and improvements [3].Due to the uneven lighting in the shooting environment, the brightness of captured images may be uneven, with some areas appearing too bright while others are too dark.Existing brightness equalization algorithms not only enhance the noise in the image but also have issues with inconsistent equalization across different regions [4].

3Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division.This study will provide reference and guidance for the application of region-based brightness equalization algorithms in the field of Chinese painting pigment brightness equalization and other related fields.The research is divided into five sections: an overview of the research in Section I, a review of domestic and foreign studies in Section II, a study on the algorithm's methodology in Section III, performance testing of the algorithm in Section IV, and a summary and outlook on the limitations of this research in Section V.

II. LITERATURE REVIEW

4Researchers have focused on using image region division techniques to improve image enhancement methods.Matsuyama E proposed a segmentation method for chest X-ray images.This method can automatically remove the scapular region, mediastinal region, and diaphragm region from various chest X-ray images as the learning data for this method.The method uses a simple linear iterative clustering algorithm and local entropy filtering to generate an entropy map, which is then subjected to morphological operations to perform region segmentation on the lung image.The method was tested, and the results showed that it can remove non-pulmonary markings from the image and present clear X-ray images of the lungs [5].Chen et al. found that the evaluation metrics of existing iris segmentation algorithms may be influenced by inaccurate localization of the Ground Truth image.Therefore, researchers proposed using a mask image segmented based on deep learning algorithms as a substitute for the Ground Truth image.Experimental results showed that the mask image segmented based on deep learning algorithms can completely replace the original Ground Truth image [6].Cao et al. found that existing line art coloring methods can produce credible coloring results, but these methods are often affected by color bleeding issues.Therefore, researchers proposed an explicit segmentation fusion mechanism.Testing outcomes shows that the model can better fulfill the coloring instructions given by the user and can greatly alleviate the problem of color bleeding artifacts [7].

5Image enhancement methods are applicable in various fields, and researchers have made many improvements to these methods.Tirumani et al. found that existing image enhancement methods have unstable effects on contrast and resolution enhancement.Therefore, researchers process the resolution of the image, and then used auto optimization to enhance the resolution and brightness.Testing outcomes showed that this method can effectively and stably enhance the resolution and contrast of the image [8].Xu et al. proposed a multi-scale fusion framework for low-light image enhancement.This framework first generates multiple artificially multi-exposure images using a mapping function, then combines exposure to create a weight map, and finally fuses different frequency bands of the image.Testing outcomes showed that this method outperforms existing algorithms in enhancing low-light images [9].Lu et al. believed that the current image enhancement methods based on convolutional neural network models do not differentiate image features on different channels, which hinders the learning of hierarchical features.Therefore, researchers proposed a channel-split attention network that can analyze shallow features in a targeted manner by splitting them into residual and dense branches.Experimental results showed that this method exhibited excellent performance in both qualitative and quantitative evaluations [10].

6In summary, although region division methods have been applied in multiple fields, their combination with image enhancement for brightness equalization of Chinese painting pigments is relatively rare.Therefore, this research proposes a brightness equalization algorithm for Chinese painting pigments in low-light environments based on region division, providing effective technical support for the promotion of Chinese painting.

III. REGION-BASED BRIGHTNESS EQUALIZATION ALGORITHM FOR CHINESE PAINTING PIGMENTS IN LOW-LIGHT ENVIRONMENTS

7Chinese painting images in low-light environments often suffer from uneven lighting in the pigment display [11].Traditional image brightness equalization algorithms have limitations in achieving sufficient brightness equalization and enhancing all local details [12].To address this issue, this research proposes a region-based brightness equalization algorithm for Chinese painting pigments in low-light environments.This algorithm improves existing image enhancement algorithms and provides effective assistance in the refinement of image enhancement algorithms.

A. Single-Frame Image Brightness Equalization Enhancement Method in Low-Light Environments

8Images in image processing come in various formats, including RGB, LAB, YUV, HSV, HIS, etc.The main image format studied in this research is HSV.In this research, the RGB image is first converted to the HSV image.In HSV, H represents the hue of the image, S represents the saturation, and V represents the value or brightness of the image.The advantage of the HSV format is that the color information of the image does not affect the brightness component, which ensures that the original colors of the image are preserved during brightness enhancement.The schematic diagram of an HSV image is shown in Fig. 1.

9In Fig. 1, a cone shape is hired to manifest the HSV color space, where the hue is determined by the rotation angle around the center of the cone, with each 120° representing a different color.The closer to the center of the cross-section, the less saturated the color is, and the closer to the apex of the cone, the weaker the brightness.The conversion of RGB to HSV is represented by Eq. (1).In Eq. ( 1), , , R G B represent the three primary colors in the RGB color space, where R means red, B represents blue, and G represents green.The converted S value is represented by Eq. (2).

{ }

10min , , , 0

11In Eq. ( 2), V represents the value obtained from Eq. (1

12In Eq. ( 3), R represents the R value in the RGB.The brightness of an HSV image is divided into different levels [13].The average brightness range of the V channel is [0,1] .An empirical threshold th I is set, and when the average brightness of an image is below this threshold, the image is considered a high-brightness image.Therefore, the brightness range of high-brightness images is [ ,1] th I

13. For the enhancement of high-brightness images, the focus is mainly on enhancing the contrast [14].Since the enhancement results of high-brightness images are similar to those of low-brightness images, this research converts high-brightness images to low-brightness images for enhancement and then converts them back to high-brightness images after enhancement [15].The formula for obtaining the limited brightness image is represented by Eq. ( 4).lim , 1 ,

14In Eq. ( 4), lim I represents the limited brightness channel image, v I represents the V channel image extracted after converting from RGB to HSV, and v I represents the average brightness of the V channel image.The brightness region division of the image in this research is divided into four steps.The first step is the initial enhancement of the limited V channel image, and the enhancement formula is represented by Eq. ( 5).

152 lim log ( 1)

16In Eq. ( 5), lim I represents the limited V channel image, and F represents the image after initial enhancement.The region segmentation of the image in this research is divided into four steps.The second step is the binarization of the multi-scale image [16].Two different binarization methods are used for the edges and region shapes of the image.The first binarization method first applies mean filtering to the image F after initial enhancement to obtain the neighborhood mean value of each pixel.Then, the brightness value is divided by the neighborhood mean value, and the result is compared with the adaptive sensitivity factor T .Finally, the binarized V channel brightness image is obtained.The calculation process is represented by Eq. ( 6).

17In Eq. ( 6), ( , ) F x y represents the brightness value of each pixel, and 1 1 ( , )

18represents the neighborhood mean value.The second binarization method subtracts the mean filtering image from F , and then subtracts a constant C to obtain the difference image sm I .Then, based on the pixel values of I, binarization is performed to obtain a binary image containing texture boundaries.The calculation process is represented by Eq. ( 7).

19In Eq. ( 7), ( , ) sm I x y represents the pixel values of the image sm I .The second step of region image processing is fusion, which involves merging the two binarized images obtained earlier to create a new binary image.The fusion formula is shown in Eq. ( 8).

_1

20_ 2 binary binary binary

21In Eq. ( 8), ⊕ represents the logical AND operator.The third step is noise reduction using morphology.The fourth step is region segmentation.The specific operation involves first marking the boundaries of the denoised regions, and then dividing the image into multiple regions and assigning them numbers based on the marked content.The schematic diagram of image segmentation is shown in Fig. 2.

22In Fig. 2, the images from left to right are the original image, the two binarized images, the fused image obtained from the fusion calculation of the two binarized images, the denoised binary image, and the segmented image.Due to the significant brightness differences between different regions in images with uneven lighting, targeted brightness adjustment is needed [17].The image is marked based on the different brightness levels in different regions, and the marking rule is shown in Eq. ( 9).min ( ) 0.5, 2 ,

Fusion

23Denoising Partition

24The first type of binarization In Eq. ( 9), i represents the index of the region, min i V represents the minimum brightness value in that region, and i V represents the average brightness of that region.

B. Image Brightness Equalization Enhancement Method Based on Region Denoising

25Denoising is an important step in image enhancement.Currently, there are various denoising methods, including bilateral filtering-based denoising, Gaussian filtering-based denoising, and linear guided filtering-based denoising [18].The denoising method based on bilateral filtering is computationally complex and slow.The denoising method based on Gaussian filtering tends to blur the edges of the denoised image and result in unclear presentation of image details.The denoising method based on linear guided filtering produces clear edges in the denoised image without artifacts and has a faster computation speed.Therefore, in this research, the guided filtering method is used for image denoising.The workflow of the guided filtering denoising method is shown in Fig. 3.

26q aI b = + Fig. 3. Guiding the workflow of filtering and noise reduction methods.

27In Fig. 3, the workflow of guided filtering includes a guidance image I , an input image p , and an output image q .The guidance image can be pre-set based on different application scenarios, but it can also be replaced by the input image.The guided filtering principle is based on the premise assumption that a linear relationship exists between the guidance image and the output image.Assuming that in a window m ω centered at pixel m , q is a linear transformation of I , the transformation formula is shown in Eq. (10).

28,

29In Eq. ( 10), m a and m b represent the assumed linear invariant coefficients within the window m ω , and m ω is a square window with a radius of r centered at pixel m .To determine the values of m a and m b , constraints need to be applied to the input image p , and the constraints are shown in Eq. (11).

30In Eq. (11), n represents the excess information in q ,

31where most of the irrelevant information is noise.The linear regression model established in window m ω is shown in Eq. ( 12).

32In Eq. ( 12), ε is a regularization parameter to constrain m a , and its solution is shown in Eq. ( 13).ω , there will be multiple values of i q in different windows.Therefore, Eq. ( 14) is used to determine the value of Therefore, Eq. ( 14) can also be written as Eq.(15).

33In Eq. ( 15), In Fig. 4, Fig. 4(b) is the image after denoising with Gaussian filtering, Fig. 4(c) is the image after denoising with bilateral filtering, and Fig. 4(d) is the image after denoising with guided filtering.Fig. 4(a) is the original one.The image after denoising with Gaussian filtering appears darker in color and has unclear edges.The image after denoising with bilateral filtering has clear brightness edges.The image after denoising with guided filtering has clear brightness edges and the details in each region are smoothed, which better matches the actual lighting distribution [19].In order to achieve better enhancement of the image, this research uses a two-dimensional gamma function to perform brightness correction on images with uneven lighting [20].The formula for the two-dimensional gamma function is shown in Eq. ( 16).www.ijacsa.thesai.orgIn Eq. ( 16), F represents the preliminarily enhanced image after transformation, g < , indicating an increase in brightness for ( , ) F x y ; otherwise, the brightness is reduced.The image obtained is further filtered using guided filtering with a radius of six and a regularization parameter of 1 4 e − for denoising.Then, contrast-limited histogram equalization is applied to obtain the image c I , which is then weighted fused using the weighted fusion formula shown in Eq. ( 17).I from the initial input image, and the S (saturation) channel image S I are combined to form an HSV image, which is then converted to the RGB format and output as the final RGB image.In summary, the workflow of the brightness equalization algorithm based on region division in low-light conditions is shown in Fig. 5.

Start

34Input RGB image RGB→HSV Extracting V-channel images In Fig. 5, the first step is to input the original image in RGB format.The second step is to convert the original RGB image to the HSV format and extract the V channel image V I .The third step is to calculate the grayscale mean of image V I and determine if the mean is greater than a set empirical threshold th I .If the mean is less than th I , the mean remains unchanged.If the mean is greater than th I , the mean is inverted, resulting in a mean-limited grayscale image lim I .The fourth step consists of three operations.The first operation is logarithmic transformation followed by binarization to obtain a binary image containing texture edges.Then, the binary image is segmented into regions.The second operation is 8-neighborhood mean filtering to obtain neighborhood information for each pixel.The third operation is denoising of the grayscale image lim I using guided filtering, resulting in an illumination map q I .The fifth step of the algorithm is to construct the target mean i M for each region based on the brightness mean, minimum value, and image mean of the original input image within the regions segmented in the first operation of the fourth step.The sixth step is to perform gamma correction on the preliminarily enhanced image to achieve brightness correction, resulting in the image g I .The seventh step is to determine whether the inversion operation was performed in the third step.If inversion was performed, the image g I is restored; if not, it remains unchanged.The eighth step is to denoise the image g I using guided filtering to obtain the denoised image.The ninth step is to perform contrast-limited histogram equalization on g I and then perform weighted fusion to obtain the corrected image out I .The final step is to combine the H and S channels back into the HSV color space, convert it to RGB format, and output the brightness equalized image.

A. Performance Analysis of Region-based Image Brightness Equalization Algorithm

35The processor used for this performance test is an Intel(R) Core (TM) i9-13900HX CPU with a clock speed of 5.4GHz, 16GB RAM, and a 64-bit operating system.The simulation software used is MATLAB R2022a.The images used in this experiment were obtained by continuously capturing 300 frames of the same Chinese painting in a low-light indoor environment.Five frames were randomly selected from the 300 frames of Chinese painting images and named Frame 1 to 5. The information entropy and Structural Similarity (SSIM) of the images enhanced by different algorithms were compared.The comparison of information entropy is Table I.

36From Table Ⅰ, the original images information entropy is generally in the range of 4-6.After MSRCR processing, it is in the range of 5-7.After Dong processing, the information entropy is in the range of 6-8.After Zohair processing, the information entropy is in the range of 7-9.After processing with the proposed method, the information entropy of the images is in the range of 9-10.A higher information entropy value indicates more detailed information in the image.The images processed by the proposed algorithm in this study show significantly more detailed information compared to other algorithms.The comparison results of SSIM are shown in Table Ⅱ.From Table Ⅱ, the SSIM of the images reinforced by MSRCR is in the range of 0.06-0.23.The SSIM of the images enhanced by Dong is in the range of 0.09-0.26.The SSIM of the images enhanced by Zohair is in the range of 0.19-0.26.The SSIM of the images enhanced by the proposed method in this study is in the range of 0.30-0.36.The SSIM of the images enhanced by the method is significantly higher than other algorithms, indicating that the details of the images preserved by the method are more complete and the enhancement effect is better compared to other algorithms.A comparison was made between the adaptive gamma brightness correction method used in the algorithm and the fixed parameter gamma correction method.The experimental results are shown in Fig. 6.In Fig. 6, from the experimental results, it can be observed that when the input images are in the range of 1-300 frames, the brightness fluctuation of the images corrected by the www.ijacsa.thesai.orgimproved adaptive gamma correction method in this study significantly decreases compared to the original images.On the other hand, the images corrected by the fixed parameter gamma correction method exhibit larger brightness fluctuations compared to the original images.The adaptive gamma correction method used in this study outputs a standard deviation of brightness of Fig. 7(a) represents the runtime of different algorithms with varying group numbers under a scaling factor of 1.It can be observed that under a scaling factor of 1, the runtime of all algorithms increases with the increase in group numbers.When the group number reaches 200, the proposed algorithm in this study has the shortest runtime among all algorithms, which is 16.63 seconds.Fig. 7(b) represents the runtime of different algorithms with varying group numbers under a scaling factor of 0.1.It can be seen that under a scaling factor of 0.1, the runtime of all algorithms is significantly shorter compared to the case of a scaling factor of 1.Among them, the proposed algorithm in this study has the shortest runtime among all group numbers, which is 8.37 seconds when the group number reaches 200.

B. Simulation Experiment of Brightness Equalization Algorithm for Chinese Painting Images Based on Regional Division

37The comparison of the average brightness of Chinese painting pigments enhanced by different enhancement algorithms in low-light environments is shown in Fig. 8.

38In Fig. 8, the image enhanced by the MSRCR image enhancement algorithm has the lowest average brightness among the five algorithms, indicating that its brightness equalization processing is the worst among the five algorithms.The image enhanced by the Dong image enhancement algorithm has a lower average brightness and a slower growth rate.The image enhanced by the Zohair image enhancement algorithm has a higher average brightness and a faster growth rate.The image enhanced by the algorithm proposed maintains a high level of average brightness and has a fast growth rate.This study introduced the Peak Signal-to-Noise Ratio (PSNR) for evaluating the fidelity of the images.PSNR tests were conducted on different algorithms using the Brightening dataset and the LOL dataset, and the results are shown in Fig. 9.In Fig. 9, Fig. 9(a) shows the comparison of PSNR for different algorithms under the Brightening dataset.The PSNR of the MSRCR algorithm is close to that of the Dong algorithm, and both algorithms have large fluctuations.The PSNR of the Zohair algorithm is higher, and its fluctuations are more stable than the above two algorithms.The PSNR of the algorithm proposed is greater than the above three at bit rates ranging from 0 to 2000, and it has a fast growth rate.The maximum PSNR values for the four algorithms are obtained when the bit rate reaches 2000, which are 26.6db,28.4db, 32.5db, and 37.6db, respectively.Fig. 9(b) shows the comparison of PSNR for different algorithms under the LOL dataset.Except for the method proposed, the PSNR of the other three algorithms fluctuates significantly under the LOL dataset.However, the maximum PSNR values for each algorithm are still obtained at a bit rate of 2000, which are 28.2db,32.6db, 35.8db, and 37.1db, respectively.The maximum PSNR for the four algorithms has improved under the LOL dataset.

Fig. 1 .

39Fig. 1.The schematic diagram of an HSV image.

Fig. 2 .

40Fig. 2. Schematic diagram of image partitioning.

m∑

41represent the variance and mean of I within window m ω , ω represents the number of pixels in m represents the mean of p within window m ω .Since pixel i is included in different m

42of the calculated results of the linear coefficients for pixel i .The denoising effects of different denoising methods on the same image are shown in Fig.4.

Fig. 4 .

43Fig. 4. Noise reduction effect diagram.

(

44Eq. (17), a represents the weighting coefficient for the output of contrast-limited histogram equalization, b represents the weighting coefficient for g I , and ( ) v I m represents the mean brightness of the V channel image of the original image.Finally, the out I channel image, the H (hue) channel image H

Fig. 5 .

45Fig. 5. Flow chart of brightness equalization algorithm for Chinese painting pigments in low illumination environments based on region division.

Fig. 6 .

46Fig. 6.Comparison of different gamma brightness correction methods.

1 Fig. 7 .

47Fig. 7. Running time of different algorithms under different scaling coefficients.

Fig. 8 .

48Fig. 8. Average brightness results of Chinese painting pigments in low illuminance environments with different enhancement algorithms for image enhancement.

Fig. 9 .Fig. 10 .

49Fig. 9. Comparison of PSNR under different datasets.

참고문헌 23건

  1. Artificial Intelligence and Applications Artificial Intelligence and Applications · Scientific Online Publishing, Co., Ltd. · 2015 10.15764/aia.2015.01001
  2. International Journal of Information Technology Project Management International Journal of Information Technology Project Management · IGI Global · 2026 10.4018/ijitpm
  3. Novel fractional-order polar harmonic transforms for gray-scale and color image analysis Journal of the Franklin Institute · Elsevier BV · 2020 10.1016/j.jfranklin.2020.01.025
  4. An image enhancement method based on gabor filtering in wavelet domain and adaptive histogram equalization Indonesian Journal of Electrical Engineering and Computer Science · Institute of Advanced Engineering and Science (IAES) · 2021 10.11591/ijeecs.v21.i1.pp146-153
  5. A novel multi-scale fusion framework for detail-preserving low-light image enhancement Information Sciences · Elsevier BV · 2020 10.1016/j.ins.2020.09.066
  6. A low‐light image enhancement method based on bright channel prior and maximum colour channel IET Image Processing · Institution of Engineering and Technology · 2021 10.1049/ipr2.12148
  7. Image Pixel Contrast Enhancement Using Enhanced Multi Histogram Equalization Method Ingénierie des systèmes d information · Lavoisier publishing · 2021 10.18280/isi.260110
  8. International Journal of Intelligent Systems International Journal of Intelligent Systems · Wiley · 2006 10.1002/(issn)1098-111x
  9. A novel brightness preserving joint histogram equalization technique for contrast enhancement of brain MR images Journal of Applied Biomedicine · Elsevier BV · 2021 10.1016/j.bbe.2021.04.003
  10. Image resolution and contrast enhancement with optimal brightness compensation using wavelet transforms and particle swarm optimization IET Image Processing · Institution of Engineering and Technology · 2021 10.1049/ipr2.12268
  11. Methods for image denoising using convolutional neural network: a review Complex & Intelligent Systems · Springer Science+Business Media · 2021 10.1007/s40747-021-00428-4
  12. A Novel Method for Automated Lung Region Segmentation in Chest X-Ray Images Journal of Biomedical Science and Engineering · Scientific Research Publishing · 2021 10.4236/jbise.2021.146024
  13. Low dynamic range histogram equalization (LDR-HE) via quantized Haar wavelet transform The Visual Computer · Springer Science+Business Media · 2021 10.1007/s00371-021-02281-5
  14. DADCNet: Dual attention densely connected network for more accurate real iris region segmentation International Journal of Intelligent Systems · Wiley · 2021 10.1002/int.22649
  15. An Extended Fuzzy C-Means Segmentation for an Efficient BTD With the Region of Interest of SCP International Journal of Information Technology Project Management · IGI Global · 2021 10.4018/ijitpm.2021100102
  16. LBP‐based progressive feature aggregation network for low‐light image enhancement IET Image Processing · Institution of Engineering and Technology · 2021 10.1049/ipr2.12369
  17. Line Art Colorization Based on Explicit Region Segmentation Computer Graphics Forum · Wiley · 2021 10.1111/cgf.14396
  18. Journal of Computational and Cognitive Engineering 2022 10.47852/bonviewjcce
  19. Channel splitting attention network for low‐light image enhancement IET Image Processing · Institution of Engineering and Technology · 2022 10.1049/ipr2.12418
  20. Indonesian Journal of Electrical Engineering and Computer Science Indonesian Journal of Electrical Engineering and Computer Science · Institute of Advanced Engineering and Science (IAES) · 2025 10.11591/ijeecs
  21. Efficient convex region-based segmentation for noising and inhomogeneous patterns Inverse Problems and Imaging · American Institute of Mathematical Sciences · 2022 10.3934/ipi.2022074
  22. Distribution Alignment Using Complement Entropy Objective and Adaptive Consensus-Based Label Refinement For Partial Domain Adaptation Artificial Intelligence and Applications · BON VIEW PUBLISHING PTE · 2023 10.47852/bonviewaia2202524
  23. A saturation-value histogram equalization model for color image enhancement Inverse Problems and Imaging · American Institute of Mathematical Sciences · 2023 10.3934/ipi.2023001