Color Constancy for Uniform and Non-Uniform Illuminant Using Image Texture
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1109/access.2019.2919997
- 저널
- IEEE Access
- 발행년도
- 2019
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 12
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2019.2919997
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2946977371
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 70,152자
본문 펼치기
섹션 본문 54문단 · 49,589자
(제목 없음)
1Color constancy is the capability to observe the true color of a scene from its image regardless of the scene's illuminant. It is a significant part of the digital image processing pipeline and is utilized when the true color of an object is required. Most existing color constancy methods assume a uniform illuminant across the whole scene of the image, which is not always the case. Hence, their performances are influenced by the presence of multiple light sources. This paper presents a color constancy adjustment technique that uses the texture of the image pixels to select pixels with sufficient color variation to be used for image color correction. The proposed technique applies a histogram-based algorithm to determine the appropriate number of segments to efficiently split the image into its key color variation areas. The K-means ++ algorithm is then used to divide the input image into the pre-determined number of segments. The proposed algorithm identifies pixels with sufficient color variation in each segment using the entropies of the pixels, which represent the segment's texture. Then, the algorithm calculates the initial color constancy adjustment factors for each segment by applying an existing statistics-based color constancy algorithm on the selected pixels. Finally, the proposed method computes color adjustment factors per pixel within the image by fusing the initial color adjustment factors of all segments, which are regulated by the Euclidian distances of each pixel from the centers of gravity of the segments. The experimental results on benchmark single-and multiple-illuminant image datasets show that the images that are obtained using the proposed algorithm have significantly higher subjective and very competitive objective qualities compared to those that are obtained with the state-of-the-art techniques.INDEX TERMSColor constancy, multiple-illuminant, image segmentation, texture.
I. INTRODUCTION
2The colors of objects within a digital image are determined by the intrinsic properties of the source illuminant, reflective features of the objects' surface and the sensitivity functions of the imaging device [1]. The color of the illuminant may alter the real colors of the objects within the scene. Hence, for robust color-based systems such as human-computer interaction, video analytics, object tracking, color feature extraction and digital photography, the effect of the illuminant should be removed [2], [3]. The retinex system of humans is able to observe the actual color of objects by adjusting its spectral response and distinguishing the color of the source illuminant. In contrast to human eyes, digital imaging devices are unable to efficiently filter out the effects of light sources from digital images [4], [5]. Hence, the color of the source light can significantly deteriorate the color of objects in the image. The key purpose of color constancy algorithms is to The associate editor coordinating the review of this manuscript and approving it for publication was Weiyao Lin.
3adjust the color of an image that was taken under an unknown illuminant so that the image looks as if it captured under white illuminant [6], [7].
4Color constancy of a digital image can be analyzed using an image formation model. Lambertian reflectance is one the most often used models, which assumes the reflected intensity of the light is independent of the viewing angle. This model ignores the specular reflection. By assuming a Lambertian surface, the formation of an image f = ( f R , f G , f B ) This assumes that the scene is illuminated by a single light source and the perceived color of light source e depends on the ρ (λ) and I (λ): e= e R e G e B = ∫ w I (λ) ρ (λ) dλ (2) Since camera sensitivity function and the color of the light source are unknown, the color constancy becomes an under-constrained problem that requires additional assumptions to solve it.
5A considerable number of color adjustment methods have been proposed over the past years, where most of them assume that the scene is lit by just one uniform light source [9]- [30]. These algorithms can be classed into four key groups: statistical-, gamut-, physics-and learning-based methods.
6Statistical-based color constancy methods use the statistical color information of the image to filter out the effect of illuminant color from the image. The Gray World color constancy method [9] is an example of a statistical-based method which is based on the assumption that the average reflectance of the RGB components of a digital image are equal and representative of the gray level. The Gray World algorithm is considered one of the best-performing methods for images that have sufficient color variation [10]. However, its resulting image becomes biased toward the color of the large uniform color patch within the image [11]. Max-RGB, which is also known as the White Patch method, is another statistical-based method, which assumes maximum values of the three image color components represent perfect reflectance [12]. Lam in [13] has taken into account the fact that the human visual system is more delicate to green than red and blue colors. He proposed an algorithm that leaves the green color component of the image unchanged and adjusts the red and blue color components using the Max-RGB method. However, the data dependency of these techniques on the brightest pixels of the image often leads to erroneous results, particularly for images with lower intensity [14]. Finlayson and Trezzi [15] proposed a method, which is called Shades of Gray, that overcomes the data reliance of the above two named methods. The authors proposed a method that uses the Minkowski p-norm to perform color constancy adjustment. This method generates superior results and significantly reduces the data reliance of the technique. However, in some cases, it generates erroneous and over-saturated images. Several refinement techniques have been proposed in [16]- [18] for alleviating the uniform color areas of the image and improving the result of the aforementioned statistics-based methods. Van de Weijer et al. in [19] have shown that pixels within the edge areas of the image carry important color information and can be used for color constancy adjustment. They proposed a color constancy method that uses the edge pixel information and reported significant results. In [20], an extension of the Gray Edge method, which is named the Weighted Gray Edge method, was presented. This method incorporates a general weighting scheme of the Gray Edge method by utilizing various edges within the image to perform color constancy adjustment.
7Gamut mapping [21] is one of the most remarkable methods. It is based on the principle that for a given light source, in a real-world scene, only a few number of its colors are observable. Various gamut mapping algorithms have been reported in [22]- [24].
8Physics-based approaches are more elaborate in their operation, as the light source estimation is driven by the interaction between the source light and the objects' physical features. They assume that a plane in RGB space represents each surface's pixels. They use the interaction between these surfaces to estimate the light sources. Many physics-based color constancy methods have been reported in [25]- [28]. Most color constancy methods, including those that are reviewed above, assume that the scene is uniformly lit by only one illuminant. However, in real-life scenarios, the scene is usually lit unevenly by one or more light sources. Hence, current color constancy algorithms are incapable to fully filter out the effects of the light colors.
9Researchers have proposed a range of techniques that meet the needs of color constancy adjustment methods for images that were taken from a scene that was either un-evenly lit or lit by multiple light sources [29]- [51]. These methods can be divided into groups that are based on local light estimation and fusion [29]- [34], pixel-detection-based techniques [35]- [37], Convolutional Neural Network (CNN)based methods [42]- [47] and biologically inspired techniques [48]- [51].
10A superpixel-based segmentation method was proposed in [32], which uses various sub-sampling techniques to split the image into sub-regions and determine a light-source color estimate for each resulting sub-region. Then, the algorithm combines the resulting estimates from the same category to generate a light color estimate for each pixel. Beigpour et al. [33] used the conditional random field algorithm, which considers both spatial distribution of local light estimates and their colors, to generate a per-pixel light source color estimate. The authors formulated a framework as an energy minimization task of the spatial distribution, which combines a few physics-based and statistics-based color constancy methods into a single color guesstimate for multiple illuminant scene. Another multiple-light-source estimation method was proposed in [34], which uses lattices of various scales of the image to calculate a per-pixel light color estimate.
11Scene illuminant estimation using sets of pixels is also considered in the literature since the process of estimating local illuminants is computationally complex and may not be feasible for real-time applications [35]- [37]. Yang et al. [35] suggested a technique to efficiently detect gray pixels within an image using an illuminant-invariant measure in three logarithmic color channels. This method determines an estimation for the color of the light source more accurately. VOLUME 7, 2019 In the literature, various color constancy algorithms have also been reported that attempt to perform illumination estimation without relying on the presence of particular sets of pixels [38]- [41]. A two-stage color constancy adjustment method for outdoor images was proposed by Lee et al.in [41]. Their algorithm casts the shadow and sunlight as two illuminants. In the first step, the algorithm determines an estimate for the sunlight and its reflectance in the whole image using an existing technique that assume the scene is lit by only one light source. In the second step, their algorithm estimates the secondary illuminant, which corresponds to shaded regions of the image, and applies a pixel-based color correction to the shaded regions of the image by calculating the RGB adjustment ratio without estimating the color of shade. Thus, the authors have proposed a way of adopting diverse color constancy approaches for primary and secondary illuminant estimation. They have demonstrated through experiment that their technique generates significantly more accurate results in terms of angular errors on outdoor images.
12Several techniques use a convolutional neural network (CNN)-based color constancy approach for multiple illuminants as an alternative to the strong-assumption-based methods [42]- [47]. Bianco et al. [42] use a CNN that comprises of one convolutional layer, one fully connected layer, and three output nodes. This method samples the input image into non-overlapping patches and applies the histogram stretching method to neutralize the contrast of the image. The patch scores, which are attained by mining activation values of the last hidden layer, are merged to guess the color of source light. Barron [43] observed that weighting the color components of the image causes a translation in the log-chromaticity histogram of the image, which enables the use of tools such as CNN and structure prediction. Joze and Drew [44] identifies a neighboring surface from the training data by using both inadequately color-constant RGB values and texture features. The authors then integrate them as an illuminant estimation for the whole image. Aytekin et al. [47] proposed another CNN-based color constancy technique that estimates the chromaticity of the light by pooling local patches from an image pyramid. Their algorithm creates the image pyramid, which consists of a few scales of the input image, and extracts local patches from all resolutions. Then, algorithm trains a CNN to estimate the illuminant from the extracted image patches. To eliminate the effect of limited content in small patches, it uses two additional training features, namely, the mean and the median of the local patches, for illuminant estimation.
13Various algorithms that endeavor to mimic the mechanism of the Human Visual System (HVS) using a computational model for color constancy have been presented in the literature [48]- [51]. Gao et al. [48] reported a method that is based on the response of Double Opponent (DO) cells to the incident distribution of the color. They apply a max-or sum-pooling mechanism in long-, medium-and short-wavelength color space to estimate the illuminant color. A biologically inspired computational model was proposed in [50], which depend mainly on center-surround calculations of local contrast to preserve the object color. Their model mimics the coordination between the variable size of the Receptive Field (RF) and its surrounding local contrast by weighting contributions of two overlapping asymmetric Gaussian kernels. Then, the authors estimated the illuminant by modeling higher visual cortical areas according to the local contrasts. A color constancy method that automatically detects the human eyes and extracts the color of the sclera, was proposed by Males et al. in [51]. The proposed algorithm assumes that the sclera color contains sufficient accurate information to be used to estimate the scene light color and, hence, reliably color-balance the face image. They reported superior performance compared to other techniques. Nevertheless, the use of this technique is restricted to images that contain at least one reliable human eye.
14Although the aforementioned color constancy methods generate reasonably accurate results, to authors' knowledge, the application of image texture for color constancy adjustment of images of scenes illuminated by multiple light sources has not been reported in the literature. With advances in multimedia technologies, there is increased demand for more reliable, accurate and less computation hungry multiple illuminant color constancy techniques. This paper presents Color Constancy Adjustment using the Texture of the Image (CCATI) for single and multiple illuminants. The proposed technique uses a histogram-based algorithm to determine sufficient number of segments for the input image. The proposed algorithm applies an automatic segmentation method that uses the K-means ++ method to divide the input image into its segments. The proposed technique assumes that each resulting segment represents a dominant light source. The proposed technique then performs entropy analysis on each resulting segment's pixels to extract the texture information of the segment. The resulting texture information is used to choose pixels with sufficient color variations within the segment. Next, the Gray World theorem is applied to compute initial color constancy adjustment factors for each segment using its selected pixels. To balance the effect of different light sources represented by each segment's initial color constancy adjustment factors on each pixel of the image, the proposed method uses Euclidian distance from the pixel to the center of every segment as a measure to regulate and fuse the segments' initial color constancy adjustment factors to calculate the color constancy adjustment factor for that pixel. This ensures that segments which are closer to a given pixel have an increased impact on its final color constancy adjustment factors. Experimental results on two single-illuminant image datasets and two multiple-illuminant image datasets demonstrate that the proposed technique's resulting images exhibit significantly higher color constancy compared to those of the state-of-the-art techniques. The remainder of the paper is structured as follows: Section 2 describes the proposed algorithm, Section 3 discusses the experimental results and the paper will be concluded in Section 4. Fig. 1 shows an illustrative block diagram of the proposed technique. In this paper, the K-means ++ algorithm along with a histogram-based method are used to divide the input image into a number of segments. Our investigation shows that entropy analysis of each image segment provides adequate information about the color variations of the pixels. This information is then used to select pixels with sufficient color variation within each segment. The proposed method determines initial color constancy adjustment factors for each segment using its selected pixels. The proposed method assumes each image segment represents a dominant light source. The proposed method then calculates per pixel, color constancy adjustment factors by combining the resulting initial color constancy adjustment factors of different segments adjusted by the Euclidian distances of the pixel from the centroids of the segments. This enables the algorithm to balance the effect of different light sources represented by different segments on each pixel, globally improving overall color constancy of the image. The proposed color constancy adjustment method includes three parts: automatic image segmentation using the K-means ++ algorithm, calculation of the initial color constancy weighting factors for each segment and computation of the color constancy adjustment weighting factor for each pixel by fusing the color constancy weighting factors of all segments. These three parts are detailed in the following subsections.
A. IMAGE SEGMENTATION USING THE K-MEANS ++ ALGORITHM
15A block diagram of the proposed automatic image segmentation method, which uses the K-means ++ clustering algorithm [52], is shown in Fig. 2. According to Fig. 2, the algorithm takes an RGB color image and transforms it into a gray scale image. The algorithm uses a histogram-based method to calculate the number of segments demonstrating color diversity areas within image. Hence, it splits the resulting gray scale image data into 256 bins of a histogram. Then, the resulting histogram is smoothed six times using the following Gaussian low-pass filter:
16The required number of image segments are calculated by counting the number of the local maxima within the smoothed histogram. The presented results are generated by assuming that the distance between two local maxima is greater than 30 and the local maxima height is greater than one thousandth of the total number of image pixels, which was empirically found to generate a reasonable number of segments for representing color variation within the benchmark color constancy VOLUME 7, 2019 image datasets. The calculated number of segments, which is denoted as n, is shown as n in Fig. 2. Various image segmentation algorithms can be used to split the input image into n segments. However, in this research, the K-means ++ clustering algorithm, which is simple and effective in dividing the color image into a predefined number of segments according to the variation of the color data, is used. Hence, the input RGB image is converted to the L * a * b * format, where the lightness and the color components of the image are denoted by L * , a * and b * , respectively. The a * and b * color components and the calculated number of the segments n are fed to the K-means ++ clustering technique.
17The K-means ++ method splits the input image pixels into n segments according to their color variations. The K-means ++ segmentation method's steps are as follows:
18i. Randomly select the initial n centroids of the segments from the a* and b* the input image color component, which are named as (c 1 . . . c n ) i=0 , and set i to zero (i denotes the current iteration). ii. Segment the a* and b* image color components' coefficients into n segments based on their minimum Euclidian distances to the current n centroids, to generate n new segments, which are denoted as (cl 1 . . . cl n ) i . iii. Compute the mean value of each resulting segment's coefficients to determine the n new centroids, denoted as (c 1 . . . c n ) i in Fig. 2 and increase i by one. iv. Check if i is larger than the predefined number of iterations, named as noi in Fig. 2. If i is larger than noi, the formerly calculated segments, denoted as (cl 1 . . . cl n ) i , are the final segments and the segmentation procedure is complete. Change their name to cl 1 . . . cl n , as shown in Fig. 2, otherwise, back to step ii.
B. TEXTURE EXTRACTION AND CALCULATION OF THE INITIAL CONSTANCY WEIGHTING FACTORS
19A block diagram of the proposed texture extraction, segment selection and segment initial color constancy weighting factors computation methods is illustrated in Fig. 3. Each resulting segment from Section 2.1 is processed independently as follows: i. Calculate the entropy value for each pixel's color components of the segment using 9 × 9 neighboring values [53] (the entropy value is a statistical measure of the randomness and is used to characterize the texture of the segment v. Determine the segment's initial color constancy weighting factors using the input RGB image pixel values, which are identified by the resulting non-zero binary segment's pixels. The weighting factors for the red, green and blue color components are denoted as K Ri , K Gi and K Bi , respectively, in the block diagram, where i represents the segment number. Finally, the Gray World theorem is used to compute the weighting factors, as shown in equation (3):
20where K Ci is the initial weighting factor for component C∈ {R, G, B}; SSP mean is the average value of the segment's selected pixel values, which are identified by the non-zero binary segment's pixel values; SSP C is the sum of component C's segment's selected pixel values; and N is the total number of non-zero binary pixels of the binary segment.
21In this research, the Gray World color correction algorithm, which is one of the more effective and yet less computationally expensive techniques compared to other color constancy algorithms [4], [10], [11], [19], [20], is used for simplicity to compute the initial color constancy weighting factors for segments. However, other statistical color constancy methods can be used. Fig. 4 presents a block diagram of the proposed color constancy adjustment weighting factor calculation method for each pixel. According to Fig. 4, the proposed algorithm takes the segments' centers, which are denoted as C 1 C 2 · · · , C n , the RGB input image, the Decision Vector (DV), and the calculated initial color correction weighting factors of all the segments and computes per pixel color correction weighting factors by combining the initial color correction weighting factors of all segments, as explained in the following steps:
C. CALCULATING THE PER-PIXEL COLOR CONSTANCY WEIGHTING FACTORS
22i. Calculate the Euclidian distances of the pixel from the centers of all segments, which are denoted as d 1 , d 2 , . . . d n in the block diagram, using equation (4):
23where x C i and y C i are the x and y positions, respectively, of the center of segment i; x p and y p represent the x and y positions, respectively, of the pixel in the image; and d i is the Euclidian distance of the pixel from the center of segment i.
24ii. The color constancy adjustment weighting factors for the red, green and blue color component of the pixel, which are denoted as K R , K G and K B , respectively, are calculated by fusing the regulated initial color constancies of the segments using equation (5):
25where K l is the weighing factor for component l of the pixel; l ∈ {R, G, B}; d 1 , d 2 , · · · , d n represent the Euclidian distances of the pixel from the centers of segments 1 to n, respectively, which are denoted as C 1 C 2 · · · , C n in the block diagram; and K l 1 K l 2 · · · , K l n are the initial color constancy weighting factors of color component l of segments 1 to n, respectively.
26iii. Scale the R, G and B color components of the input pixel by the resulting color constancy weighting factors using the Von-Kries diagonal model [54], as shown in equation (6):
27where p_out R , p_out G and p_out B are the color components of the color-balanced pixel; K R , K G and K B are the calculated weighting factors for the input pixel; and p R , p G and p B are the input pixel's color component values.
III. EXPERIMENTAL RESULTS AND EVALUATION METHODS
28The performance of the proposed color correction method for images of scenes, which are lit by a various illuminant is assessed and compared with those of the stateof-the-art techniques using images from four benchmark image datasets. The remainder of this section is organized as follows: the datasets are introduced in sub-section 3.1; sub-section 3.2 explains the assessment criteria; the influence of various factors on the performance of the proposed algorithm is discussed in sub-section 3.3; and sub-section 3.4 details the experimental results.
29A. IMAGE DATASETS B. MULTIPLE-ILLUMINANT DATASETS 1. The Multiple Light Sources dataset (MLS) [32] consists of 9 outdoor images of different sizes, which were captured under two distinct lighting conditions, and 58 indoor images, which were shot under various lighting conditions. The ground truth of the images are also generated using different methods, e.g. by placing several gray balls in the scene and manually correcting the image. 2. The MIMO dataset [33] consists of 58 laboratory and 20 real-world images. The laboratory images were shot under controlled illumination conditions.
C. SINGLE-ILLUMINANT DATASETS
303. The Gray Ball dataset [55], contains 11,340 images from different scenes, where a gray ball is placed in front of the camera. The image of the gray ball is used to assess the scenes' illuminant. Since, there are many neighboring images of the same scene, two hundred images of various scenes and lighting conditions were selected from this dataset for subjective evaluation of the proposed algorithm. 4. The Gehler and Shi image dataset [56] consist of 568 images covering a wide range of indoor and outdoor scenes' images, which were captured under various lighting conditions. A Macbeth color checker chart was located in a known place of each scene, which its image is used to assess the lighting condition of the scene. One hundred images from this dataset are used for subjective evaluation of the proposed color correction method.
D. ASSESSMENT CRITERIA
31To evaluate the color constancy of images, both objective and subjective measures are widely used in the literature [1], [33], [40], [57], [58]. Angular error, which is an objective measure, is often used to assess the color constancy of an image when the ground truth of the image is available. In this case, the angular distance between the color-corrected image and its respective ground truth, which is also known as the recovery angular error [59], is determined using equation (7):
32where d θ represents the angular error, e.ê indicates the dot product of the ground-truth and the color-corrected image vectors, respectively, and . denotes the Euclidian norm of the specified vector. Angular error is the most frequently used measure in assessing the performance of color correction techniques, where the average of the mean or median angular errors of various techniques on a large set of color-balanced images is calculated and used for comparison. The images of an algorithm that has the lowest average of the mean or median angular errors have the highest color constancy.
33Recently, Finlayson et al. [60] have criticized the application of the (recovery) angular error measure based on the argument that it produces different results for identical scenes viewed under different color light sources. They proposed an improved version of the recovery angular error measure, called reproduction angular error, which is defined as the angle between the image RGB of a white surface when the actual and estimated illuminations are 'divided out'. The reproduction angular error metric can be calculated using equation (8):
34where w = e/ê √ 3 is the true color of the white reference. Both recovery and reproduction angular error have been used to assess the objective quality of the color corrected image by computing the average of the mean or median reproduction angular errors of different methods on a large set of color-corrected images and using them for comparison. The images of the method that have the lowest average of the mean or median reproduction angular errors have the highest color constancy.
35Although angular error often provides very similar results to human perception, contradictory results have also been reported by researchers in [61], [62]. Since human eyes are the ultimate critic of the color constancy of images, subjective evaluation is considered the most reliable assessment method, regardless of its difficulty in terms of time consumption and required resources. Mean opinion score (MOS) is a subjective measure that is widely used to compare the visual quality of color-balanced images [63], [64]. In this method, a set of images that contain various color variations, objects, and backgrounds and are captured under various light sources are selected and color-balanced by various color constancy adjustment techniques. The resulting images are shown to observers who score the images based on their color constancy. For comparison, the MOS for each algorithm is generated by considering the average scores for the images of a dataset.
36According to Fig. 5, the proposed algorithm divided the input image into three segments, where the pixels within each segment are of similar color and the three segments mainly cover leaves, a tree log, and the ball and the blue sky, respectively. According to Fig. 6, which is an indoor image of a scene that is lit by multiple illuminant, the proposed algorithm has split the image into five segments of similar-color areas, which represent the colors of the objects, the colors of the local light sources and the light reflections of various objects that are illuminated by local sources. The experiments were conducted on many sample images from the four datasets that are introduced above. It was visually ascertained that the proposed algorithm determines an acceptable number of segments such that the resulting segments exhibit similar color patches, which is key to the success of the proposed color correction method. The impact of number of segments on the performance of the proposed color constancy technique will be further investigated in the experimental results section.
E. THRESHOLD SELECTION AND DEMONSTRATION
37In the proposed algorithm, as explained in Section 2.2, two threshold values are used to extract pixels with sufficient color variation to be used to calculate the initial color constancy weighting factors for the segment (these thresholds are applied on the normalized gray entropy pixel values of each segment). This operation also excludes pixels of the uniform-color areas from being used for image color constancy adjustment. In general, the existence of a large uniform-color area causes the color-corrected image to be biased to the color of the large uniform area. The range of the threshold values lies between 0 and 1. To empirically determine lower and upper threshold values, which clearly define areas with sufficient color variation, an extensive empirical investigation on a wide range of images of different datasets was conducted. Initial results showed pixels with normalized entropy value less than 0.05 and above 0.95 mainly represent uniform color areas and areas with significant edges, which do not contain adequate color variation. Hence the initial lower and upper threshold values were initialized to 0.05 and 0.95 prior to empirically determine their values precisely.
38The following steps were applied to many sample images from the four abovementioned image datasets to empirically determine the two required threshold values, which are named as the upper and lower threshold values and denoted as T u and T l , respectively:
39i. Assign 0.05 and 0.95 to T l and T u , respectively.
40ii. Apply the thresholds to the texture of a segment that contains uniform color areas, e.g., blue sky, and set the unselected pixels of the segment to zero. iii. Visually inspect the resulting segment. iv. If the uniform-color area of the segment has almost disappeared, go to step vi. v. Set T l = T l + 0.05 and T u = T u − 0.05 and go to step ii. vi. The current threshold values are the empirical threshold values for this image. Then, the average of the resulting threshold values for the selected images from the four datasets were calculated and used as the general empirical values for the proposed method, which are 0.3 and 0.7 for T l and T u , respectively.
41To give a visual sense of the performance of the algorithm, one outdoor image that contains uniform blue sky and one indoor image that contains a uniform-color area were segmented using the proposed algorithm. The entropy values of the segments that contain uniform areas were calculated and the general empirical threshold values were applied. The original images, their uniform-color segments and the resulting selected pixels of the segments are shown in Fig. 7 and Fig. 8. According to Fig. 7c and Fig. 8c, the pixels with adequate color variation are selected by the proposed technique and the uniform-color areas are excluded from contributing to the color constancy correction of the images.
F. EXPERIMENTAL RESULTS
42The performance of the proposed Color Constancy Adjustment using the Texture of Image (CCATI) method is assessed and compared with those of the state-of-the-art techniques using the images of the four aforementioned benchmark datasets. This assessment covers both subjective and VOLUME 7, 2019 FIGURE 7. Sample outdoor image from the gray ball dataset: (a) original image, (b) a segment that contains a uniform-color area, and (c) selected pixels for color constancy adjustment within the segment that represents the non-uniform-color area. objective evaluation on a wide range of images of scenes that are lit by either a single or multiple light source.
G. SUBJECTIVE RESULTS
43To assess and compare the subjective performance of the proposed CCATI algorithm, five sample images from the four image datasets that contain images that were captured under single and multiple light sources in outdoor, indoor, natural and laboratory settings are color-corrected using the proposed CCATI and the state-of-the-art color correction methods. The results are shown in Fig. 9-14. Fig. 9 illustrates a sample image from the Gray Ball dataset, the ground truth of the image, and color-corrected images that were generated using Gray Edge-2, Weighted Gray Edge, Double Opponency and the proposed CCATI method. According to Fig. 9, the proposed method's image exhibits the highest color constancy, whereas the Weighted Gray Edge, Gray Edge-2 and Double Opponency images, in order, have visually lower color corrections, which is inconsistent with their angular errors, which are indicated on the images. To obtain better insight into the achieved color constancy, the gray ball areas of the images that are obtained using the various techniques, which correspond to the area that is highlighted by the red window on the original input image, are shown in Fig. 10. According to Fig. 10a, which shows the gray ball part of the input image, the ball color exhibits a strong yellow color cast compared to its ground truth, as shown in Fig. 10b, which illustrates the true gray color of the ball. The Gray Edge-2 method's image, which is shown in Fig. 10c, exhibits a light brown color cast compared to the ground truth. The Weighted Gray Edge method's image is illustrated in Fig. 10d. This image has weaker color cast in comparison to the input image, but still suffers from a high level of yellow color cast. Fig. 10e shows the Double Opponency technique's image. This image exhibits a high level of orange color cast. Finally, Fig. 10f, which shows the proposed method's image, seems to have the weakest color cast compare to the other methods' images and is the closest to the ground-truth image. Therefore, it is concluded that the proposed CCATI technique's images exhibit the uppermost color corrections compared to the other abovementioned algorithms. Fig. 11a and 11b show a sample image from the Gray Ball dataset, which seems to have a yellow color cast, and its ground truth, respectively. A large part of this image is the blue sky, which could degrade the performance of the statistical-based color constancy algorithms. According to Fig. 11c, which shows the Max-RGB method's image, the color cast of the gray ball image, the color cast of the gray ball is very similar to that of the input image. This implies that the Max-RGB algorithm was unable to fully adjust the color of the image. The Shades of Gray algorithm's image, which is shown in Fig. 11d, exhibits significantly weaker color cast compared to the original image, mostly around the gray ball area of the image, whereas the background of image shows higher yellow color cast than the input image. The Gray Edge-1 technique's image, which is shown in Fig. 11e, exhibits a similar color casts to that of the Max-RGB method's image. Although it shows slightly higher color constancy than that of Max-RGB, the gray ball area of its image does not have the pure gray color of the ground-truth image. Fig. 11f shows the Gray Edge-2 method's image. This image demonstrates superior color constancy, and in particular, the area within the gray ball of this image appears to have a reduced level of yellow tint. Nonetheless, the shore and the tree branches still show some levels of color cast. The Weighted Gray Edge methods' image, which is shown in Fig. 11g, exhibits a strong yellow color cast; the gray ball, the tree branch and the shore areas of the image seem to have an extremely strong yellow color cast. The proposed CCATI technique's image is shown in Fig. 11h. This image exhibits the uppermost color correction compared to all the other techniques' images. The color cast from the tree branches, the shore and the gray ball areas of the image is almost removed and the image is closest in color to the ground-truth image. Fig. 12 illustrate a sample image from the MIMO (realimage group) dataset, its ground truth, and its color-corrected images that are generated using Gray Edge-2, Weighted Gray Edge, Gray Pixel and the proposed CCATI method. According to Fig. 12a, the original image is yellow-color-casted. The Gray Edge-2 algorithm's image, which is shown in Fig. 12c, does not show a noticeable improvement over the original image. The Weighted Gray Edge's image, which is shown in Fig. 12d, exhibits an extremely strong blueish color cast. The Gray Pixel method's image is shown in Fig. 12e. It exhibits significant color correction compared to the Gray Edge-2 and Weighted Grey Edge images, but it still exhibits noticeable differences from the ground-truth image. Fig. 12f shows the proposed CCATI algorithm's image. This image shows uppermost color constancy amongst all the techniques' images, despite its slight yellow color cast. Moreover, the proposed method exhibits the lowest angular error compared to the other techniques' images. Fig. 13 shows two images and their ground truths from the Gehler and Shi dataset and their respected color-corrected images that were generated using Biancoet al.'s local-to-global regressor and the proposed CCATI algorithm. The angular error of each image has been calculated and is shown in the lower-left side of each image. According to Fig. 13a, the original images have various levels of green color cast. According to Fig. 13c and Fig. 13d, which illustrate the Bianco et al. and the proposed algorithm's images, both methods' images have a low level of blue color cast. However, the proposed method's images show much higher color constancy compared to Bianco et al.'s images. By comparing the angular errors of these images, it is concluded that the subjective image quality is in agreement with the objective measures. Fig. 14 shows an image from the Multiple-Illuminant Light Source dataset, its ground truth and its color-corrected images that were generated using Gray Edge-1, Weighted Gray Edge, Gray Pixel and the proposed CCATI method. According to Fig. 14a, the original image shows a colorful doll that has been placed in front of a multi-colored bag and illuminated by multiple artificial light sources. The luminance of the image background is lower than that of its foreground and parts of the image suffer from red or orange color casts. The Gray Edge-1 technique's image is shown in Fig. 14c. This image exhibits a noticeable reduction of the color cast on its lower-left side; however, the color cast of the image on its lower-right side is evident. Fig. 14d shows the Weighted Gray Edge method's image. This image shows superior color constancy than the Gray Edge-1 method's image; however, it still shows an obvious color cast on its right-hand side. The Gray Pixel technique's image is shown in Fig. 14e. This image appears to have much weaker color cast than previously explained techniques' images; however, a slight orange color cast on the left side of the image on the carpet and an extreme purple illuminant on the lower-right side of the image are still obvious. The proposed algorithm's image is illustrated in Fig. 14f. The color of the lower-left side of the image seems as if it has been illuminated by a white light. Comparing this image with other techniques' images and the ground truth, it is obvious that the proposed method's image has the closest color constancy to the ground-truth image, despite a slight color cast on the lower-right side of the image. According to the calculated angular errors, which are shown on the images, the proposed image has the lowest angular error, which implies that it has the highest objective quality.
44To generate the Mean Opinion Scores (MOSs), 13, 78, 200 and 100 images from the MLS, MIMO, Gray Ball and Gehler and Shi image datasets, respectively, were randomly selected and color-balanced using Weighted Gray Edge (WGE), Gray Pixel, Double Opponency, Convolutional Neural Network (CNN) and the proposed CCATI techniques. The colorcorrected images were shown to 10 viewers, who scored the images on a scale from 1 to 5, where score 5 corresponds to excellent and 1 to unacceptable color constancy of the image. The average of the resulting scores for the images of each dataset and color constancy technique were computed and tabulated in Table 1.
45According to Table 1, the proposed method's images have the highest MOSs, which implies that the proposed method's images have the highest subject color constancy amongst the considered techniques' images.
H. OBJECTIVE EVALUATION
46In this section, the performance of the proposed Color Constancy Adjustment using the Texture of Image (CCATI) method is objectively compared with those of the state-ofthe-art techniques using angular error criteria on images from the four aforementioned datasets. In the first part of the experiment, the images of the Gray Ball dataset were color-balanced using the proposed CCATI, the Gray World, the Max-RGB, the Shades of Gray, the 1st-and 2nd-Order Gray Edge, the Pixel-based Gamut Mapping, the Edge-based Gamut Mapping, the Intersection-based Gamut, the Exemplar, the Gray Pixel and the Adaptive Surround Modulation (ASM) color constancy methods. The average mean and median of both recovery and reproduction angular errors of the color-balanced images are tabulated in Table 2. According to Table 2, the proposed CCATI technique's images have the lowest average mean and median recovery and reproduction angular errors amongst all the statistics-and gamut-based color constancy methods, which implies that the proposed technique's images have the uppermost objective color constancies compare to the images of the statistics-and gamut-based techniques. With respect to the learning-based methods, the proposed technique's average mean angular error equals 4.4
47• , which is equal to the lowest angular error of the learning-based methods. 4.0
48• . The proposed algorithm's mean reproduction angular error is 3.9 • , which is the lowest amongst all techniques and However, the proposed algorithm's average median angular error equals 4.1
49• , which is slightly higher than that of the best-performing learningbased method, namely, the exemplar-based method, which is the median reproduction angular error is 3.2 • , which is lower than those of the statistics and gamut-based methods. This demonstrates that the proposed method's images have very competitive objective results compared to those of the learning-based methods.
50In the second part of the experiment, the images of the MIMO dataset were color balanced using the proposed CCATI, the Gray World, Max-RGB and Shades of Gray, 1st-and 2 nd Order Gray Edge, Gisenji et al., MIRF and Gray Pixel (GP) color constancy methods. The average mean and median angular errors of the color-corrected real and laboratory images that were obtained via different the various techniques were determined and tabulated in Table 3. From Table 3 it can be seen that the proposed technique's MIMO (real) images have the lowest average median and the second-lowest mean angular errors between the images of the statistics-based techniques. Moreover, the proposed method's MIMO laboratory images exhibit the lowest mean and the second-lowest median angular errors. Hence, it is concluded that the proposed method's images have almost the uppermost objective color constancy compared to those of the statistical-based methods. Compared to those of the learningbased methods, the proposed technique's images have very competitive objective qualities.
I. PERFORMANCE EVALUATION FOR A FIXED NUMBER OF SEGMENTS VERSUS AUTOMATIC SEGMENTATION
51In this section, it will be empirically shown that the application of the automatic segmentation algorithm significantly improves the performance of the proposed color constancy technique. To do this, the proposed technique, with and without its automatic segmentation method, is applied to the images of the MIMO (real), MIMO (laboratory) and Multiple Light Sources (MLS) (outdoor images) image datasets. The average median angular errors of the resulting images were calculated and are tabulated in Table 5. Results highlight that the proposed method's images have the lowest average angular error when the proposed technique uses its automatic segmentation algorithm rather than a fixed number of segments.
J. COMPUTATIONAL COMPLEXITY
52The proposed Color Constancy Adjustment using the Texture of Image (CCATI) and the Grey World color constancy adjustment methods were run on the same Microsoft Windows 10 based personal computer, running on Intel R Core (TM) i3-6006U CPU with 1.99 GHz processor, 4.00 GB of RAM, without any additional dedicated graphic processing unit. These two methods were timed when applied to color balance the images of the MIMO, the Grey Ball and the Color Checker benchmark image datasets. Experimental result show that the proposed technique requires 3.19 times more computation time than the benchmark Grey World method.
IV. CONCLUSION
53In this paper, the Color Constancy Adjustment using the Texture of Image (CCATI) method was presented. The proposed technique employs a histogram-based method to efficiently calculate the sufficient number of segments for the input image according to the image's color variation. Then, the algorithm applies a K-means ++ method on the input image, which divides the input image into segments. It determines the entropy of the pixels within each segment and uses it to choose pixels with sufficient color variation for calculating the initial color constancy weighting factors for the segment and reduce the effect of large uniform-color areas on the overall performance of the algorithm. Finally, the proposed CCATI method calculates per pixel color correction adjustment factors by regulating the resulting initial color constancy weighting factors of all segments using the Euclidian distances of the pixel from the centers of gravity of all segments. Experimental results were generated using four benchmark image datasets. The results showed the merit of the proposed technique. degree at the University of Strathclyde in the field of stereo/multi-view video processing, he continued his career in industry, worked on real-time embedded video analytics systems. He is currently a Senior Lecturer with the School of Computing, Creative Technologies & Engineering, Leeds Beckett University. His main research interests include signal processing, hyperspectral image processing, source camera identification, image/video forgery, image hashing, biometric identification techniques, assisted living technologies, compressive sensing, camera tracking using retro-reflective materials, standard and non-standard image/video codecs, e.g., H.264 and HEVC, multi-view image/video processing, color constancy techniques, resolution enhancement methods, edge detection in low-SNR environments, and medical image processing.
54EDWARD ABBOTT HALPIN has led and participated in many international and multidisciplinary, multi-partner research projects, since 1990. He has acted as an expert for the European Parliament Scientific and Technical Options Assessment (STOA) Unit, examining and evaluating innovative research areas. He is currently an Associate Schumann Fellow of European University, Florence, and also with Leeds Beckett University. His work on developing the feasibility, evaluation, and impact for a speculative innovation project, relating to a Missing Children Alert System for Plan International worth $4,000,000, involved multi-stakeholder engagement including work with the Governments of India, Nepal, Bangladesh, the South Asian Area for Regional Cooperation and many local and NGO communities. He is an Expert Panel Member with the Cambridge Governance Labs, Cambridge University, and a Visiting Professor with Open University.
참고문헌 63건
- A Large Image Database for Color Constancy Research Color and Imaging Conference · 2003 10.2352/cic.2003.11.1.art00028
- Shades of Gray and Colour Constancy Color and Imaging Conference · 2004 10.2352/cic.2004.12.1.art00008
- Color balance algorithm with Zone system in color image correction International Conference on Computer Sciences and Convergence Information Technology · 2011
- Automatic White Balance algorithm through the average equalization and threshold International Conference on Information Science and Digital Content Technology · 2012
- Efficient illuminant estimation for color constancy using grey pixels 2015 10.1109/cvpr.2015.7298838
- Single and Multiple Illuminant Estimation Using Convolutional Neural Networks IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2713044
- Color constancy using CNNs 2015 10.1109/cvprw.2015.7301275
- Edge-Based Color Constancy IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2007 10.1109/tip.2007.901808
- Mean opinion score (MOS) revisited: methods and applications, limitations and alternatives Multimedia Systems · Springer Science+Business Media · 2014 10.1007/s00530-014-0446-1
- Color constancy and non-uniform illumination: Can existing algorithms work? 2011 10.1109/iccvw.2011.6130331
- Illumination estimation via thin-plate spline interpolation Journal of the Optical Society of America A · Optica Publishing Group · 2011 10.1364/josaa.28.000940
- White Patch Gamut Mapping Colour Constancy 2012 10.1109/icip.2012.6466981
- Color Constancy Using Double-Opponency IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2396053
- Auto White Balance Using the Coincidence of Chromaticity Histograms 2012 10.1109/sitis.2012.68
- Adaptive Color Constancy Using Faces IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2014 10.1109/tpami.2013.2297710
- A real-time auto white balance algorithm for mobile phone cameras 2023 IEEE International Conference on Consumer Electronics (ICCE) · 2012 10.1109/icce.2012.6161743
- A spatial processor model for object colour perception Journal of the Franklin Institute · Elsevier BV · 1980 10.1016/0016-0032(80)90058-7
- Color Cat: Remembering Colors for Illumination Estimation IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2014 10.1109/lsp.2014.2366973
- Fast automatic white balancing method by color histogram stretching 2011 10.1109/cisp.2011.6100338
- Exemplar-Based Color Constancy and Multiple Illumination IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2013 10.1109/tpami.2013.169
- An Iterative Approach for Color Constancy 2014 10.1109/sbr.lars.robocontrol.2014.34
- Perceptual analysis of distance measures for color constancy algorithms Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.002243
- k-means++: the advantages of careful seeding Symposium on Discrete Algorithms · 2007 10.5555/1283383.1283494
- The Retinex Theory of Color Vision Scientific American · Springer Nature · 1977 10.1038/scientificamerican1277-108
- Improving the white patch method by subsampling 2022 IEEE International Conference on Image Processing (ICIP) · 2014 10.1109/icip.2014.7025121
- Estimation of Illuminants From Projections on the Planckian Locus IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2405414
- Multi-Illuminant Estimation With Conditional Random Fields IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2013 10.1109/tip.2013.2286327
- Computational Color Constancy: Survey and Experiments IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2118224
- Color Constancy Using 3D Scene Geometry Derived From a Single Image IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2014 10.1109/tip.2014.2336545
- Bayesian color constancy revisited 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2008 10.1109/cvpr.2008.4587765
- Method for computing the scene-illuminant chromaticity from specular highlights Journal of the Optical Society of America A · Optica Publishing Group · 1986 10.1364/josaa.3.001694
- A Combined Physical and Statistical Approach to Colour Constancy 2005 10.1109/cvpr.2005.20
- Improving Color Constancy by Photometric Edge Weighting IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2011 10.1109/tpami.2011.197
- Gamut Constrained Illuminant Estimation International Journal of Computer Vision · Springer Science+Business Media · 2006 10.1007/s11263-006-4100-z
- Standard surface-reflectance model and illuminant estimation Journal of the Optical Society of America A · Optica Publishing Group · 1989 10.1364/josaa.6.000576
- Combining gray world and retinex theory for automatic white balance in digital photography 2005 10.1109/isce.2005.1502356
- Improving gamut mapping color constancy IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2000 10.1109/83.869188
- A novel algorithm for color constancy International Journal of Computer Vision · Springer Science+Business Media · 1990 10.1007/bf00056770
- Color Constancy for Multiple Light Sources IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2165219
- Illuminant color estimation for real-world mixed-illuminant scenes 2011 10.1109/iccvw.2011.6130332
- Cubical Gamut Mapping Colour Constancy Conference on Colour in Graphics Imaging and Vision · Society for Imaging Science and Technology · 2010 10.2352/cgiv.2010.5.1.art00073
- Beyond White: Ground Truth Colors for Color Constancy Correction 2015 10.1109/iccv.2015.42
- A Retinal Mechanism Inspired Color Constancy Model IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2516953
- Automatic White Balance Algorithm through the Average Equalization and Threshold International Journal of Advancements in Computing Technology · The International Association for Information, Culture, Human and Industry Technology (AICIT) · 2013 10.4156/ijact.vol5.issue1.48
- Mixed pooling neural networks for color constancy 2022 IEEE International Conference on Image Processing (ICIP) · 2016 10.1109/icip.2016.7533110
- Two Illuminant Estimation and User Correction Preference 2016 10.1109/cvpr.2016.57
- The Reproduction Angular Error for Evaluating the Performance of Illuminant Estimation Algorithms IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2582171
- Multiple Illuminant Color Estimation via Statistical Inference on Factor Graphs IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2605003
- Robust Algorithm for Computational Color Constancy International Conference on Technologies and Applications of Artificial Intelligence · 2010 10.1109/taai.2010.12
- Colour constancy using sub-blocks of the image 2016 10.1109/icses.2016.7593832
- Color Constancy by Local Averaging 2007 10.1109/iciapw.2007.16
- Max-RGB Based Colour Constancy Using the Sub-blocks of the Image 2021 14th International Conference on Developments in eSystems Engineering (DeSE) · 2016 10.1109/dese.2016.45
- Colour Constancy Using K-Means Clustering Algorithm 2021 14th International Conference on Developments in eSystems Engineering (DeSE) · 2016 10.1109/dese.2016.44
- Colour Constancy Beyond the Classical Receptive Field IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2017.2753239
- Colour balancing using sclera colour IET Image Processing · Institution of Engineering and Technology · 2017 10.1049/iet-ipr.2017.0182
- Improving Color Constancy in an Ambient Light Environment Using the Phong Reflection Model IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2785290
- Color Constancy Algorithm for Mixed-Illuminant Scene Images IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2808502
- Deep multi-resolution color constancy 2022 IEEE International Conference on Image Processing (ICIP) · 2017 10.1109/icip.2017.8296980
- Two-step multi-illuminant color constancy for outdoor scenes 2022 IEEE International Conference on Image Processing (ICIP) · 2017 10.1109/icip.2017.8296373
- Color Constancy Adjustment Using Sub-Blocks of the Image IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2866792
- On the use of deep learning for blind image quality assessment Signal Image and Video Processing · Springer Science+Business Media · 2017 10.1007/s11760-017-1166-8
- Re-evaluating colour constancy algorithms Proceedings of the 17th International Conference on Pattern Recognition, 2004. ICPR 2004. · 2004 10.1109/icpr.2004.1334009
- Convolutional Color Constancy 2015 10.1109/iccv.2015.51