기본 정보
- 저자
- DOI
- 10.3390/app112311497
- 저널
- Applied Sciences
- 발행년도
- 2021
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/app112311497
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4200189713
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 69,828자
본문 펼치기
섹션 본문 131문단 · 67,075자
(제목 없음)
1Citation: Wei, Y.; Jia, Z.; Yang, J.; Kasabov, N.K. High-Brightness Image Enhancement Algorithm. Appl. Sci.Abstract:In this paper, we introduce a tone mapping algorithm for processing high-brightness video images. This method can maximally recover the information of high-brightness areas and preserve detailed information. Along with benchmark data, real-life and practical application data were taken to test the proposed method. The experimental objects were license plates. We reconstructed the image in the RGB channel, and gamma correction was carried out. After that, local linear adjustment was completed through a tone mapping window to restore the detailed information of the highbrightness region. The experimental results showed that our algorithm could clearly restore the details of high-brightness local areas. The processed image conformed to the visual effect observed by human eyes but with higher definition. Compared with other algorithms, the proposed algorithm has advantages in terms of both subjective and objective evaluation. It can fully satisfy the needs in various practical applications.
Introduction
2Videos are frequently used to judge and identify information. They have been widely used in public security monitoring. However, according to weather conditions, luminance conditions, capture equipment and other causes, high-brightness areas may exist in a given video, which results in the information of the target not being obtained. The existence of the bright regions cannot meet the needs of applications. In particular, strong light sources (such as car lights, streetlights and flashlights) make it challenging to enhance night-time images. However, although the existing image enhancement algorithms have apparent effects in improving the details of low-light images, they do not suppress the high-brightness areas in the picture. The existence of bright regions seriously affects the display of the highlighted area's details and the observer's direct visual experience.
3To solve the abovementioned problems, we propose a method for video image processing based on tone mapping. The method is used to remove the bright part of the image, and it can restore the original details of the illuminated area while other areas with brightness remain.
4The examined video was composed of one image frame, so we focused on the enhancement of a single image. The information of the area with uneven illumination was recovered by the image enhancement algorithm. Although the dynamic range can be compressed by global linear scaling, the result is unsatisfactory because the image structure is flattened linearly, losing most of the visual information in light areas and shadows. 2
of 18
5Tone mapping is a technique for mapping high-dynamic range (HDR) images to display devices with low dynamic ranges. Tumblin et al. [1] introduced the concept of tone mapping to computer graphics in 1993. Larson et al. [2] modified and adjusted traditional histogram equalization technology and added some theories regarding the human visual perception system, such as contrast, sharpness and color sensitivity, which were inspired by the previous work of Ferwerda [3]. The method proposed by Ferwerda reduces the dynamic range of an image by simple linear scaling, so it cannot operate with strong dynamic range compression. Durand et al. [4] proposed separating an image into high-frequency sub-images and low-frequency sub-images by using an approximate bilateral filter and a downsampling acceleration filter. The high-frequency part is called the detail layer, and the low-frequency part is called the basic layer, which can better preserve edges. This method can be applied to any global tone mapping algorithm, but after using this method, halation is not entirely eliminated. For the improvement of this method, trilateral filters and other methods have appeared. In 2002, Reinhard et al. [5] proposed a tone mapping method based on photography. This algorithm (with a global component) mainly compresses the high-brightness part of an image. Photographic hue reproduction is a local tone mapping algorithm that retains the boundary effect and avoids halation. In addition, it has the advantage that it does not need to input corrected images. Ferradans et al. [6] proposed a global mapping method in line with the human visual model, and this algorithm enhances the local contrast of images.
6In 2003, Drago et al. [7] proposed a classical global tone mapping algorithm-the adaptive logarithmic mapping algorithm-which can adaptively adjust the cardinality of logarithmic equations according to the different brightness values of pixels. This method can reduce the dynamic range of the examined image, but it easily loses local details, and its effect on improving the overall contrast of the image is not apparent. Duan et al. [8] proposed a novel hue mapping algorithm based on the fast adjustment of global histograms, which can effectively use the whole dynamic range of the display to reproduce the global contrast of high dynamic range images. However, this method cannot effectively preserve local contrast and details, which is a common weakness of global tone mapping operators. The local tone mapping methods proposed in [9][10][11][12][13] are better than the global tone mapping approach used in detail preservation and dynamic range compression. Qiao et al. [12] used local gamma correction, which is also regarded as a kind of local tone mapping algorithm. Tone mapping algorithms in [14][15][16][17][18][19][20][21] are the latest that have good processing effects in terms of image structure, detail preservation, lighting and other features. Wang [15] proposed a new blind tone mapping image (TMI) quality evaluation method based on local degradation characteristics and global statistical characteristics. The texture, structure, color and other image attributes can be local or global. The extracted local and global features are aggregated into the overall quality by regression. Most color mapping operators use the human visual system, and the scene's dynamic range is displayed dynamically by a curve. For example, a model based on the sensitivity of the retina and an adjustment of the graph histogram was proposed in [21]. An asymmetric sigmoid curve is constructed to optimize this algorithm. Choi et al. [22] proposed a novel tone mapping method. Jung et al. [17] proposed a GAN training optimization model for the tone mapping of HDR images. The author collected a large number of tone mapping images, which existing tone mapping operators generated. An objective index is used for evaluation for all output tone mapping operators, and the algorithmic result with the highest evaluation index is selected and classified into the dataset. The model trained by the dataset can learn the best features of the tone mapping operator, so the experimental image processing effect is better than those of the existing tone mapping algorithms. Banderle et al. [23] proposed a new classification method for tone mapping based on the global and local tonal mapping methods commonly mentioned by other authors, frequency tone mapping approach (only the low-frequency part of the image) and split tone mapping approach (the image is divided into large areas and mapped separately for each area). This classification is more detailed than and different from those of other authors. For example, most authors classify the approaches in references [8,9] as local tone mapping methods, but Banderle ranked them as frequency tone mapping operators. Liang [21] proposed a new decomposition model that decomposes an HDR image into a base layer and detail layer and uses the prior information of the base layer and detail layer to minimize the halos and artifacts in the resulting image. Regarding tonal mapping image evaluation, [24] proposed a measure called the tonal mapping quality index (TMQI), which has become one of the most popular indicators for comparing the quality of tonal mapping images.
7Although HDR video acquisition technology was relatively mature in approximately 2010, video tone mapping algorithms appeared as early as 15 years ago. After relevant research [25], most video tone mapping algorithms have the same problems: heavy artificial traces, contrast losses and detail losses.
8Many methods for adjusting local contrast for video processing are based on optical flow prediction in the motion domain [26][27][28]. The advantage of these postoperative algorithms is that we do not need to consider how the tone mapping process is completed (as in previous algorithms), and we do not need to consider what changes need to be made to the filter or whether other operations need to be added for different tone curves. The disadvantage of this kind of method is that it is weaker than the filter method for presenting local contrast and actual video effects. Shahid et al. [29] proposed a hybrid model. As the term suggests, two different tone mapping algorithms are used to process the same frame. Each frame is processed by the method in [30], and the image is divided into regions with drastic changes and regions without drastic changes. The regions with drastic changes are mapped by the algorithm from [31], which preserves the details of the image through the local operation. The remaining region of the image is processed by a histogram correction algorithm [2]. Finally, to maintain the temporal properties of the video, the brightness of the mapped frames is scaled so that the intensity differences between consecutive frames do not exceed the preset threshold.
9We propose a method that uses a window based on tone mapping and solves global optimization problems with local constraints. Specifically, our window method can operate over the whole image. In each window, a linear function limits tone reproduction to suppress strong edges while retaining weak edges naturally. An image with a high dynamic range can be compressed by solving the image-level optimization problem, which integrates all window-based constraints. A global optimization method is used to avoid the artifacts and halation caused by local tone mapping.
10After using our optimized framework, the overall tone mapping effect of the given image is nonlinear and spatially variable, and it is suitable for the diverse structure of the image. Our method has a closed-form solution to achieve the global optimum. Due to this optimality, any local tone adjustment in our method causes the overall effect such that the error is minimized and distributed in the whole image. In addition, our method can flexibly adjust the image quality with only a few parameters to meet the various requirements related to the range compression ratio and the level of detail that must be retained.
11Compared with those of the existing algorithms, the main contributions of the proposed algorithm are as follows:
12(1) The utilized small window can overcome the problem in which the global tone mapping algorithms cannot availably enhance the local contrast and details of the input image. The method we propose in this paper can operate globally and avoid halos and artifacts. (2) For the guidance map component, factors including image brightness, radiance, local average value, standard deviation and so on are considered, which have good effects on image restoration. (3) The experimental images selected in this paper are vehicle images, and the highlighted part blocks the information of the license plate. The background color of the license plate is blue. Therefore, the B channel in the RGB image is retained, and the R and G channels are exchanged for image preprocessing, which significantly affects the recovery of the image exposure area. The rest of this paper is organized as follows: Section 2 shows the related work. Section 3 prepares and introduces our algorithm. Section 4 shows our experimental results. Section 5 is our conclusion.
Related Work
13Generally, we divide tone mapping into two categories: global tone mapping and local tone mapping. Histogram-based algorithms and S-shaped transfer function-based algorithms (such as gamma correction) are the two main categories of global operators. The key for global tone mapping methods is to establish one-to-one mapping or low dynamic radiance mapping. In reference [19], the statuses and categories of tone mappings were summarized. Reference [20] proposed a multiscale image decomposition method that can preserve image edges. The results show that this type of image decomposition method is superior to bilateral filtering in producing range-compressed images.
14Unlike the methods above, our algorithm does not need to decompose the input image into binary or fractional images. Therefore, it avoids the problems associated with layer decomposition. We propose a global optimization framework to constrain each pixel value naturally. In addition, our method does not need to impose any smoothness constraint on the final output.
15Comparing our work with existing tone mapping algorithms, our method can significantly improve the pixel intensity in the overexposed area and balance the brightness of other areas to ensure that the overall contrast of the image will not change too much.
Proposed Method
16We propose a window algorithm based on tone mapping, which improves the visual effect of the overexposed area in an image by compressing the image's dynamic range and restoring the information in the exposed area. In this section, we introduce our algorithm in detail. First, the input image is linearized, and the RGB channel of the image is reconstructed; this is a simple preprocessing step. Then, a local gamma correction is performed on the image, and the local contrast of the image is further improved by color compression. The image passes through the previously set window frame, including a series of operations such as guided filtering, after which the final image is output. The algorithmic flow chart is shown in Figure 1:
17Appl. Sci. 2021, 11, x FOR PEER REVIEW 4 of 18 and G channels are exchanged for image preprocessing, which significantly affects the recovery of the image exposure area.
18The rest of this paper is organized as follows: Section 2 shows the related work. Section 3 prepares and introduces our algorithm. Section 4 shows our experimental results. Section 5 is our conclusion.
Related Work
19Generally, we divide tone mapping into two categories: global tone mapping and local tone mapping. Histogram-based algorithms and S-shaped transfer function-based algorithms (such as gamma correction) are the two main categories of global operators.
20The key for global tone mapping methods is to establish one-to-one mapping or low dynamic radiance mapping. In reference [19], the statuses and categories of tone mappings were summarized. Reference [20] proposed a multiscale image decomposition method that can preserve image edges. The results show that this type of image decomposition method is superior to bilateral filtering in producing range-compressed images.
21Unlike the methods above, our algorithm does not need to decompose the input image into binary or fractional images. Therefore, it avoids the problems associated with layer decomposition. We propose a global optimization framework to constrain each pixel value naturally. In addition, our method does not need to impose any smoothness constraint on the final output.
22Comparing our work with existing tone mapping algorithms, our method can significantly improve the pixel intensity in the overexposed area and balance the brightness of other areas to ensure that the overall contrast of the image will not change too much.
Proposed Method
23We propose a window algorithm based on tone mapping, which improves the visual effect of the overexposed area in an image by compressing the image's dynamic range and restoring the information in the exposed area. In this section, we introduce our algorithm in detail. First, the input image is linearized, and the RGB channel of the image is reconstructed; this is a simple preprocessing step. Then, a local gamma correction is performed on the image, and the local contrast of the image is further improved by color compression. The image passes through the previously set window frame, including a series of operations such as guided filtering, after which the final image is output. The algorithmic flow chart is shown in Figure 1: The first step of linearizing the image is crucial. The main reason for operating on the image in linear space is that this provides greater control and predictability regarding the brightness and color domain expansion. In an unknown area, it is difficult to predict how the expansion process will behave. In addition, to recover the scene attributes, such as the mean, geometric average, and standard deviation, we need to estimate the radiance of the scene accurately.
24For an input image I l = f I h , I h is the radiance map of the image. f (·) represents the operator. I l represents the radiance map of the image after the operation is completed. In short, the core idea of our algorithm is to increase smaller amplitudes and decrease larger amplitudes, this processing step should be conducted in a small area to meet the requirements of amplitude mapping in each pixel neighborhood. The linear function of window w i , centered on pixel i is expressed as follows:
25Formula (1) is a complete representation satisfying local constraints. The coefficients m and n directly affect the local contrast, and m represents the slope of the linear function. When m > 1, the local contrast is enhanced so that the dark areas in the image are brightened; when 0 < m < 1, the high-brightness areas in the image are improved. In the overlapping windows with multiple pixels, similar smoothing constraints are enforced in the neighborhood of the center pixel in the smooth area. The contrast is maintained reasonably in the area with abrupt amplitude changes, so there is no need to add constraints.
26The defined local linear equation is applied to the window w i , and the image is processed by minimizing the solution:
27Because of the existence of a trivial solution, we need to add a constraint term to the above formula to make the minimization Formula (2) feasible. According to Formula (1), the coefficient m directly affects the local contrast of the image. We propose guiding its value in each small window to reduce the global contrast while maintaining the image's information. We support the final objective function as follows:
28where c i is the default positive number, which is used to guide the processing of the local contrast. The collective c i in the image space form the guidance map. By setting an appropriate value for this map, the contrast of the local area can be adjusted correctly (weakening the strong-contrast areas and enhancing the low-contrast areas). The term
29is the squared relative error from the guidance map. The term c −2 i is used to normalize the difference between m i and c i . The term ε is the weight of the added item. We set its value to 0.1 in the experiments.
30The importance of the guidance map c is as follows. Although the value c i affects the local contrast of the image, the accuracy c i does not need to be very high as the radiance value I h can be directly modified. In our optimization window, ε is a weight coefficient that imposes smooth constraints on the guidance map, and the value of this coefficient is very small. The radiance of each pixel is also limited by the linear equation
31, which effectively maintains the image structure.
Optimization and Implementation
32It is difficult to minimize Formula (3) directly because it contains several unknowns. For each group of linear coefficients m i and n i , the definitions exist only in a single window, so the minimization problem of Formula (3) can be expressed as: arg min m, n, I l f = arg min
33Through this expression, by computing the partial derivatives of function f i for m i and n i setting them to zero, we obtain the optimal summed solution and obtain the optimal I l after solving the linear equation. The calculation process is as follows:
34Formulas (5) and (6) can be expressed as a linear relationship:
35where
36By solving Formula (7), we can obtain:
37where
38By taking the partial derivatives of the function f to I l (k) and setting them to zero, we have:
39Appl. Sci. 2021, 11, 11497 7 of 18
40Combining (8) and (9), we can obtain:
41Because of the linearity of Formula (10), it can be simplified as follows:
42where
43The optimal solution of Formula (3) is obtained by solving Formula (11). The matrix D in (11) is symmetric and sparse. In each row i of D, the number of nonzero elements reaches the area defined according to (11). Given an input image including N pixels, where the size of the window w i is set to k × k, D has fewer than N × (2k − 1) 2 nonzero elements (a k = 5 example is shown in Figure 2). Mathematically, the minimum possible window size is 2 × 2, as there are three unknowns in each local window, and at least three linear constraints are needed to make the problem well-posed. Combining (8) and (9), we can obtain:
44Because of the linearity of Formula (10), it can be simplified as follows:
45is a Kronecker delta. The optimal solution of Formula (3) is obtained by solving Formula (11). The matrix in (11) is symmetric and sparse. In each row of , the number of nonzero elements reaches the area defined according to (11). Given an input image including pixels, where the size of the window is set to × , has fewer than × (2 − 1) 2 nonzero elements (a = 5 example is shown in Figure 2). Mathematically, the minimum possible window size is 2 × 2, as there are three unknowns in each local window, and at least three linear constraints are needed to make the problem well-posed. If the image has a medium resolution, we solve the linear system in (11) using symmetric or the generalized minimum residual method. However, the above method needs several minutes to converge to process an image with a resolution higher than 3024 × 4032. We use a multigrid method [32] to speed up the processing time, which is the same as the method used in [33]. In our experiment, it took only a few seconds to produce satisfactory ̂.
46The size of the local window can be adjusted in the system. We set window sizes from 3 × 3 to 11 × 11 and found that a window size of 5 × 5 could produce satisfactory Figure 2. Illustration of the region containing pixel i. All windows w with size 5 × 5 that have i must be within the yellow part. Therefore, under the influence of the local window w, there are at most 80 pixels around pixel i. If the image has N pixels, the total number of nonzero elements in matrix D is less than 80 × N.
47If the image has a medium resolution, we solve the linear system in (11) using symmetric LQ or the generalized minimum residual method. However, the above method needs several minutes to converge to process an image with a resolution higher than 3024 × 4032. We use a multigrid method [32] to speed up the processing time, which is the same as the method used in [33]. In our experiment, it took only a few seconds to produce satisfactoryÎ l .
48The size of the local window can be adjusted in the system. We set window sizes from 3 × 3 to 11 × 11 and found that a window size of 5 × 5 could produce satisfactory results in The algorithm above operates on the brightness channel of the input image. After obtaining the radiance map of the image, the RGB channel was reconstructed using the algorithm mentioned in reference [34]:
49where I l k is one of the RGB color channels of the input image and I h k is one of the RGB color channels of the output image. The parameter s represents the saturation factor. A larger value of s produces a more saturated result. The introduction of (12) maintains the ratios between the brightness and color channels so that the color of the output image can be similar to that of the original image. In the experiment, we chose s ∈ [1, 3] to produce images with natural color.
Guidance Map Configuration
50In the linear optimization framework introduced before, the image processing quality is determined by the guidance map c. We next mainly describe how to obtain an appropriate guidance map c. The coefficient m i directly affects the local contrast of the image. To retain the visual information in the image, we reduced the value of m i where the local contrast was significant and increased the value of m i where the local contrast was slight. The standard deviation σ i of I h is a measure of the local contrast of the image in each window. However, c i is inversely proportional to σ i , which has a bad effect on the results. We defined the guidance map as:
51To improve the visual quality of the resulting image, we calculated the Gaussian filtered image and the σ i of the Gaussian filtered image to reduce noise. In Figure 3b,c show the radiance map of I h (i) and the radiance map of the mean value µ, respectively. Since the local mean value µ and the radiance map I h (i) represent the radiance information of the image, we could see that the information contained in any one of the images was sufficient to contain all the information from the original image completely. If the two factors are added to the guidance image, the local contrast details of the image can be retained as much as possible. We also found that the contrast of the local window radiance is related to the absolute variance. Considering these factors, we add µ and I h (i) to the guidance map. We redefine c i as:
52where κ is a small weight coefficient. We set it to 0.5 in our experiments to prevent c i from being divided by zero. Normally, Figure 3 shows the visual image of each parameter and the effect of our newly defined guidance map c i on the output image. Figure 3a is the input image with a large extensive exposure, in which background information can hardly be seen. Only the colors of some personnel's clothes can be seen in this picture, and the visual effect is inferior. Figure 3b,c show the image brightness and mean radiance after performing 5 × 5 window processing, respectively. Figure 3d shows our measure for the local contrast based on the standard deviation of the radiance σ i . This step can preserve and strengthen the gradients and edges of the image. Figure 3h shows the image generated by the proposed algorithm, which is produced by the guidance map generated by Formula (7); its visual image is Figure 3f. We can see that compared with the output image produced by the standard deviation, average value and average brightness of a single image, the visual image of the proposed method contains all the information in the original image, which can significantly improve the restoration quality of the image. Compared with Figure 3g generated by Formula (6), Figure 3h generated by our algorithm is better in terms of its color, visual effect and detail processing. The detailed comparison is shown in Figure 3i-l.
53Appl. Sci. 2021, 11, x FOR PEER REVIEW 9 of 18 by Formula (6), Figure 3h generated by our algorithm is better in terms of its color, visual effect and detail processing. The detailed comparison is shown in Figure 3i-l.
Parameter Settings
54Our settings were based on the following two points. First, the sum of the three β s affects the global dynamic compression of the input image; a large value makes the resulting image smoother. Second, increasing the value β 2 make the compressed edges with higher contrasts more obvious such that more space is left for less prominent areas.
55In fact, in our algorithm, minor changes to the sum do not greatly impact the results. The values of these two parameters are small, and the ranges of the values are very small. β 3 is fixed at 0.1. For most test images, the default values are β 1 = 0.6 and β 2 = 0.2, and most of the tested images can produce visually satisfactory results.
Comparative Analysis
56To make the algorithm proposed in this paper closer to practical problems, we selected multiple high-brightness license plate images as the processing objects, and we compared our algorithm with several related algorithms proposed by Hui [35], Khan [36], Liang [21] and Xin [37]. This section includes two parts: part one assesses the restored overexposed images subjectively, and part two objectively compares the results produced by our method and other algorithms.
57The sizes of the processed images were 3024 × 4032 pixels in the experiment. To prove the effectiveness of the proposed algorithm, all the algorithms were run on a computer with an Intel Core i5-9400 CPU @ 2.9 GHz (Acer, Taiwan, China), and the compiler software was MATLAB 2019b (9. 7. 0. 1190202, MathWorks, Natick, MA, USA, 2019). In this configuration, the experiments could be completed within 240 seconds.
Subjective Analysis
58In this part, we mainly analyze the experimental results. As shown in Figures 4-7, the representative algorithms developed by Hui [35], Khan [36], Liang [21] and Xin [37] were compared with the algorithm proposed in this paper on different images.
59From the perspective of visual effects, as shown in Figures 6e and 7e, the algorithm of Xin [37] also improved the high-brightness area. Still, our algorithm had greater advantages in terms of the overall contrast of the image and the details of the scene. However, the other algorithms could not effectively recover the information of the key area for all the experimental images. The results showed that the effect of our algorithm regarding key information recovery was pronounced. Although the image's hue was slightly green, especially as shown in Figure 7f (our algorithm made the vehicle tail lamp change from red to green), the critical exposure area information was recovered. To the overall improvement of the image, the visual effect was ideal, reaching expectations.
60By observing the experimental results, we could find that the brightness of the original image with much light was improved significantly, and the information of the local area with much light was effectively restored. Compared with the image processed by the algorithm, the information of the high-brightness area was not recovered well. Appl. Sci. 2021, 11, x FOR PEER REVIEW 11 of 18 [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. Figure 6. Experimental results: (a) original image, (b) Hui [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed.
Objective Analysis
61We calculated four objective indicators, including the structural similarity (SSIM), peak signal-to-noise ratio (PSNR), image information entropy (H) and executive time. The bigger the first three indicators, the better. The specific values are shown in Tables 1-5 below. Table 1 shows the objective values of Figure 4. Table 2 shows the objective values [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed.
62We calculated four objective indicators, including the structural similarity (SSIM), peak signal-to-noise ratio (PSNR), image information entropy (H) and executive time. The bigger the first three indicators, the better. The specific values are shown in Tables 1-5 below. Table 1 shows the objective values of Figure 4. Table 2 shows the objective values of Figure 5. Table 3 shows the objective values of Figure 6. Table 4 shows the objective values of Figure 7.
63As shown in the tables, we can see that our algorithm ranked first, especially in terms of the SSIM and PSNR. Our algorithm was also better than that of Xin [37] in terms of the SSIM. SSIM is an index used to measure the similarity of two images. We got images with different illumination intensity at different times from the video, including lossless images and distorted images. We processed the high-brightness images through the proposed algorithm. Comparing the resulting image with the lossless, we evaluated the quality of image restoration. SSIM reflects the comprehensive similarity of two images in brightness, contrast and structure. By averaging the objective indicators of the 50 high-brightness video images, the average PSNR of our algorithm was 29.53, which was 7.22 higher than that of the algorithm by Xin [37]. In terms of the PSNR, the proposed algorithm was better than the algorithm of Xin [37]. This shows that after compression, the image quality was better than that obtained by the algorithm of Xin [37]. The larger the PSNR value, the smaller the image distortion. "H" reflects the average amount of information in the image and demonstrates the richness of image information from the perspective of information theory. Generally, the bigger the H value, the better. Our method ranked second in H. For the time part, because the generation of a guidance map takes a long time, our algorithm was not dominant in all comparative experiments. This will be our next optimization direction.
64In summary, by combining a subjective evaluation and an objective analysis, we can conclude that the proposed algorithm could effectively recover the exposure area information from high-brightness video images with sound visual effects, and the objective indicators were much better than those produced by the compared algorithms. Table 1. Objective values of the images shown in Figure 4. Table 2. Objective values of the images shown in Figure 5. Table 3. Objective values of the images shown in Figure 6. Table 4. Objective values of the images shown in Figure 7.
Conclusions
65In this paper, we proposed a window algorithm based on tone mapping. In this method, a local linear window is utilized to compress the image pixel values into a specific range. While accurately recovering the information of the exposure area, our algorithm could effectively enhance the local contrast and preserve the image details and structures. Global optimization genuinely suppresses artifacts. Therefore, our algorithm could complete the restoration of high-brightness images.
Data Availability Statement:
66The data provided in this study are available from the corresponding author.
Introduction
67Videos are frequently used to judge and identify information. They have been widely used in public security monitoring. However, according to weather conditions, luminance conditions, capture equipment and other causes, high-brightness areas may exist in a given video, which results in the information of the target not being obtained. The existence of the bright regions cannot meet the needs of applications. In particular, strong light sources (such as car lights, streetlights and flashlights) make it challenging to enhance night-time images. However, although the existing image enhancement algorithms have apparent effects in improving the details of low-light images, they do not suppress the high-brightness areas in the picture. The existence of bright regions seriously affects the display of the highlighted area's details and the observer's direct visual experience.
68To solve the abovementioned problems, we propose a method for video image processing based on tone mapping. The method is used to remove the bright part of the image, and it can restore the original details of the illuminated area while other areas with brightness remain.
69The examined video was composed of one image frame, so we focused on the enhancement of a single image. The information of the area with uneven illumination was recovered by the image enhancement algorithm. Although the dynamic range can be compressed by global linear scaling, the result is unsatisfactory because the image structure is flattened linearly, losing most of the visual information in light areas and shadows. 2
of 18
70Tone mapping is a technique for mapping high-dynamic range (HDR) images to display devices with low dynamic ranges. Tumblin et al. [1] introduced the concept of tone mapping to computer graphics in 1993. Larson et al. [2] modified and adjusted traditional histogram equalization technology and added some theories regarding the human visual perception system, such as contrast, sharpness and color sensitivity, which were inspired by the previous work of Ferwerda [3]. The method proposed by Ferwerda reduces the dynamic range of an image by simple linear scaling, so it cannot operate with strong dynamic range compression. Durand et al. [4] proposed separating an image into high-frequency sub-images and low-frequency sub-images by using an approximate bilateral filter and a downsampling acceleration filter. The high-frequency part is called the detail layer, and the low-frequency part is called the basic layer, which can better preserve edges. This method can be applied to any global tone mapping algorithm, but after using this method, halation is not entirely eliminated. For the improvement of this method, trilateral filters and other methods have appeared. In 2002, Reinhard et al. [5] proposed a tone mapping method based on photography. This algorithm (with a global component) mainly compresses the high-brightness part of an image. Photographic hue reproduction is a local tone mapping algorithm that retains the boundary effect and avoids halation. In addition, it has the advantage that it does not need to input corrected images. Ferradans et al. [6] proposed a global mapping method in line with the human visual model, and this algorithm enhances the local contrast of images.
71In 2003, Drago et al. [7] proposed a classical global tone mapping algorithm-the adaptive logarithmic mapping algorithm-which can adaptively adjust the cardinality of logarithmic equations according to the different brightness values of pixels. This method can reduce the dynamic range of the examined image, but it easily loses local details, and its effect on improving the overall contrast of the image is not apparent. Duan et al. [8] proposed a novel hue mapping algorithm based on the fast adjustment of global histograms, which can effectively use the whole dynamic range of the display to reproduce the global contrast of high dynamic range images. However, this method cannot effectively preserve local contrast and details, which is a common weakness of global tone mapping operators. The local tone mapping methods proposed in [9][10][11][12][13] are better than the global tone mapping approach used in detail preservation and dynamic range compression. Qiao et al. [12] used local gamma correction, which is also regarded as a kind of local tone mapping algorithm. Tone mapping algorithms in [14][15][16][17][18][19][20][21] are the latest that have good processing effects in terms of image structure, detail preservation, lighting and other features. Wang [15] proposed a new blind tone mapping image (TMI) quality evaluation method based on local degradation characteristics and global statistical characteristics. The texture, structure, color and other image attributes can be local or global. The extracted local and global features are aggregated into the overall quality by regression. Most color mapping operators use the human visual system, and the scene's dynamic range is displayed dynamically by a curve. For example, a model based on the sensitivity of the retina and an adjustment of the graph histogram was proposed in [21]. An asymmetric sigmoid curve is constructed to optimize this algorithm. Choi et al. [22] proposed a novel tone mapping method. Jung et al. [17] proposed a GAN training optimization model for the tone mapping of HDR images. The author collected a large number of tone mapping images, which existing tone mapping operators generated. An objective index is used for evaluation for all output tone mapping operators, and the algorithmic result with the highest evaluation index is selected and classified into the dataset. The model trained by the dataset can learn the best features of the tone mapping operator, so the experimental image processing effect is better than those of the existing tone mapping algorithms. Banderle et al. [23] proposed a new classification method for tone mapping based on the global and local tonal mapping methods commonly mentioned by other authors, frequency tone mapping approach (only the low-frequency part of the image) and split tone mapping approach (the image is divided into large areas and mapped separately for each area). This classification is more detailed than and different from those of other authors. For example, most authors classify the approaches in references [8,9] as local tone mapping methods, but Banderle ranked them as frequency tone mapping operators. Liang [21] proposed a new decomposition model that decomposes an HDR image into a base layer and detail layer and uses the prior information of the base layer and detail layer to minimize the halos and artifacts in the resulting image. Regarding tonal mapping image evaluation, [24] proposed a measure called the tonal mapping quality index (TMQI), which has become one of the most popular indicators for comparing the quality of tonal mapping images.
72Although HDR video acquisition technology was relatively mature in approximately 2010, video tone mapping algorithms appeared as early as 15 years ago. After relevant research [25], most video tone mapping algorithms have the same problems: heavy artificial traces, contrast losses and detail losses.
73Many methods for adjusting local contrast for video processing are based on optical flow prediction in the motion domain [26][27][28]. The advantage of these postoperative algorithms is that we do not need to consider how the tone mapping process is completed (as in previous algorithms), and we do not need to consider what changes need to be made to the filter or whether other operations need to be added for different tone curves. The disadvantage of this kind of method is that it is weaker than the filter method for presenting local contrast and actual video effects. Shahid et al. [29] proposed a hybrid model. As the term suggests, two different tone mapping algorithms are used to process the same frame. Each frame is processed by the method in [30], and the image is divided into regions with drastic changes and regions without drastic changes. The regions with drastic changes are mapped by the algorithm from [31], which preserves the details of the image through the local operation. The remaining region of the image is processed by a histogram correction algorithm [2]. Finally, to maintain the temporal properties of the video, the brightness of the mapped frames is scaled so that the intensity differences between consecutive frames do not exceed the preset threshold.
74We propose a method that uses a window based on tone mapping and solves global optimization problems with local constraints. Specifically, our window method can operate over the whole image. In each window, a linear function limits tone reproduction to suppress strong edges while retaining weak edges naturally. An image with a high dynamic range can be compressed by solving the image-level optimization problem, which integrates all window-based constraints. A global optimization method is used to avoid the artifacts and halation caused by local tone mapping.
75After using our optimized framework, the overall tone mapping effect of the given image is nonlinear and spatially variable, and it is suitable for the diverse structure of the image. Our method has a closed-form solution to achieve the global optimum. Due to this optimality, any local tone adjustment in our method causes the overall effect such that the error is minimized and distributed in the whole image. In addition, our method can flexibly adjust the image quality with only a few parameters to meet the various requirements related to the range compression ratio and the level of detail that must be retained.
76Compared with those of the existing algorithms, the main contributions of the proposed algorithm are as follows:
77(1) The utilized small window can overcome the problem in which the global tone mapping algorithms cannot availably enhance the local contrast and details of the input image. The method we propose in this paper can operate globally and avoid halos and artifacts. (2) For the guidance map component, factors including image brightness, radiance, local average value, standard deviation and so on are considered, which have good effects on image restoration. (3) The experimental images selected in this paper are vehicle images, and the highlighted part blocks the information of the license plate. The background color of the license plate is blue. Therefore, the B channel in the RGB image is retained, and the R and G channels are exchanged for image preprocessing, which significantly affects the recovery of the image exposure area. The rest of this paper is organized as follows: Section 2 shows the related work. Section 3 prepares and introduces our algorithm. Section 4 shows our experimental results. Section 5 is our conclusion.
Related Work
78Generally, we divide tone mapping into two categories: global tone mapping and local tone mapping. Histogram-based algorithms and S-shaped transfer function-based algorithms (such as gamma correction) are the two main categories of global operators. The key for global tone mapping methods is to establish one-to-one mapping or low dynamic radiance mapping. In reference [19], the statuses and categories of tone mappings were summarized. Reference [20] proposed a multiscale image decomposition method that can preserve image edges. The results show that this type of image decomposition method is superior to bilateral filtering in producing range-compressed images.
79Unlike the methods above, our algorithm does not need to decompose the input image into binary or fractional images. Therefore, it avoids the problems associated with layer decomposition. We propose a global optimization framework to constrain each pixel value naturally. In addition, our method does not need to impose any smoothness constraint on the final output.
80Comparing our work with existing tone mapping algorithms, our method can significantly improve the pixel intensity in the overexposed area and balance the brightness of other areas to ensure that the overall contrast of the image will not change too much.
Proposed Method
81We propose a window algorithm based on tone mapping, which improves the visual effect of the overexposed area in an image by compressing the image's dynamic range and restoring the information in the exposed area. In this section, we introduce our algorithm in detail. First, the input image is linearized, and the RGB channel of the image is reconstructed; this is a simple preprocessing step. Then, a local gamma correction is performed on the image, and the local contrast of the image is further improved by color compression. The image passes through the previously set window frame, including a series of operations such as guided filtering, after which the final image is output. The algorithmic flow chart is shown in Figure 1:
82Appl. Sci. 2021, 11, x FOR PEER REVIEW 4 of 18 and G channels are exchanged for image preprocessing, which significantly affects the recovery of the image exposure area.
83The rest of this paper is organized as follows: Section 2 shows the related work. Section 3 prepares and introduces our algorithm. Section 4 shows our experimental results. Section 5 is our conclusion.
Related Work
84Generally, we divide tone mapping into two categories: global tone mapping and local tone mapping. Histogram-based algorithms and S-shaped transfer function-based algorithms (such as gamma correction) are the two main categories of global operators.
85The key for global tone mapping methods is to establish one-to-one mapping or low dynamic radiance mapping. In reference [19], the statuses and categories of tone mappings were summarized. Reference [20] proposed a multiscale image decomposition method that can preserve image edges. The results show that this type of image decomposition method is superior to bilateral filtering in producing range-compressed images.
86Unlike the methods above, our algorithm does not need to decompose the input image into binary or fractional images. Therefore, it avoids the problems associated with layer decomposition. We propose a global optimization framework to constrain each pixel value naturally. In addition, our method does not need to impose any smoothness constraint on the final output.
87Comparing our work with existing tone mapping algorithms, our method can significantly improve the pixel intensity in the overexposed area and balance the brightness of other areas to ensure that the overall contrast of the image will not change too much.
Proposed Method
88We propose a window algorithm based on tone mapping, which improves the visual effect of the overexposed area in an image by compressing the image's dynamic range and restoring the information in the exposed area. In this section, we introduce our algorithm in detail. First, the input image is linearized, and the RGB channel of the image is reconstructed; this is a simple preprocessing step. Then, a local gamma correction is performed on the image, and the local contrast of the image is further improved by color compression. The image passes through the previously set window frame, including a series of operations such as guided filtering, after which the final image is output. The algorithmic flow chart is shown in Figure 1: The first step of linearizing the image is crucial. The main reason for operating on the image in linear space is that this provides greater control and predictability regarding the brightness and color domain expansion. In an unknown area, it is difficult to predict how the expansion process will behave. In addition, to recover the scene attributes, such as the mean, geometric average, and standard deviation, we need to estimate the radiance of the scene accurately.
89For an input image I l = f I h , I h is the radiance map of the image. f (·) represents the operator. I l represents the radiance map of the image after the operation is completed. In short, the core idea of our algorithm is to increase smaller amplitudes and decrease larger amplitudes, this processing step should be conducted in a small area to meet the requirements of amplitude mapping in each pixel neighborhood. The linear function of window w i , centered on pixel i is expressed as follows:
90Formula (1) is a complete representation satisfying local constraints. The coefficients m and n directly affect the local contrast, and m represents the slope of the linear function. When m > 1, the local contrast is enhanced so that the dark areas in the image are brightened; when 0 < m < 1, the high-brightness areas in the image are improved. In the overlapping windows with multiple pixels, similar smoothing constraints are enforced in the neighborhood of the center pixel in the smooth area. The contrast is maintained reasonably in the area with abrupt amplitude changes, so there is no need to add constraints.
91The defined local linear equation is applied to the window w i , and the image is processed by minimizing the solution:
92Because of the existence of a trivial solution, we need to add a constraint term to the above formula to make the minimization Formula (2) feasible. According to Formula (1), the coefficient m directly affects the local contrast of the image. We propose guiding its value in each small window to reduce the global contrast while maintaining the image's information. We support the final objective function as follows:
93where c i is the default positive number, which is used to guide the processing of the local contrast. The collective c i in the image space form the guidance map. By setting an appropriate value for this map, the contrast of the local area can be adjusted correctly (weakening the strong-contrast areas and enhancing the low-contrast areas). The term
94is the squared relative error from the guidance map. The term c −2 i is used to normalize the difference between m i and c i . The term ε is the weight of the added item. We set its value to 0.1 in the experiments.
95The importance of the guidance map c is as follows. Although the value c i affects the local contrast of the image, the accuracy c i does not need to be very high as the radiance value I h can be directly modified. In our optimization window, ε is a weight coefficient that imposes smooth constraints on the guidance map, and the value of this coefficient is very small. The radiance of each pixel is also limited by the linear equation
96, which effectively maintains the image structure.
Optimization and Implementation
97It is difficult to minimize Formula (3) directly because it contains several unknowns. For each group of linear coefficients m i and n i , the definitions exist only in a single window, so the minimization problem of Formula (3) can be expressed as: arg min m, n, I l f = arg min
98Through this expression, by computing the partial derivatives of function f i for m i and n i setting them to zero, we obtain the optimal summed solution and obtain the optimal I l after solving the linear equation. The calculation process is as follows:
99Formulas (5) and (6) can be expressed as a linear relationship:
100where
101By solving Formula (7), we can obtain:
102where
103By taking the partial derivatives of the function f to I l (k) and setting them to zero, we have:
104Appl. Sci. 2021, 11, 11497 7 of 18
105Combining (8) and (9), we can obtain:
106Because of the linearity of Formula (10), it can be simplified as follows:
107where
108The optimal solution of Formula (3) is obtained by solving Formula (11). The matrix D in (11) is symmetric and sparse. In each row i of D, the number of nonzero elements reaches the area defined according to (11). Given an input image including N pixels, where the size of the window w i is set to k × k, D has fewer than N × (2k − 1) 2 nonzero elements (a k = 5 example is shown in Figure 2). Mathematically, the minimum possible window size is 2 × 2, as there are three unknowns in each local window, and at least three linear constraints are needed to make the problem well-posed. Combining (8) and (9), we can obtain:
109Because of the linearity of Formula (10), it can be simplified as follows:
110is a Kronecker delta. The optimal solution of Formula (3) is obtained by solving Formula (11). The matrix in (11) is symmetric and sparse. In each row of , the number of nonzero elements reaches the area defined according to (11). Given an input image including pixels, where the size of the window is set to × , has fewer than × (2 − 1) 2 nonzero elements (a = 5 example is shown in Figure 2). Mathematically, the minimum possible window size is 2 × 2, as there are three unknowns in each local window, and at least three linear constraints are needed to make the problem well-posed. If the image has a medium resolution, we solve the linear system in (11) using symmetric or the generalized minimum residual method. However, the above method needs several minutes to converge to process an image with a resolution higher than 3024 × 4032. We use a multigrid method [32] to speed up the processing time, which is the same as the method used in [33]. In our experiment, it took only a few seconds to produce satisfactory ̂.
111The size of the local window can be adjusted in the system. We set window sizes from 3 × 3 to 11 × 11 and found that a window size of 5 × 5 could produce satisfactory Figure 2. Illustration of the region containing pixel i. All windows w with size 5 × 5 that have i must be within the yellow part. Therefore, under the influence of the local window w, there are at most 80 pixels around pixel i. If the image has N pixels, the total number of nonzero elements in matrix D is less than 80 × N.
112If the image has a medium resolution, we solve the linear system in (11) using symmetric LQ or the generalized minimum residual method. However, the above method needs several minutes to converge to process an image with a resolution higher than 3024 × 4032. We use a multigrid method [32] to speed up the processing time, which is the same as the method used in [33]. In our experiment, it took only a few seconds to produce satisfactoryÎ l .
113The size of the local window can be adjusted in the system. We set window sizes from 3 × 3 to 11 × 11 and found that a window size of 5 × 5 could produce satisfactory results in The algorithm above operates on the brightness channel of the input image. After obtaining the radiance map of the image, the RGB channel was reconstructed using the algorithm mentioned in reference [34]:
114where I l k is one of the RGB color channels of the input image and I h k is one of the RGB color channels of the output image. The parameter s represents the saturation factor. A larger value of s produces a more saturated result. The introduction of (12) maintains the ratios between the brightness and color channels so that the color of the output image can be similar to that of the original image. In the experiment, we chose s ∈ [1, 3] to produce images with natural color.
Guidance Map Configuration
115In the linear optimization framework introduced before, the image processing quality is determined by the guidance map c. We next mainly describe how to obtain an appropriate guidance map c. The coefficient m i directly affects the local contrast of the image. To retain the visual information in the image, we reduced the value of m i where the local contrast was significant and increased the value of m i where the local contrast was slight. The standard deviation σ i of I h is a measure of the local contrast of the image in each window. However, c i is inversely proportional to σ i , which has a bad effect on the results. We defined the guidance map as:
116To improve the visual quality of the resulting image, we calculated the Gaussian filtered image and the σ i of the Gaussian filtered image to reduce noise. In Figure 3b,c show the radiance map of I h (i) and the radiance map of the mean value µ, respectively. Since the local mean value µ and the radiance map I h (i) represent the radiance information of the image, we could see that the information contained in any one of the images was sufficient to contain all the information from the original image completely. If the two factors are added to the guidance image, the local contrast details of the image can be retained as much as possible. We also found that the contrast of the local window radiance is related to the absolute variance. Considering these factors, we add µ and I h (i) to the guidance map. We redefine c i as:
117where κ is a small weight coefficient. We set it to 0.5 in our experiments to prevent c i from being divided by zero. Normally, Figure 3 shows the visual image of each parameter and the effect of our newly defined guidance map c i on the output image. Figure 3a is the input image with a large extensive exposure, in which background information can hardly be seen. Only the colors of some personnel's clothes can be seen in this picture, and the visual effect is inferior. Figure 3b,c show the image brightness and mean radiance after performing 5 × 5 window processing, respectively. Figure 3d shows our measure for the local contrast based on the standard deviation of the radiance σ i . This step can preserve and strengthen the gradients and edges of the image. Figure 3h shows the image generated by the proposed algorithm, which is produced by the guidance map generated by Formula (7); its visual image is Figure 3f. We can see that compared with the output image produced by the standard deviation, average value and average brightness of a single image, the visual image of the proposed method contains all the information in the original image, which can significantly improve the restoration quality of the image. Compared with Figure 3g generated by Formula (6), Figure 3h generated by our algorithm is better in terms of its color, visual effect and detail processing. The detailed comparison is shown in Figure 3i-l.
118Appl. Sci. 2021, 11, x FOR PEER REVIEW 9 of 18 by Formula (6), Figure 3h generated by our algorithm is better in terms of its color, visual effect and detail processing. The detailed comparison is shown in Figure 3i-l.
Parameter Settings
119Our settings were based on the following two points. First, the sum of the three β s affects the global dynamic compression of the input image; a large value makes the resulting image smoother. Second, increasing the value β 2 make the compressed edges with higher contrasts more obvious such that more space is left for less prominent areas.
120In fact, in our algorithm, minor changes to the sum do not greatly impact the results. The values of these two parameters are small, and the ranges of the values are very small. β 3 is fixed at 0.1. For most test images, the default values are β 1 = 0.6 and β 2 = 0.2, and most of the tested images can produce visually satisfactory results.
Comparative Analysis
121To make the algorithm proposed in this paper closer to practical problems, we selected multiple high-brightness license plate images as the processing objects, and we compared our algorithm with several related algorithms proposed by Hui [35], Khan [36], Liang [21] and Xin [37]. This section includes two parts: part one assesses the restored overexposed images subjectively, and part two objectively compares the results produced by our method and other algorithms.
122The sizes of the processed images were 3024 × 4032 pixels in the experiment. To prove the effectiveness of the proposed algorithm, all the algorithms were run on a computer with an Intel Core i5-9400 CPU @ 2.9 GHz (Acer, Taiwan, China), and the compiler software was MATLAB 2019b (9. 7. 0. 1190202, MathWorks, Natick, MA, USA, 2019). In this configuration, the experiments could be completed within 240 seconds.
Subjective Analysis
123In this part, we mainly analyze the experimental results. As shown in Figures 4-7, the representative algorithms developed by Hui [35], Khan [36], Liang [21] and Xin [37] were compared with the algorithm proposed in this paper on different images.
124From the perspective of visual effects, as shown in Figures 6e and 7e, the algorithm of Xin [37] also improved the high-brightness area. Still, our algorithm had greater advantages in terms of the overall contrast of the image and the details of the scene. However, the other algorithms could not effectively recover the information of the key area for all the experimental images. The results showed that the effect of our algorithm regarding key information recovery was pronounced. Although the image's hue was slightly green, especially as shown in Figure 7f (our algorithm made the vehicle tail lamp change from red to green), the critical exposure area information was recovered. To the overall improvement of the image, the visual effect was ideal, reaching expectations.
125By observing the experimental results, we could find that the brightness of the original image with much light was improved significantly, and the information of the local area with much light was effectively restored. Compared with the image processed by the algorithm, the information of the high-brightness area was not recovered well. Appl. Sci. 2021, 11, x FOR PEER REVIEW 11 of 18 [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. Figure 6. Experimental results: (a) original image, (b) Hui [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed. [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed.
Objective Analysis
126We calculated four objective indicators, including the structural similarity (SSIM), peak signal-to-noise ratio (PSNR), image information entropy (H) and executive time. The bigger the first three indicators, the better. The specific values are shown in Tables 1-5 below. Table 1 shows the objective values of Figure 4. Table 2 shows the objective values [35], (c) Khan [36], (d) Liang [21], (e) Xin [37], (f) proposed.
127We calculated four objective indicators, including the structural similarity (SSIM), peak signal-to-noise ratio (PSNR), image information entropy (H) and executive time. The bigger the first three indicators, the better. The specific values are shown in Tables 1-5 below. Table 1 shows the objective values of Figure 4. Table 2 shows the objective values of Figure 5. Table 3 shows the objective values of Figure 6. Table 4 shows the objective values of Figure 7.
128As shown in the tables, we can see that our algorithm ranked first, especially in terms of the SSIM and PSNR. Our algorithm was also better than that of Xin [37] in terms of the SSIM. SSIM is an index used to measure the similarity of two images. We got images with different illumination intensity at different times from the video, including lossless images and distorted images. We processed the high-brightness images through the proposed algorithm. Comparing the resulting image with the lossless, we evaluated the quality of image restoration. SSIM reflects the comprehensive similarity of two images in brightness, contrast and structure. By averaging the objective indicators of the 50 high-brightness video images, the average PSNR of our algorithm was 29.53, which was 7.22 higher than that of the algorithm by Xin [37]. In terms of the PSNR, the proposed algorithm was better than the algorithm of Xin [37]. This shows that after compression, the image quality was better than that obtained by the algorithm of Xin [37]. The larger the PSNR value, the smaller the image distortion. "H" reflects the average amount of information in the image and demonstrates the richness of image information from the perspective of information theory. Generally, the bigger the H value, the better. Our method ranked second in H. For the time part, because the generation of a guidance map takes a long time, our algorithm was not dominant in all comparative experiments. This will be our next optimization direction.
129In summary, by combining a subjective evaluation and an objective analysis, we can conclude that the proposed algorithm could effectively recover the exposure area information from high-brightness video images with sound visual effects, and the objective indicators were much better than those produced by the compared algorithms. Table 1. Objective values of the images shown in Figure 4. Table 2. Objective values of the images shown in Figure 5. Table 3. Objective values of the images shown in Figure 6. Table 4. Objective values of the images shown in Figure 7.
Conclusions
130In this paper, we proposed a window algorithm based on tone mapping. In this method, a local linear window is utilized to compress the image pixel values into a specific range. While accurately recovering the information of the exposure area, our algorithm could effectively enhance the local contrast and preserve the image details and structures. Global optimization genuinely suppresses artifacts. Therefore, our algorithm could complete the restoration of high-brightness images.
Data Availability Statement:
131The data provided in this study are available from the corresponding author.
참고문헌 35건
- Multiscale Optimization Methods and Applications Nonconvex optimization and its applications · Springer Nature · 2006 10.1007/0-387-29550-x
- A Novel Approach for Reduction of Dynamic Range Based on Hybrid Tone Mapping Operator Procedia Computer Science · Elsevier BV · 2015 10.1016/j.procs.2015.08.020
- Interactive Tone Mapping Eurographics · Springer Vienna · 2000 10.1007/978-3-7091-6303-0_20
- Objective Quality Assessment of Tone-Mapped Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2012 10.1109/tip.2012.2221725
- A model of visual adaptation for realistic image synthesis 1996 10.1145/237170.237262
- Tone-mapping high dynamic range images by novel histogram adjustment Pattern Recognition · Elsevier BV · 2009 10.1016/j.patcog.2009.12.006
- Evaluation of Tone Mapping Operators for HDR‐Video Computer Graphics Forum · Wiley · 2013 10.1111/cgf.12235
- Dynamic range compression by differential zone mapping based on psychophysical experiments 2012 10.1145/2338676.2338685
- Practical temporal consistency for image-based graphics applications ACM Transactions on Graphics · Association for Computing Machinery · 2012 10.1145/2185520.2185530
- A Closed-Form Solution to Natural Image Matting IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2007 10.1109/tpami.2007.1177
- Blind video temporal consistency ACM Transactions on Graphics · Association for Computing Machinery · 2015 10.1145/2816795.2818107
- Tone mapping for high-dynamic-range images using localized gamma correction Journal of Electronic Imaging · SPIE · 2015 10.1117/1.jei.24.1.013010
- A new hybrid tone mapping scheme for high dynamic range (HDR) videos 2023 IEEE International Conference on Consumer Electronics (ICCE) · 2015 10.1109/icce.2015.7066441
- Compressing and companding high dynamic range images with subband architectures ACM Transactions on Graphics · Association for Computing Machinery · 2005 10.1145/1073204.1073271
- Tone reproduction for realistic images IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 1993 10.1109/38.252554
- An Analysis of Visual Adaptation and Contrast Perception for Tone Mapping IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2011 10.1109/tpami.2011.46
- iCAM06: A refined image appearance model for HDR image rendering Journal of Visual Communication and Image Representation · Elsevier BV · 2007 10.1016/j.jvcir.2007.06.003
- A visibility matching tone reproduction operator for high dynamic range scenes IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 1997 10.1109/2945.646233
- Adaptive Logarithmic Mapping For Displaying High Contrast Scenes Computer Graphics Forum · Wiley · 2003 10.1111/1467-8659.00689
- Edge Detection using Directional Filter Bank International Journal of Applied Information Systems · Foundation of Computer Science · 2012 10.5120/ijais12-450162
- ExpoBlend: Information preserving exposure blending based on normalized log-domain entropy Computers & Graphics · Elsevier BV · 2013 10.1016/j.cag.2013.10.001
- A comparative review of tone-mapping algorithms for high dynamic range video Computer Graphics Forum · Wiley · 2017 10.1111/cgf.13148
- A Tone-Mapping Technique Based on Histogram Using a Sensitivity Model of the Human Visual System IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2760247
- Clustering based content and color adaptive tone mapping Computer Vision and Image Understanding · Elsevier BV · 2017 10.1016/j.cviu.2017.11.001
- A Hybrid l1-l0 Layer Decomposition Model for Tone Mapping 2018 10.1109/cvpr.2018.00500
- Locally Adaptive Rank-Constrained Optimal Tone Mapping ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3225219
- High dynamic range image tone mapping based on asymmetric model of retinal adaptation Signal Processing Image Communication · Elsevier BV · 2018 10.1016/j.image.2018.07.008
- Exposure Bracketing Techniques for Camera Document Image Enhancement Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9214529
- Tone Mapping of High Dynamic Range Images Combining Co-Occurrence Histogram and Visual Salience Detection Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9214658
- Gradient domain high dynamic range compression ACM Transactions on Graphics · Association for Computing Machinery · 2002 10.1145/566654.566573
- Fast bilateral filtering for the display of high-dynamic-range images ACM Transactions on Graphics · Association for Computing Machinery · 2002 10.1145/566654.566574
- Photographic tone reproduction for digital images ACM Transactions on Graphics · Association for Computing Machinery · 2002 10.1145/566654.566575
- Exploiting Local Degradation Characteristics and Global Statistical Properties for Blind Quality Assessment of Tone-Mapped HDR Images IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2020 10.1109/tmm.2020.2986583
- Specular Reflection Image Enhancement Based on a Dark Channel Prior IEEE photonics journal · Institute of Electrical and Electronics Engineers · 2021 10.1109/jphot.2021.3053906
- Enhanced Tone Mapping Using Regional Fused GAN Training with a Gamma-Shift Dataset Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11167754