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

A Novel Automatic White Balance Method for Color Constancy Under Different Color Temperatures

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Wei‐Yen Hsu — Department of Information Management, National Chung Cheng University, Chiayi, Taiwan|||Center for Innovative Research on Aging Society (CI-RAS), National Chung Cheng University, Chiayi, Taiwan|||Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chiayi, Taiwan
  2. Han-Chang Cheng — Department of Information Management, National Chung Cheng University, Chiayi, Taiwan
DOI
10.1109/access.2021.3103737
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2021.3103737
토픽
Color Science and Applications
OpenAlex ID
W3187171122

평가 내용

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

초록

The spectrum distribution of the light source between scenes is usually uniform in all scenes lit by a given light source per the color constancy assumption. Nonuniform spectrum distribution results in pictures with different color temperatures in different lighting conditions. With the conventional automated white balance method, the results under different degrees of color cast are inconsistent. To resolve this, a new automated white balance algorithm is proposed to achieve uniformity in images with color cast caused by color temperature variations. The proposed method features the selection of near-white points through automated regression and the dynamic adjustment of the color components' weights. Finally, white balance is implemented according to the selected near-white points with various percentages. The proposed method can effectively select the appropriate white reference point of the image scene under different color temperatures, so that the adjusted results of the method under different color temperatures are close. The first major contribution of this study is the minimization of differences of continual color temperature images with different color temperatures and the achievement of favorable visual effects. The second contribution is the superior outcomes yielded by the proposed method in the visualization and quantification of data compared with those from the existing methods. The experimental results demonstrate that this method yields favorable results in the improvement of experiments with continual different color temperatures. The images at various color temperatures are adjusted to approach real-world color temperatures. In addition, this method provides superior color constancy preservation to other methods.

본문 38,265자

본문 펼치기
The spectrum distribution of the light source between scenes is usually uniform in all scenes lit by a given light source per the color constancy assumption. Nonuniform spectrum distribution results in pictures with different color temperatures in different lighting conditions. With the conventional automated white balance method, the results under different degrees of color cast are inconsistent. To resolve this, a new automated white balance algorithm is proposed to achieve uniformity in images with color cast caused by color temperature variations. The proposed method features the selection of near-white points through automated regression and the dynamic adjustment of the color components' weights. Finally, white balance is implemented according to the selected near-white points with various percentages. The proposed method can effectively select the appropriate white reference point of the image scene under different color temperatures, so that the adjusted results of the method under different color temperatures are close. The first major contribution of this study is the minimization of differences of continual color temperature images with different color temperatures and the achievement of favorable visual effects. The second contribution is the superior outcomes yielded by the proposed method in the visualization and quantification of data compared with those from the existing methods. The experimental results demonstrate that this method yields favorable results in the improvement of experiments with continual different color temperatures. The images at various color temperatures are adjusted to approach real-world color temperatures. In addition, this method provides superior color constancy preservation to other methods.INDEX TERMSColor constancy, color temperature, white balance, illumination estimation. I. INTRODUCTION When using different shooting equipment, different color temperature cards are used to adjust the color temperatures of images. Pictures shot at high color temperatures appear warm and reddish, whereas pictures shot at low color temperatures appear cold and blueish. White balance usually facilitates adjustment for the problems associated with these two color temperatures. To obtain the color components in one scene, the adjustment values required for white balance may be obtained with a gray card or with the ColorChecker Color Rendition Chart. In natural images, the wavelength of The associate editor coordinating the review of this manuscript and approving it for publication was Yi Zhang . every color in the spectrum has its own attenuation rate. For example, the red wavelength usually attenuates after 5-6 m, orange after 7-8 m, yellow after 10-15 m, and green after 21 m [1]. Consequently, from observation, the attenuation and disappearance of a certain wavelength can result in the absence of one color channel in a scene. In daily life, sunlight is the easiest light source for which color changes may be visually detected. As shown in Figure 1, sunlight generates different light colors at different times of day. This also means that certain color channels sometimes cause color cast in natural scenes due to severe attenuation. I. INTRODUCTION A simpler definition of the so-called ''color temperature'' is the color of light, and its unit of measurement is ''K. '' In everyday life, 3000 and 4000 K refer to the color of the light, meaning color temperature. The current processing method for color temperature is adjustment with the automated white balance processing method. This algorithm usually has three steps. First, the color temperature is estimated, and the white point reference value in the image is identified. Thus, the characteristic quantity and average chromatic aberration value for this image are estimated. The second step of the algorithm is the gain calculation, and the red or blue correction factors of the image are identified. Finally, the RGB color channel values are multiplied by the corresponding correction factors to adjust the color channel gains. Thus, white balance is achieved. Color constancy is the result of the automated white balance mechanism in the brain. As long as sufficient environmental information is provided, including the light source and the relative colors of surrounding objects, the brain automatically adjusts the colors, enabling the original colors of objects to be perceived. Various approaches exist for the study of color constancy: the image patch method of multiple light sources [2], the results of comparison and estimation experiments for three color constancy methods [3], key color constancy visual effects based on multiple light sources [4], and the perception of color constancy in light sources through human vision [5]. Multiple algorithms based on image processing methods were proposed for image restoration in color constancy [6]. They all restore the color constancy of images subject to some assumptions. In the experiment conducted for this study, the gray world method [7], the perfect reflector method [8], and dynamic threshold method [9] were compared, and the assumptions for each algorithm are introduced in the next section. These algorithms are all associated with some theoretical assumptions regarding the color distribution for specific images. [6] details various calculation methods on illumination estimation and color temperature estimation. For some algorithms, the white balance adjustment is influenced by the color ratios in the images, resulting in color cast toward blue or red. In other literature, the adjustment of images to obtain uniform color temperatures is rare. I. INTRODUCTION Consequently, adjustments in such circumstances generate suboptimal results. I. INTRODUCTION The method of this study was based on the dynamic threshold method [9], and similar processing concepts were adopted. The operation comprised two steps, namely the selection of reference white points and the image adjustment according to the reference white points. Specifically, as long as this method enables the range to include the central position of the color space, and the reference white point candidates pass the screening conditions, the adjustment of images in such situations is unlikely to be influenced by color temperatures and to cause color offset. The experiment was conducted for various color temperatures. Namely, the same scenes or pictures of people were shot with various illumination methods. The color cast was then adjusted using various white balance algorithms, and the colors were restored to the original real colors. The proposed method was compared with other existing methods in the CIE2000 color temperature difference test and yielded superior results for most color temperature comparison situations. I. INTRODUCTION In summary, the main contributions of this paper are as follows: I. INTRODUCTION 1) The idea of color component offsetting in different color temperature situations was proposed to adjust each color temperature. Thus, the images with different color temperatures exhibited similar color temperatures visually after the adjustment. 2) A new automatic regression selection method in the color space was proposed. More white light source points located in the central locations of the color space were obtained through adjustment of the selection range. The proposed method yielded superior results in the different continual color temperature experiment (including extremely low to extremely high color temperatures) compared with other methods. In addition, this method preserved the color constancy of the images. II. RELATED WORK In this section, the current image processing algorithms related to the experiment are introduced, and their advantages and disadvantages are presented for the various experiment groups in the experiment stage. The results of the study provide related detection experiments for solving the detection errors caused by the color cast images brought by color temperatures. Many approaches make effective adjustments to a single image due to their own assumptions, but it usually produce inconsistent results on multiple images with different color temperatures. A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS The method classified as unsupervised unitary in [10] is introduced. This method conducts assumptions and provides the estimated illumination chromaticity based on the relationships between image colors and light sources. The respective assumptions are as follows: A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS The gray world algorithm is based on the assumption that, for the physical meaning, the average reflection value of light is represented by a fixed value in a natural scene. This value approximately represents ''gray'' [7]. Therefore, for an image with copious color changes, the average grayscale values for the three RGB components are approximately the same. A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS The perfect reflector algorithm is based on the assumption that the brightest point is the white point in the input image. That white point is used as the reference white point, and the R + G + B value of the reference white point is the maximum value [8]. This concept resembles the dynamic threshold detection of white points. However, in this study, the white point selection is conducted using the method of conforming to an area. The definitions of the brightest point therefore differ slightly. A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS The White Patch Retinex (WPR) algorithm is based on the assumption that, if a white patch is present in the scene of an image, this patch reflects the largest possible light of every wave band. That light is the color of the light source [11]. Thus, this algorithm relies on a white patch in the image to estimate the location of the light source. Although it relies on the white patch of a spot, the algorithm does not search for the patch but uses light intensity K as the estimated value for the light source. Thus, the percentage P% of all the pixel values larger than K among the total image pixels can be detected. Modified White Patch and Grey World Assumption [12] is proposed to adjust the images in L * a * b * space that improves the shortcomings of the original white Patch Retinex. A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS The weighted Grey-Edge (WGE) classification method is used for various types of edges. This classification method is based on the reflective characteristics of edge types (such as materials, geometric shapes of shades, and high illumination) [13] for the classification of edge types. From the performance of the color constancy method, it could be assessed that some edge types are more valuable for evaluating luminous bodies than are material edges. Therefore, this method, which was different from other Grey-Edge methods, was proposed to examine the edge types with more value for the light source estimation. A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS Hemandez-jurez et al. [14] found that the color constancy problem can be used as a framework for learning specific light source mapping, and proposed a Bayesian framework, which uses a variety of hypothetical strategies and can handle the color constancy problem. Afifi & Brown [15] proposed a method that preserves the linear characteristics of the original sensor RGB space and trains a single DNN model to be used on different camera sensors. This method uses two networks. The first network learns sensor independent, converts the RGB image into canonical color space and imports it into the second learning network to provide the predicted light source. It obtains superior results on multiple data sets. Bianco & Cusano [16] proposed a quasi-unsupervised learning framework based on CNN single image automatic white balance algorithm. To detect achromatic pixels in color images and convert them to grayscale. It does not require any light source information in the scene, and relies on weak assumptions, which can handle unbalanced images. B. RELATED APPLICATIONS Different color temperature conditions occur both indoors and outdoors. However, the colors of an image have valuable functions for the tracking and identification of portraits or objects in computer visual processing. When the color of light changes, the image color also changes, resulting in difficulties in image identification [17]. For outdoor images, image adjustment can be conducted for light attenuation by using image depth detection, or light color restoration can be performed with the illumination estimation model. For indoor situations, different light bulbs result in different illumination conditions. For shooting and research in such situations, the influence of light changes on experiments must be considered. For example, for skin color detection studies [18], [19], skin colors vary. Color temperature conditions affect skin color and background color. Consequently, when detection is conducted, background may be included in the estimated skin blocks, resulting in the problem of estimation errors. In one example, different reflection models were used to estimate the light colors from the lighter regions of the skin. However, when the pixel values in the more brightly lit regions are cut and removed from the expressible regions, the method fails to yield correct light color estimations [20]. In skin color detection research, skin health monitoring and diagnosis are also conducted [21]. This type of research requires more accurate light color calibration to avoid detection errors as a result of light colors' influence on changes in image color temperatures. As a result, the image adjustment for color temperature is critical. In related research, the method in this study minimizes differences between continual color temperature, and the continual color temperature images from low to high exhibit almost identical light colors. Aside from the light color, the luminance is influential. Favorable light control illumination conditions generate favorable outcomes in facial feature detection experiments [22]. By contrast, insufficient illumination influences the images captured for traditional facial recognition software, causing unfavorable results. C. COLOR SPACES Color spaces are the method used for color organization. The fixed analog and digital display of colors can be obtained with color spaces and the tests of physical devices. A color model is an abstract mathematical model. Usually, the three primary colors generate other colors, and these colors define a color space. A three-dimensional space can be obtained by representing the three primary colors as x, y, and z axes. Every possible color can be represented by only one coordinate in this three-dimensional space. In computer vision, the most commonly used color spaces are RGB color spaces. These can usually be converted to other color spaces (such as YCrCb, CIELAB, and CIELUV) through linear or nonlinear transformation [23]. The standards usually adopted for VOLUME 9, 2021 officially defining a color space are the CIELAB or CIEXYZ color spaces because these two color spaces are designed to cover all colors that can be seen by humans with the naked eye. Hence, they are the most accurate color spaces, but they are too complicated for application in daily life. In the processing of various types of images, to effectively use color spaces, the chromatic aberration influenced by the space conversion formulas from the initial color spaces to color properties (lightness, saturation, and hue) must be understood [24]. Currently, models are adopted for the estimation of illumination values, and color spaces generated based on illumination are rare. A new color space was proposed in [25]; the reflectivity and illumination information ware obtained from images for the conversion. III. PROPOSED METHOD To maintain the color constancy of images shot in different color temperatures, the proposed method uses the dynamic threshold [9] to detect the near-white regions in images for the proposed improvement method. The method has two main components: white point detection and white point image adjustment. However, the original images are converted from RGB to the YUV color space for more convenient acquisition of the chromatic components. This is because the YUV color model originates from the RGB model. the model enables lightness and chromaticity to be separated, so it is suitable for the image processing field. Therefore, according to the a priori knowledge of dynamic thresholds, the average value of M u and M v , and the average absolute differences D u and D v are calculated. The formulas are as follows: III. PROPOSED METHOD where U (x, y) and V (x, y) represent the U and V values of pixel position (x, y) in the UV space, and M u and M v are the average values of pixel intensity in U and V channels, respectively. A. AUTOMATIC RECURSION SELECTION OF NEAR-WHITE POINTS Adjustment is conducted based on the original near-white region conditions. Candidates are adjusted based on weight value, and the proposed selection conditions after optimization are used. The near-white region condition formulas are as follows: A. AUTOMATIC RECURSION SELECTION OF NEAR-WHITE POINTS White candidates are selected from near-white regions. The numbers of white candidates differ according to the numbers of pixels and color temperatures of every image. The selection conditions for white candidates with different color temperatures are adjusted based on the different calculated points of every loop through the respective selection process. As shown in Figure 4, different from the range considered by the dynamic threshold [9], we extend the W r range from the center of the image, and adjust W r in a dynamic manner, which can be incorporated into the reference points of different color gamuts. The dynamic threshold [9] considers the addition of D u and D v because white is most affected by different color temperatures. In addition, the average values for images approaching 48-56 K are used as the reference for adjustment with different color temperatures. Thus, the optimal adjustment weights W p and W r for various color temperature conditions can be obtained. B. ADJUSTMENT OF DYNAMIC COLOR COMPONENT OPTIMIZATION Color temperature values influence the U and V components, which causes certain color components to be present in greater proportions when the RGB components are converted. Therefore, the adjustment of conversion rates associated with various color temperatures is assumed to influence the ratios of color components. To dynamically adjust to the optimal ratios through the algorithm, a new weight variable W r is proposed as the weight variable for the color temperatures and RGB conversion components: B. ADJUSTMENT OF DYNAMIC COLOR COMPONENT OPTIMIZATION W r Ycontrols the outward expansion range from the chromaticity center of the UV color space. A is the target image after adjustment, and B is the reference target. Y A is the maximum value of Y channel of A image in the YUV space, while Y B is the maximum value of Y channel of B image in the YUV space. The initial values of W r is 1, and the range is between 0.5-1.5. The size of W r after every adjustment finally influences the color temperature direction and lightness of the adjustment for the entire image. B. ADJUSTMENT OF DYNAMIC COLOR COMPONENT OPTIMIZATION In the color gamut of YUV, when only the UV color space is considered, the white candidates closer to the center should be closer to the value of white light in the proposed method. Therefore, the frame of the near-white region is adjusted according to the weight values, so the center selected by the algorithm can include the near-white region in the YUV space center, even if it deviates toward R or B. This is different from the main idea of the fixed boundary for the dynamic threshold [9]. In Figures 2 and 3, all white points that conform to the color temperature conditions are shown. The larger the value of W r is, the more the range expands, and more points subsequently conform to the conditions. The total number of white points differs according to image size, so this number has no limit. However, a mechanism is required to filter these points because most of the white points are not truly white. The filter subsequently introduced is required to remove most of the fake white points from the candidate list, and only the white points that conform to the conditions in the range of 111928 VOLUME 9, 2021 the original image remain. In the experiment, the color temperature is discovered to exert more obvious influence, and different initial results are obtained from the same W r value. Different W r values are required for different color temperatures to lower the number of fake white points. In addition, the white points closer to the center of the color space must be filtered. C. OPTIMIZATION OF NEAR-WHITE POINT NUMBER Although the method of adjusting W r more effectively preserves the near-white candidates near the center of the color space, the method of dynamic adjustment of frame weights involves extremely large numbers of influence candidates. Therefore, the top P% values of the white candidates in the near-white region are decided by the scores before and after the adjustment: C. OPTIMIZATION OF NEAR-WHITE POINT NUMBER W P is the parameter that controls the number of reference white points. S A is the image after adjustment, and S B is the reference image for adjustment. The initial values of W P is 0.1, and the range is between 0.4-0.001. W P has different values according to the size of the image, so in some cases the reference points can be filtered to less than 1%. The score calculation (S A and S B ) is for calculating the differences between color temperature images through CIE2000. The purpose is to minimize the color errors of the images. According to the experiment test process with various color temperatures from 28 to 65 K, setting the W r range at 0.5-1.5 according to color temperature enables effective filtering of the near-white points. In Figure 5, the numbers of white candidates differ due to filter range differences. The original numbers are reduced to only 10% through the effect of W P . The preserved white points are not random, and they are the white points with the top percentages among the white candidates. The white points also mostly represent white objects or white colors caused by reflection in the images. Therefore, effective control of VOLUME 9, 2021 W P can eliminate most of the fake white candidates in the filtering process. Even if numerous white points are present in the original image, which account for almost half of the entire image, the number can be reduced through adjustment of W P , and the white points of the top percentages can be selected. The real white points preserved with this method are beneficial to the next image adjustment step. Thus, in the subsequent adjustment, color temperature deviation is unlikely to occur. The dynamic process of the proposed method, as described in detail in Algorithm 1, is by dynamically adjusting the W r and W P parameters and comparing the S A and S B images. Next, the calculation process of the target image and the reference image is illustrated. A is the first calculation result image, and A is the next one. The A and B images are obtained through the initial value and the first iteration, and calculate their Y A , S A , Y B , and S B . If the score of A image is lower than that of B image, then assign the values of A image to B image and adjust the W r and W P parameters, and finally generate the new A result image according to new parameters. The process is repeated until the adjusted image with the smallest gap is found. C. OPTIMIZATION OF NEAR-WHITE POINT NUMBER After the filtered white candidates were obtained, the YUV values were converted back to RGB values according to all the reference white points. In addition, the average values of different channels were used as the RGB channel gain values. The following formulas were used to adjust the RGB channels according to the diagonal models of the Von Kries model [26], [27]: C. OPTIMIZATION OF NEAR-WHITE POINT NUMBER R, G, and B are the pixel values of the original image, and R , G , and B are the pixel values of the adjusted image. R gain , G gain , and B gain are obtained by dividing the maximum Y values, after conversion of the original image from RGB to YUV, by the average values of the reference white points. The images at different color temperatures are adjusted to similar color temperatures through this method to reduce the influence of the chromatic components exerted by color temperature. The pictures captured at various color temperatures are displayed in Section IV in order from low color temperature to high color temperature. In addition, the original images were adjusted to a uniform color temperature. IV. EXPERIMENTAL RESULTS AND DISSCUSSIONS To verify the effectiveness of the proposed method, various experiment results were provided. The restoration of realworld colors for original images in various color temperature conditions was compared with that for other algorithms based on automatic white balance. All codes for the test algorithms were found on the Internet. A PC with 8GB Ram and Intel i7-7700 3.6 GHz in the MatlabR2019b environment and Anaconda Python environment was adopted for the test. The parameter initialization used in the experimental stage is introduced in Experimental Settings, and the selection of parameter placement is discussed. A. EXPERIMENTAL SETTINGS To validate the performance of the proposed method, indoor and outdoor datasets are used for comparison evaluation. Indoor test images are portraits of people with jaundice with various color temperatures (28,32,40,48,56, and 65 K). Two control groups (High Risk and Low Risk) were divided according to the standard jaundice value of 15. The test was conducted on the experiment images in the image dataset provided by the cooperating doctors. For outdoor test images, the TID2013 dataset [28] and NUS dataset [29] are used to artificially generate the images with different color temperatures through Photoshop for adjustment and comparison, as the outdoor test images in this study. The performance of the method was compared with the automatic white balance algorithms based on image processing, which are the gray world [7], perfect reflector [8], WPR [11], MWP [12], WGE [13], LSR [30] and dynamic threshold (DH) [9]. A. EXPERIMENTAL SETTINGS The concept of setting W r has been outlined in the third stage. This section describes the selection of the setting and its differences in more detail. Figures 7 and 8 show the two groups of estimated restored images with various color temperatures. According to (3), the images with the value of 0.5 that was finally selected in the first row of Figure 7 are gentler than the images with the value of 1.5. In addition, they exhibit no deviation toward high color temperature (blue) as in the left and right sides of the (c) images. The second row images exhibit partial overexposure effects in the chest positions, which influence the judgement of the detection system. Consequently, the exposure and fineness of the illumination require attention. The generated adjusted image in the first row (b) of Figure 8 exhibits superior detail adjustment (white line and exposure on the left side) than the image in (c) does. B. QUALITATIVE COMPARISON IN DIFFERENT COLOR TEMPERATURE IMAGES Next, the entire group of images with different color temperatures were adjusted to the same color temperature. The extreme color temperature values of 32 and 65 K cause large deviation of the original colors. Therefore, the reference color temperature was set to between 48 and 56 K, so the color component ranges circled by the near-white filters selected with different color temperatures in this method were closer. This created the visual effect whereby each image appears to exhibit the same color temperature after adjustment. Extreme color temperature images (deviated toward red or blue) are not generated. B. QUALITATIVE COMPARISON IN DIFFERENT COLOR TEMPERATURE IMAGES The execution results of the proposed method are shown in Figures 9 and 10. The method demonstrates favorable [7], PRM [8], WPR [11], WGE [13], and dynamic threshold [9] methods. The red numbers are the smallest differences, and the blue numbers are the second smallest differences. effects in the adjustment from low color temperature to high color temperature. The figures show that the method can minimize the influence of the chromatic components of different color temperatures. Thus, in the results, the images displayed at different color temperatures appear to exhibit [7], PRM [8], WPR [11], WGE [13], and dynamic threshold [9] methods. The red numbers are the smallest differences, and the blue numbers are the second smallest differences. FIGURE 11. Comparison between the proposed method and other methods with various color temperatures. The lower the value is, the closer the colors of the color temperatures are. The smoother the line is, the smaller the difference is. similar color temperatures. No notable color cast is present after the adjustment with the proposed method. The gray world [7] and dynamic threshold [9] methods result in higher color temperatures, which cause the overall images to be deviated toward blue, as shown in Figure 13. C. QUANTITATIVE COMPARISON The color temperatures obtained with the proposed method were compared with color temperatures (28,32,40,48,56, and 65 K) obtained through other methods. If the adjusted images have the same color temperature, the calculated values for the distances in the color space are close. Therefore, CIE2000 was used to evaluate the distances of the chromatic components. CIE2000 is also used to evaluate the color fidelity of images. It can be used to accurately measure the overall chromatic components between two images and generate a value between 0 and 100. The smaller the value is, the better the color fidelity is. The comparison results of the proposed method and other methods are shown in Tables 1 and 2. The method in this study does not yield the smallest CIE2000 value after comparison with all of the other algorithms. However, according to one of the execution results, as shown in Figure 13, the proposed method has the visual effect of higher color fidelity compared with other automatic white balance algorithm with advantages in CIE2000. C. QUANTITATIVE COMPARISON In Tables 1 and 2, the proposed method does not yield the smallest value. However, the color temperature differences between the executed images are better than those obtained with the gray world method and are superior in visual appearance. Figure 11 shows the difference between the proposed method and other methods in various color temperatures. CIE2000 was adopted as the evaluation method. For the continual color temperature images, the smaller the difference for every interval is, the smoother the entire curve is. The smaller the overall value is, the smaller the color cast between the images is. In addition, the color constancy of the images can be maintained. The figure shows that, for every method, small differences are observed in the interval from 48 to 65 K. This means that the methods exert favorable processing effects for white light color temperatures. However, from 28 to 40 K, obvious differences occur in the conversion of lower color temperatures. The grey world method can minimize the differences between color temperatures, but the adjusted images are all affected by color cast. Figure 12 depicts greater differences in the execution results. For the grey world method, most of the final adjusted images are deviated toward blue in different color temperatures. This provides unreliable data in Tables 1 and 2 because all color temperatures are deviated toward blue. Thus, the estimated differences in values are smaller between different images. Figure 13 shows the results of the tests with five algorithms on a complete set of images with various color temperatures (32 K to 65 K). These pictures constitute one set of images randomly selected from the dataset provided by the cooperating doctors. The figure clearly shows that the results of the gray world [7] and dynamic threshold [9] methods have high overall color component values, resulting in images with poor image effects. The WPR [11] and WGE [13] methods yield acceptable overall effects, but the images are dark when the color temperatures are between 48 and 65 K. In particular, the images of 65 K have clearly different image lightness from the images of 32 and 40 K. The perfect reflector algorithm [8] yields visual effects with extremely consistent overall color temperature, but the white sheets in the images are affected by yellow deviation. In addition, the respective method exhibits similar problems in other images. However, the results of the proposed method maintain visual effects with almost consistent color temperatures. In addition, the white pixels feature no obvious yellow or blue deviation. The color constancy is better maintained. Figure 14 shows a set of examples of artificially generated images with different color temperatures in the TID2013 dataset [28], and the angular error is used as the evaluation standard. The results can be found that when the images are severely affected by the color temperature, the results adjusted by different approaches are more prone to color shift. Among them, Modified White patch (MWP) and Weighted Grey-Edge (WGE) are more prone to color cast problems. The results of LSR [30] approach seem to effectively eliminate the chromatic aberration, but the overall image looks dark and the result image of lower color temperature is quite different from the result image of high color temperature. In summary, the results of most approaches have a relatively large gap between the maximum value and the minimum value. The proposed method is not the smallest among all, but the color temperature value adjusted under different color temperature is the smallest difference, which meet the purpose we mentioned. There are two similar ideas for screening white reference points, such as White Patch Retinex (WPR) and Modified White patch algorithm (MWP). Compared with the other two approaches, the proposed method can preserve the most important white areas of the image and use it as an adjustment basis in establishing the illuminant estimation map, and minimize the selection of white pixels with color casts, as shown in Figure 15. Figure 16 shows a set of examples of artificially generated images with different color temperatures in NUS dataset [29], with angular error as the evaluation metric. From the results, it can be found that the state-of-the-art approaches perform poorly on this dataset, such as PRM, WPR, and MWP. These three white balance methods are all that define the light source in the image. WGE and LSR calculate the required light source estimation models according to different scenarios, and their results are relatively better than the first three. However, the results of the proposed method have better brightness than those of WGE and LSR. In addition, the adjustment results of six different color temperature images by our method are relatively closer than others. The average value of angular error for the six color temperatures after adjustment is listed in Table 3. The results indicate that the proposed method is better than the state-of-the-art approaches in both of that ''between different color temperatures are closest'' and ''the difference between the maximum and the minimum values (R) is also the smallest''. Although the gap between images with severe color shifts (W1 and C1) has not been minimized, it may be necessary to consider the estimation model of the original color reproduction in the image under extremely high color temperature or extremely low color temperature. V. CONCLUSION AND FUTURE WORK In this study, the differences in color temperature and lightness were compared after the images shot in different color temperatures were adjusted with automatic white balance. Thus, a method that improved on the dynamic threshold method [9] was proposed. The color components of the images can be restored favorably by using the updated color component ratios of the weight parameters and changing the image pixel values for selected candidate percentages. The proposed method minimizes differences in color components at different color temperatures and reduces image exposure or the loss of detail. The experiment results demonstrate favorable adjustment effects achieved on a series of color temperature images through the use of this method, and the color constancy was effectively maintained. The proposed method is tested on indoor images at various color temperature (28K-65K) and outdoor images at various color temperature that are artificially generated. The proposed method works well except that the original scene color in the image has been discolored due to strong color cast. It cannot be restored correctly. Although a method was found for addressing the differences in the color components of images caused by differences in illumination, another problem remains. In natural images, the differences in distance, weather, and humidity result in different atmospheric scattering coefficients and illumination. Different color temperatures are thus generated visually. Consequently, in some circumstances, the color temperature values cannot be determined normally. Thus, the displacement of the color components in the images cannot be estimated easily or accurately, and a more flexible model is required. In future work, the standard color constancy data set (NUS data set and Gehler-Shi data set) will be used for color constancy experiments in other conditions, not at various color temperatures. To overcome this challenge, other advanced physical models can be considered. This problem requires additional research.

섹션 본문 36문단 · 36,995자

(제목 없음)

1The spectrum distribution of the light source between scenes is usually uniform in all scenes lit by a given light source per the color constancy assumption. Nonuniform spectrum distribution results in pictures with different color temperatures in different lighting conditions. With the conventional automated white balance method, the results under different degrees of color cast are inconsistent. To resolve this, a new automated white balance algorithm is proposed to achieve uniformity in images with color cast caused by color temperature variations. The proposed method features the selection of near-white points through automated regression and the dynamic adjustment of the color components' weights. Finally, white balance is implemented according to the selected near-white points with various percentages. The proposed method can effectively select the appropriate white reference point of the image scene under different color temperatures, so that the adjusted results of the method under different color temperatures are close. The first major contribution of this study is the minimization of differences of continual color temperature images with different color temperatures and the achievement of favorable visual effects. The second contribution is the superior outcomes yielded by the proposed method in the visualization and quantification of data compared with those from the existing methods. The experimental results demonstrate that this method yields favorable results in the improvement of experiments with continual different color temperatures. The images at various color temperatures are adjusted to approach real-world color temperatures. In addition, this method provides superior color constancy preservation to other methods.INDEX TERMSColor constancy, color temperature, white balance, illumination estimation.

I. INTRODUCTION

2When using different shooting equipment, different color temperature cards are used to adjust the color temperatures of images. Pictures shot at high color temperatures appear warm and reddish, whereas pictures shot at low color temperatures appear cold and blueish. White balance usually facilitates adjustment for the problems associated with these two color temperatures. To obtain the color components in one scene, the adjustment values required for white balance may be obtained with a gray card or with the ColorChecker Color Rendition Chart. In natural images, the wavelength of The associate editor coordinating the review of this manuscript and approving it for publication was Yi Zhang . every color in the spectrum has its own attenuation rate. For example, the red wavelength usually attenuates after 5-6 m, orange after 7-8 m, yellow after 10-15 m, and green after 21 m [1]. Consequently, from observation, the attenuation and disappearance of a certain wavelength can result in the absence of one color channel in a scene. In daily life, sunlight is the easiest light source for which color changes may be visually detected. As shown in Figure 1, sunlight generates different light colors at different times of day. This also means that certain color channels sometimes cause color cast in natural scenes due to severe attenuation.

3A simpler definition of the so-called ''color temperature'' is the color of light, and its unit of measurement is ''K. '' In everyday life, 3000 and 4000 K refer to the color of the light, meaning color temperature. The current processing method for color temperature is adjustment with the automated white balance processing method. This algorithm usually has three steps. First, the color temperature is estimated, and the white point reference value in the image is identified. Thus, the characteristic quantity and average chromatic aberration value for this image are estimated. The second step of the algorithm is the gain calculation, and the red or blue correction factors of the image are identified. Finally, the RGB color channel values are multiplied by the corresponding correction factors to adjust the color channel gains. Thus, white balance is achieved. Color constancy is the result of the automated white balance mechanism in the brain. As long as sufficient environmental information is provided, including the light source and the relative colors of surrounding objects, the brain automatically adjusts the colors, enabling the original colors of objects to be perceived. Various approaches exist for the study of color constancy: the image patch method of multiple light sources [2], the results of comparison and estimation experiments for three color constancy methods [3], key color constancy visual effects based on multiple light sources [4], and the perception of color constancy in light sources through human vision [5]. Multiple algorithms based on image processing methods were proposed for image restoration in color constancy [6]. They all restore the color constancy of images subject to some assumptions. In the experiment conducted for this study, the gray world method [7], the perfect reflector method [8], and dynamic threshold method [9] were compared, and the assumptions for each algorithm are introduced in the next section. These algorithms are all associated with some theoretical assumptions regarding the color distribution for specific images. [6] details various calculation methods on illumination estimation and color temperature estimation. For some algorithms, the white balance adjustment is influenced by the color ratios in the images, resulting in color cast toward blue or red. In other literature, the adjustment of images to obtain uniform color temperatures is rare.

4Consequently, adjustments in such circumstances generate suboptimal results.

5The method of this study was based on the dynamic threshold method [9], and similar processing concepts were adopted. The operation comprised two steps, namely the selection of reference white points and the image adjustment according to the reference white points. Specifically, as long as this method enables the range to include the central position of the color space, and the reference white point candidates pass the screening conditions, the adjustment of images in such situations is unlikely to be influenced by color temperatures and to cause color offset. The experiment was conducted for various color temperatures. Namely, the same scenes or pictures of people were shot with various illumination methods. The color cast was then adjusted using various white balance algorithms, and the colors were restored to the original real colors. The proposed method was compared with other existing methods in the CIE2000 color temperature difference test and yielded superior results for most color temperature comparison situations.

6In summary, the main contributions of this paper are as follows:

71) The idea of color component offsetting in different color temperature situations was proposed to adjust each color temperature. Thus, the images with different color temperatures exhibited similar color temperatures visually after the adjustment. 2) A new automatic regression selection method in the color space was proposed. More white light source points located in the central locations of the color space were obtained through adjustment of the selection range. The proposed method yielded superior results in the different continual color temperature experiment (including extremely low to extremely high color temperatures) compared with other methods. In addition, this method preserved the color constancy of the images.

II. RELATED WORK

8In this section, the current image processing algorithms related to the experiment are introduced, and their advantages and disadvantages are presented for the various experiment groups in the experiment stage. The results of the study provide related detection experiments for solving the detection errors caused by the color cast images brought by color temperatures. Many approaches make effective adjustments to a single image due to their own assumptions, but it usually produce inconsistent results on multiple images with different color temperatures.

A. EXISTING AUTOMATIC WHITE BALANCE ALGORITHMS

9The method classified as unsupervised unitary in [10] is introduced. This method conducts assumptions and provides the estimated illumination chromaticity based on the relationships between image colors and light sources. The respective assumptions are as follows:

10The gray world algorithm is based on the assumption that, for the physical meaning, the average reflection value of light is represented by a fixed value in a natural scene. This value approximately represents ''gray'' [7]. Therefore, for an image with copious color changes, the average grayscale values for the three RGB components are approximately the same.

11The perfect reflector algorithm is based on the assumption that the brightest point is the white point in the input image. That white point is used as the reference white point, and the R + G + B value of the reference white point is the maximum value [8]. This concept resembles the dynamic threshold detection of white points. However, in this study, the white point selection is conducted using the method of conforming to an area. The definitions of the brightest point therefore differ slightly.

12The White Patch Retinex (WPR) algorithm is based on the assumption that, if a white patch is present in the scene of an image, this patch reflects the largest possible light of every wave band. That light is the color of the light source [11]. Thus, this algorithm relies on a white patch in the image to estimate the location of the light source. Although it relies on the white patch of a spot, the algorithm does not search for the patch but uses light intensity K as the estimated value for the light source. Thus, the percentage P% of all the pixel values larger than K among the total image pixels can be detected. Modified White Patch and Grey World Assumption [12] is proposed to adjust the images in L * a * b * space that improves the shortcomings of the original white Patch Retinex.

13The weighted Grey-Edge (WGE) classification method is used for various types of edges. This classification method is based on the reflective characteristics of edge types (such as materials, geometric shapes of shades, and high illumination) [13] for the classification of edge types. From the performance of the color constancy method, it could be assessed that some edge types are more valuable for evaluating luminous bodies than are material edges. Therefore, this method, which was different from other Grey-Edge methods, was proposed to examine the edge types with more value for the light source estimation.

14Hemandez-jurez et al. [14] found that the color constancy problem can be used as a framework for learning specific light source mapping, and proposed a Bayesian framework, which uses a variety of hypothetical strategies and can handle the color constancy problem. Afifi & Brown [15] proposed a method that preserves the linear characteristics of the original sensor RGB space and trains a single DNN model to be used on different camera sensors. This method uses two networks. The first network learns sensor independent, converts the RGB image into canonical color space and imports it into the second learning network to provide the predicted light source. It obtains superior results on multiple data sets. Bianco & Cusano [16] proposed a quasi-unsupervised learning framework based on CNN single image automatic white balance algorithm. To detect achromatic pixels in color images and convert them to grayscale. It does not require any light source information in the scene, and relies on weak assumptions, which can handle unbalanced images.

B. RELATED APPLICATIONS

15Different color temperature conditions occur both indoors and outdoors. However, the colors of an image have valuable functions for the tracking and identification of portraits or objects in computer visual processing. When the color of light changes, the image color also changes, resulting in difficulties in image identification [17]. For outdoor images, image adjustment can be conducted for light attenuation by using image depth detection, or light color restoration can be performed with the illumination estimation model. For indoor situations, different light bulbs result in different illumination conditions. For shooting and research in such situations, the influence of light changes on experiments must be considered. For example, for skin color detection studies [18], [19], skin colors vary. Color temperature conditions affect skin color and background color. Consequently, when detection is conducted, background may be included in the estimated skin blocks, resulting in the problem of estimation errors. In one example, different reflection models were used to estimate the light colors from the lighter regions of the skin. However, when the pixel values in the more brightly lit regions are cut and removed from the expressible regions, the method fails to yield correct light color estimations [20]. In skin color detection research, skin health monitoring and diagnosis are also conducted [21]. This type of research requires more accurate light color calibration to avoid detection errors as a result of light colors' influence on changes in image color temperatures. As a result, the image adjustment for color temperature is critical. In related research, the method in this study minimizes differences between continual color temperature, and the continual color temperature images from low to high exhibit almost identical light colors. Aside from the light color, the luminance is influential. Favorable light control illumination conditions generate favorable outcomes in facial feature detection experiments [22]. By contrast, insufficient illumination influences the images captured for traditional facial recognition software, causing unfavorable results.

C. COLOR SPACES

16Color spaces are the method used for color organization. The fixed analog and digital display of colors can be obtained with color spaces and the tests of physical devices. A color model is an abstract mathematical model. Usually, the three primary colors generate other colors, and these colors define a color space. A three-dimensional space can be obtained by representing the three primary colors as x, y, and z axes. Every possible color can be represented by only one coordinate in this three-dimensional space. In computer vision, the most commonly used color spaces are RGB color spaces. These can usually be converted to other color spaces (such as YCrCb, CIELAB, and CIELUV) through linear or nonlinear transformation [23]. The standards usually adopted for VOLUME 9, 2021 officially defining a color space are the CIELAB or CIEXYZ color spaces because these two color spaces are designed to cover all colors that can be seen by humans with the naked eye. Hence, they are the most accurate color spaces, but they are too complicated for application in daily life. In the processing of various types of images, to effectively use color spaces, the chromatic aberration influenced by the space conversion formulas from the initial color spaces to color properties (lightness, saturation, and hue) must be understood [24]. Currently, models are adopted for the estimation of illumination values, and color spaces generated based on illumination are rare. A new color space was proposed in [25]; the reflectivity and illumination information ware obtained from images for the conversion.

III. PROPOSED METHOD

17To maintain the color constancy of images shot in different color temperatures, the proposed method uses the dynamic threshold [9] to detect the near-white regions in images for the proposed improvement method. The method has two main components: white point detection and white point image adjustment. However, the original images are converted from RGB to the YUV color space for more convenient acquisition of the chromatic components. This is because the YUV color model originates from the RGB model. the model enables lightness and chromaticity to be separated, so it is suitable for the image processing field. Therefore, according to the a priori knowledge of dynamic thresholds, the average value of M u and M v , and the average absolute differences D u and D v are calculated. The formulas are as follows:

18where U (x, y) and V (x, y) represent the U and V values of pixel position (x, y) in the UV space, and M u and M v are the average values of pixel intensity in U and V channels, respectively.

A. AUTOMATIC RECURSION SELECTION OF NEAR-WHITE POINTS

19Adjustment is conducted based on the original near-white region conditions. Candidates are adjusted based on weight value, and the proposed selection conditions after optimization are used. The near-white region condition formulas are as follows:

20White candidates are selected from near-white regions. The numbers of white candidates differ according to the numbers of pixels and color temperatures of every image. The selection conditions for white candidates with different color temperatures are adjusted based on the different calculated points of every loop through the respective selection process. As shown in Figure 4, different from the range considered by the dynamic threshold [9], we extend the W r range from the center of the image, and adjust W r in a dynamic manner, which can be incorporated into the reference points of different color gamuts. The dynamic threshold [9] considers the addition of D u and D v because white is most affected by different color temperatures. In addition, the average values for images approaching 48-56 K are used as the reference for adjustment with different color temperatures. Thus, the optimal adjustment weights W p and W r for various color temperature conditions can be obtained.

B. ADJUSTMENT OF DYNAMIC COLOR COMPONENT OPTIMIZATION

21Color temperature values influence the U and V components, which causes certain color components to be present in greater proportions when the RGB components are converted. Therefore, the adjustment of conversion rates associated with various color temperatures is assumed to influence the ratios of color components. To dynamically adjust to the optimal ratios through the algorithm, a new weight variable W r is proposed as the weight variable for the color temperatures and RGB conversion components:

22W r Ycontrols the outward expansion range from the chromaticity center of the UV color space. A is the target image after adjustment, and B is the reference target. Y A is the maximum value of Y channel of A image in the YUV space, while Y B is the maximum value of Y channel of B image in the YUV space. The initial values of W r is 1, and the range is between 0.5-1.5. The size of W r after every adjustment finally influences the color temperature direction and lightness of the adjustment for the entire image.

23In the color gamut of YUV, when only the UV color space is considered, the white candidates closer to the center should be closer to the value of white light in the proposed method. Therefore, the frame of the near-white region is adjusted according to the weight values, so the center selected by the algorithm can include the near-white region in the YUV space center, even if it deviates toward R or B. This is different from the main idea of the fixed boundary for the dynamic threshold [9]. In Figures 2 and 3, all white points that conform to the color temperature conditions are shown. The larger the value of W r is, the more the range expands, and more points subsequently conform to the conditions. The total number of white points differs according to image size, so this number has no limit. However, a mechanism is required to filter these points because most of the white points are not truly white. The filter subsequently introduced is required to remove most of the fake white points from the candidate list, and only the white points that conform to the conditions in the range of 111928 VOLUME 9, 2021 the original image remain. In the experiment, the color temperature is discovered to exert more obvious influence, and different initial results are obtained from the same W r value. Different W r values are required for different color temperatures to lower the number of fake white points. In addition, the white points closer to the center of the color space must be filtered.

C. OPTIMIZATION OF NEAR-WHITE POINT NUMBER

24Although the method of adjusting W r more effectively preserves the near-white candidates near the center of the color space, the method of dynamic adjustment of frame weights involves extremely large numbers of influence candidates. Therefore, the top P% values of the white candidates in the near-white region are decided by the scores before and after the adjustment:

25W P is the parameter that controls the number of reference white points. S A is the image after adjustment, and S B is the reference image for adjustment. The initial values of W P is 0.1, and the range is between 0.4-0.001. W P has different values according to the size of the image, so in some cases the reference points can be filtered to less than 1%. The score calculation (S A and S B ) is for calculating the differences between color temperature images through CIE2000. The purpose is to minimize the color errors of the images. According to the experiment test process with various color temperatures from 28 to 65 K, setting the W r range at 0.5-1.5 according to color temperature enables effective filtering of the near-white points. In Figure 5, the numbers of white candidates differ due to filter range differences. The original numbers are reduced to only 10% through the effect of W P . The preserved white points are not random, and they are the white points with the top percentages among the white candidates. The white points also mostly represent white objects or white colors caused by reflection in the images. Therefore, effective control of VOLUME 9, 2021 W P can eliminate most of the fake white candidates in the filtering process. Even if numerous white points are present in the original image, which account for almost half of the entire image, the number can be reduced through adjustment of W P , and the white points of the top percentages can be selected. The real white points preserved with this method are beneficial to the next image adjustment step. Thus, in the subsequent adjustment, color temperature deviation is unlikely to occur. The dynamic process of the proposed method, as described in detail in Algorithm 1, is by dynamically adjusting the W r and W P parameters and comparing the S A and S B images. Next, the calculation process of the target image and the reference image is illustrated. A is the first calculation result image, and A is the next one. The A and B images are obtained through the initial value and the first iteration, and calculate their Y A , S A , Y B , and S B . If the score of A image is lower than that of B image, then assign the values of A image to B image and adjust the W r and W P parameters, and finally generate the new A result image according to new parameters. The process is repeated until the adjusted image with the smallest gap is found.

26After the filtered white candidates were obtained, the YUV values were converted back to RGB values according to all the reference white points. In addition, the average values of different channels were used as the RGB channel gain values. The following formulas were used to adjust the RGB channels according to the diagonal models of the Von Kries model [26], [27]:

27R, G, and B are the pixel values of the original image, and R , G , and B are the pixel values of the adjusted image. R gain , G gain , and B gain are obtained by dividing the maximum Y values, after conversion of the original image from RGB to YUV, by the average values of the reference white points. The images at different color temperatures are adjusted to similar color temperatures through this method to reduce the influence of the chromatic components exerted by color temperature. The pictures captured at various color temperatures are displayed in Section IV in order from low color temperature to high color temperature. In addition, the original images were adjusted to a uniform color temperature.

IV. EXPERIMENTAL RESULTS AND DISSCUSSIONS

28To verify the effectiveness of the proposed method, various experiment results were provided. The restoration of realworld colors for original images in various color temperature conditions was compared with that for other algorithms based on automatic white balance. All codes for the test algorithms were found on the Internet. A PC with 8GB Ram and Intel i7-7700 3.6 GHz in the MatlabR2019b environment and Anaconda Python environment was adopted for the test. The parameter initialization used in the experimental stage is introduced in Experimental Settings, and the selection of parameter placement is discussed.

A. EXPERIMENTAL SETTINGS

29To validate the performance of the proposed method, indoor and outdoor datasets are used for comparison evaluation. Indoor test images are portraits of people with jaundice with various color temperatures (28,32,40,48,56, and 65 K). Two control groups (High Risk and Low Risk) were divided according to the standard jaundice value of 15. The test was conducted on the experiment images in the image dataset provided by the cooperating doctors. For outdoor test images, the TID2013 dataset [28] and NUS dataset [29] are used to artificially generate the images with different color temperatures through Photoshop for adjustment and comparison, as the outdoor test images in this study. The performance of the method was compared with the automatic white balance algorithms based on image processing, which are the gray world [7], perfect reflector [8], WPR [11], MWP [12], WGE [13], LSR [30] and dynamic threshold (DH) [9].

30The concept of setting W r has been outlined in the third stage. This section describes the selection of the setting and its differences in more detail. Figures 7 and 8 show the two groups of estimated restored images with various color temperatures. According to (3), the images with the value of 0.5 that was finally selected in the first row of Figure 7 are gentler than the images with the value of 1.5. In addition, they exhibit no deviation toward high color temperature (blue) as in the left and right sides of the (c) images. The second row images exhibit partial overexposure effects in the chest positions, which influence the judgement of the detection system. Consequently, the exposure and fineness of the illumination require attention. The generated adjusted image in the first row (b) of Figure 8 exhibits superior detail adjustment (white line and exposure on the left side) than the image in (c) does.

B. QUALITATIVE COMPARISON IN DIFFERENT COLOR TEMPERATURE IMAGES

31Next, the entire group of images with different color temperatures were adjusted to the same color temperature. The extreme color temperature values of 32 and 65 K cause large deviation of the original colors. Therefore, the reference color temperature was set to between 48 and 56 K, so the color component ranges circled by the near-white filters selected with different color temperatures in this method were closer. This created the visual effect whereby each image appears to exhibit the same color temperature after adjustment. Extreme color temperature images (deviated toward red or blue) are not generated.

32The execution results of the proposed method are shown in Figures 9 and 10. The method demonstrates favorable [7], PRM [8], WPR [11], WGE [13], and dynamic threshold [9] methods. The red numbers are the smallest differences, and the blue numbers are the second smallest differences. effects in the adjustment from low color temperature to high color temperature. The figures show that the method can minimize the influence of the chromatic components of different color temperatures. Thus, in the results, the images displayed at different color temperatures appear to exhibit [7], PRM [8], WPR [11], WGE [13], and dynamic threshold [9] methods. The red numbers are the smallest differences, and the blue numbers are the second smallest differences.

FIGURE 11.

33Comparison between the proposed method and other methods with various color temperatures. The lower the value is, the closer the colors of the color temperatures are. The smoother the line is, the smaller the difference is. similar color temperatures. No notable color cast is present after the adjustment with the proposed method. The gray world [7] and dynamic threshold [9] methods result in higher color temperatures, which cause the overall images to be deviated toward blue, as shown in Figure 13.

C. QUANTITATIVE COMPARISON

34The color temperatures obtained with the proposed method were compared with color temperatures (28,32,40,48,56, and 65 K) obtained through other methods. If the adjusted images have the same color temperature, the calculated values for the distances in the color space are close. Therefore, CIE2000 was used to evaluate the distances of the chromatic components. CIE2000 is also used to evaluate the color fidelity of images. It can be used to accurately measure the overall chromatic components between two images and generate a value between 0 and 100. The smaller the value is, the better the color fidelity is. The comparison results of the proposed method and other methods are shown in Tables 1 and 2. The method in this study does not yield the smallest CIE2000 value after comparison with all of the other algorithms. However, according to one of the execution results, as shown in Figure 13, the proposed method has the visual effect of higher color fidelity compared with other automatic white balance algorithm with advantages in CIE2000.

35In Tables 1 and 2, the proposed method does not yield the smallest value. However, the color temperature differences between the executed images are better than those obtained with the gray world method and are superior in visual appearance. Figure 11 shows the difference between the proposed method and other methods in various color temperatures. CIE2000 was adopted as the evaluation method. For the continual color temperature images, the smaller the difference for every interval is, the smoother the entire curve is. The smaller the overall value is, the smaller the color cast between the images is. In addition, the color constancy of the images can be maintained. The figure shows that, for every method, small differences are observed in the interval from 48 to 65 K. This means that the methods exert favorable processing effects for white light color temperatures. However, from 28 to 40 K, obvious differences occur in the conversion of lower color temperatures. The grey world method can minimize the differences between color temperatures, but the adjusted images are all affected by color cast. Figure 12 depicts greater differences in the execution results. For the grey world method, most of the final adjusted images are deviated toward blue in different color temperatures. This provides unreliable data in Tables 1 and 2 because all color temperatures are deviated toward blue. Thus, the estimated differences in values are smaller between different images. Figure 13 shows the results of the tests with five algorithms on a complete set of images with various color temperatures (32 K to 65 K). These pictures constitute one set of images randomly selected from the dataset provided by the cooperating doctors. The figure clearly shows that the results of the gray world [7] and dynamic threshold [9] methods have high overall color component values, resulting in images with poor image effects. The WPR [11] and WGE [13] methods yield acceptable overall effects, but the images are dark when the color temperatures are between 48 and 65 K. In particular, the images of 65 K have clearly different image lightness from the images of 32 and 40 K. The perfect reflector algorithm [8] yields visual effects with extremely consistent overall color temperature, but the white sheets in the images are affected by yellow deviation. In addition, the respective method exhibits similar problems in other images. However, the results of the proposed method maintain visual effects with almost consistent color temperatures. In addition, the white pixels feature no obvious yellow or blue deviation. The color constancy is better maintained. Figure 14 shows a set of examples of artificially generated images with different color temperatures in the TID2013 dataset [28], and the angular error is used as the evaluation standard. The results can be found that when the images are severely affected by the color temperature, the results adjusted by different approaches are more prone to color shift. Among them, Modified White patch (MWP) and Weighted Grey-Edge (WGE) are more prone to color cast problems. The results of LSR [30] approach seem to effectively eliminate the chromatic aberration, but the overall image looks dark and the result image of lower color temperature is quite different from the result image of high color temperature. In summary, the results of most approaches have a relatively large gap between the maximum value and the minimum value. The proposed method is not the smallest among all, but the color temperature value adjusted under different color temperature is the smallest difference, which meet the purpose we mentioned. There are two similar ideas for screening white reference points, such as White Patch Retinex (WPR) and Modified White patch algorithm (MWP). Compared with the other two approaches, the proposed method can preserve the most important white areas of the image and use it as an adjustment basis in establishing the illuminant estimation map, and minimize the selection of white pixels with color casts, as shown in Figure 15. Figure 16 shows a set of examples of artificially generated images with different color temperatures in NUS dataset [29], with angular error as the evaluation metric. From the results, it can be found that the state-of-the-art approaches perform poorly on this dataset, such as PRM, WPR, and MWP. These three white balance methods are all that define the light source in the image. WGE and LSR calculate the required light source estimation models according to different scenarios, and their results are relatively better than the first three. However, the results of the proposed method have better brightness than those of WGE and LSR. In addition, the adjustment results of six different color temperature images by our method are relatively closer than others. The average value of angular error for the six color temperatures after adjustment is listed in Table 3. The results indicate that the proposed method is better than the state-of-the-art approaches in both of that ''between different color temperatures are closest'' and ''the difference between the maximum and the minimum values (R) is also the smallest''. Although the gap between images with severe color shifts (W1 and C1) has not been minimized, it may be necessary to consider the estimation model of the original color reproduction in the image under extremely high color temperature or extremely low color temperature.

V. CONCLUSION AND FUTURE WORK

36In this study, the differences in color temperature and lightness were compared after the images shot in different color temperatures were adjusted with automatic white balance. Thus, a method that improved on the dynamic threshold method [9] was proposed. The color components of the images can be restored favorably by using the updated color component ratios of the weight parameters and changing the image pixel values for selected candidate percentages. The proposed method minimizes differences in color components at different color temperatures and reduces image exposure or the loss of detail. The experiment results demonstrate favorable adjustment effects achieved on a series of color temperature images through the use of this method, and the color constancy was effectively maintained. The proposed method is tested on indoor images at various color temperature (28K-65K) and outdoor images at various color temperature that are artificially generated. The proposed method works well except that the original scene color in the image has been discolored due to strong color cast. It cannot be restored correctly. Although a method was found for addressing the differences in the color components of images caused by differences in illumination, another problem remains. In natural images, the differences in distance, weather, and humidity result in different atmospheric scattering coefficients and illumination. Different color temperatures are thus generated visually. Consequently, in some circumstances, the color temperature values cannot be determined normally. Thus, the displacement of the color components in the images cannot be estimated easily or accurately, and a more flexible model is required. In future work, the standard color constancy data set (NUS data set and Gehler-Shi data set) will be used for color constancy experiments in other conditions, not at various color temperatures. To overcome this challenge, other advanced physical models can be considered. This problem requires additional research.

참고문헌 28건

  1. Color Vision: Representing Material Categories 1984
  2. Image database TID2013: Peculiarities, results and perspectives Signal Processing Image Communication · Elsevier BV · 2014 10.1016/j.image.2014.10.009
  3. A fast auto white balance scheme for digital pathology IEEE-EMBS International Conference on Biomedical and Health Informatics (BHI ...) · 2014 10.1109/bhi.2014.6864327
  4. Toward a Unified Color Space for Perception-Based Image Processing IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2163522
  5. EEG-based motor imagery classification using neuro-fuzzy prediction and wavelet fractal features Journal of Neuroscience Methods · Elsevier BV · 2010 10.1016/j.jneumeth.2010.03.030
  6. Illuminant estimation for color constancy: why spatial-domain methods work and the role of the color distribution Journal of the Optical Society of America A · Optica Publishing Group · 2014 10.1364/josaa.31.001049
  7. Micro-Expression Recognition Using Color Spaces IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2496314
  8. A Novel Automatic White Balance Method For Digital Still Cameras 1993 IEEE International Symposium on Circuits and Systems · 2005 10.1109/iscas.2005.1465458
  9. Computational Color Constancy: Survey and Experiments IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2118224
  10. A comparison of computational color constancy algorithms. I: Methodology and experiments with synthesized data IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2002 10.1109/tip.2002.802531
  11. Evaluating Combinational Illumination Estimation Methods on Real-World Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2013 10.1109/tip.2013.2277943
  12. Efficient Color Constancy with Local Surface Reflectance Statistics Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10605-2_11
  13. Color Constancy for Multiple Light Sources IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2165219
  14. Sensory, computational and cognitive components of human colour constancy Philosophical Transactions of the Royal Society B Biological Sciences · Royal Society · 2005 10.1098/rstb.2005.1633
  15. A Retinal Mechanism Inspired Color Constancy Model IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2516953
  16. A New Intrinsic-Lighting Color Space for Daytime Outdoor Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2642788
  17. Combining Bottom-Up and Top-Down Visual Mechanisms for Color Constancy Under Varying Illumination IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2908783
  18. Quasi-Unsupervised Color Constancy 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.01249
  19. Automatic Left Ventricle Recognition, Segmentation and Tracking in Cardiac Ultrasound Image Sequences IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2920957
  20. Automatic Compensation for Defects of Laser Reflective Patterns in Optics-Based Auto-Focusing Microscopes IEEE Sensors Journal · IEEE Sensors Council · 2019 10.1109/jsen.2019.2949033
  21. Color Channel Compensation (3C): A Fundamental Pre-Processing Step for Image Enhancement IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2951304
  22. Sensor-Independent Illumination Estimation for DNN Models arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.06888
  23. A Multi-Hypothesis Approach to Color Constancy 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2020 10.1109/cvpr42600.2020.00234
  24. Ratio-and-Scale-Aware YOLO for Pedestrian Detection IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2020 10.1109/tip.2020.3039574
  25. A Novel Eye Center Localization Method for Head Poses With Large Rotations IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2020 10.1109/tip.2020.3044209
  26. A novel eye center localization method for multiview faces Pattern Recognition · Elsevier BV · 2021 10.1016/j.patcog.2021.108078
  27. Single Image Dehazing Using Wavelet-Based Haze-Lines and Denoising IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3099224
  28. Adaptive Fusion of Multi-Scale YOLO for Pedestrian Detection IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3102600