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

Efficient Color Cast Correction Based on Fuzzy Logic

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Om Prakash Verma — Department of Computer Science Engineering, Delhi Technological University, Delhi, India
  2. Nitin Sharma — Department of Electronic and Communication Engineering, Maharaja Agrasen Institute of Technology, Rohini, Delhi, India
DOI
10.25103/jestr.103.16
저널
Journal of Engineering Science and Technology Review
발행년도
2017
발행기관
Eastern Macedonia and Thrace Institute of Technology
피인용수
3
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.25103/jestr.103.16
토픽
Color Science and Applications
OpenAlex ID
W2737244311

평가 내용

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

초록

Color cast defect detection of an image is challenging and of great importance in the field of image quality evaluation.This paper presents a simple and less complex method to improve the visibility in color cast images.An objective measure called color cast could be independent of the illumination condition.There are different assumptions present in the literature to provide an estimate of the Red cast, Blue cast and Green cast present in the image.These assumptions sometimes failed to eliminate the effect of color cast under varying illumination condition.The proposed method performs well under these conditions which may involve two steps.Firstly it performs the color cast detection and thereafter, a power law transformation is introduced to achieve the true color distribution of the image.In our approach a new transformation method which corrects the color cast as well as improves the quality of image.The uncertainty in the color distribution due to the illumination is removed on the basis of fuzzy Gaussian membership functions and further, improves by using weighing distribution.The performance analysis of the proposed approach is carried out by using two objective measures the image distance metric criteria of CIELAB color space and the image quality assessment function.The effectiveness of the proposed approach is illustrated by minimizing the image distance between the reference image and corrected image.The computed higher value of the image quality assessment function obtained in the proposed algorithm application on images, also justifies that the proposed algorithm results the better quality of the image in comparison to existing methods.

본문 35,669자

본문 펼치기
JOURNAL OF Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122 Engineering Science and Technology Review # Jestr Research Article www.jestr.org Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122 JOURNAL OF Engineering Science and Technology Review Research Article Efficient Color Cast Correction Based on Fuzzy Logic Om Prakash Verma <sup>1</sup> and Nitin Sharma <sup>2,*</sup> _1_ _Department of Computer Science Engineering, Delhi Technological University, Delhi, India_ _2Department of Electronic and Communication Engineering, Maharaja Agrasen Institute of Technology, Rohini, Delhi, India_ Received 31 October 2016; Accepted 6 July 2017 ___________________________________________________________________________________________ _Abstract_ Color cast defect detection of an image is challenging and of great importance in the field of image quality evaluation. This paper presents a simple and less complex method to improve the visibility in color cast images. An objective measure called color cast could be independent of the illumination condition. There are different assumptions present in the literature to provide an estimate of the Red cast, Blue cast and Green cast present in the image. These assumptions sometimes failed to eliminate the effect of color cast under varying illumination condition. The proposed method performs well under these conditions which may involve two steps. Firstly it performs the color cast detection and thereafter, a power law transformation is introduced to achieve the true color distribution of the image. In our approach a new transformation method which corrects the color cast as well as improves the quality of image. The uncertainty in the color distribution due to the illumination is removed on the basis of fuzzy Gaussian membership functions and further, improves by using weighing distribution. The performance analysis of the proposed approach is carried out by using two objective measures the image distance metric criteria of CIELAB color space and the image quality assessment function. The effectiveness of the proposed approach is illustrated by minimizing the image distance between the reference image and corrected image. The computed higher value of the image quality assessment function obtained in the proposed algorithm application on images, also justifies that the proposed algorithm results the better quality of the image in comparison to existing methods. _Keywords:_ Color, Fuzzy Logic, Correction ___________________________________________________________________________________________ 1. Introduction The color cast quality metric of images is an important feature in the application area like digital camera variants, biomedical and other practical problems field. The main cause of change in color information of the image is the variation in source illumination. The atmospheric conditions are random in nature. Thus, an image captured with camera at variant weather conditions like underwater images results the deviation in the color quality, visibility, contrast and brightness. The human visual system (HVS) have inherent ability to adjust the said deviation to a certain limit to minimize the impact of different light conditions on the color and hence can perceived the true color. The image acquisition devices at the front end of monitoring system, however, do not have this automatic adjustment ability. Thus, it is an essential objective to perform color correction in order to reproduce the same color image formation in the presence of different light characteristics. There are some automated tools are also present to correct the color cast like adobe Photoshop, Picasa etc. But the automation doesn’t work as desired. It is difficult to control the effect of color cast due to the illumination conditions. Many researchers worked on color cast problem [1-6]. The existing techniques used for color correction are max-RGB [3, 4], Grey World assumption [5], Grey Edge [6], Shades of Grey [7] etc. It may not provide a better solution in terms of removing a particular cast like red, green or ______________ *E-mail address: sharmaisnitin@gmail.com ISSN: 1791-2377 © 2017 Eastern Macedonia and Thrace Institute of Technology. All rights reserved. doi:10.25103/jestr.103.16 blue. Although these techniques can be effective to solve the problem of color cast. Single parameter cannot control the color correction at different level. These techniques may be extended by using the combination with different weights [8]. The weights are applied with the combination of different algorithm. The computation of weights is complex and computationally expensive. These weights are dependent on the classification of images. This classification involved high dimension problem. Jonathan et al. [9] proposed the selection of white patch, the gray world and the max RGB color correction algorithms on dark images in accordance with the actual content of an image but not much effective for the color cast images. Since all algorithm developed have certain assumptions and hence, no algorithm is to be called as a universally true algorithm. In the weighting approach, finding suitable weights for combination is a difficult and error prone task. In other word, it is important to combine the algorithms that have good performance on the input image. More recently, for color image enhancement [11], O. P. Verma et al. [12] proposed to learn the parameters of membership function used for fuzzification and Rajni et al. [13] proposed the color correction for underwater images. Since the systems based on fuzzy logic are resembled with human decision. In this work, we have proposed a fuzzy based color cast correction algorithm in RGB model that perform an efficient color cast detection and correction in compare to the state of art methods. Firstly, the color cast detection using fuzzy inference system (FIS) is evaluated and thereafter, a new power law transformation is introduced to achieve true color distribution of the image. The uncertainty in the color distribution due to the illumination is removed on the basis of fuzzy Gaussian membership functions and further, improves by using Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ weighing distribution. The color distributions are balanced by defining the fuzzy rule based system. By controlling the weights depending on regional properties, we investigate that a visually better result is obtained. The basic idea is to give larger weights to the pixels in noticeable regions where the color cast is high, so that well captured regions are kept intact and others are changed according to the manipulated regions. The paper is as organized as follow. The existing algorithms for color cast correction are described in Section 2. Section 3 discusses the fuzzy logic and fuzzy rules. Later in Section 4, the proposed algorithm is applied for color correction together with state of the art comparisons and provides significant results. Finally, conclusions drawn from the results obtained are mentioned in Section 5. 2. Color Cast Correction Algorithm In this section, we discussed the estimation of illumination of different color constancy methods are discussed. The limitation of gray world based approach merits and limitations are also discussed. 2.1 Estimation of illumination based algorithms Image is formed by multiplication of illumination component and reflectance component. To estimate the illuminated component which depends on the illuminant spectral power distribution P(λ) and camera sensitivity c(λ). The image I K <sup>(x,y)</sup> <sup>is given by</sup> 2.2. Gray World Based Assumption Algorithm The assumption made in the gray world algorithm is that the given color image has a sufficient amount of color variations. In the present application we have considered Red (R) Green (G) and Blue (B) color model of color space. The mean value of each R, G, and B component of the image should have a common mean intensity of the image. In a real world, this assumption for images may hold true. Color balancing algorithms can also create images to have a uniform gray value for its R, G, and B channel. If the image is captured by a digital camera under a particular lighting condition, the effect of the special lighting cast can be removed by taking the mean value of each channel. As a result, it estimates the color of the image linearly which is much closer to the original scene. In terms of implementation, the mean value <u>R,</u> G and <u>B</u> of red, green and blue channel respectively, of a color image of size M x N, can be calculated as <u>1</u> <u>B=</u> MN B(i,j) <u>1</u> <u>R=</u> MN M N R(i,j) (4) ### ∑∑ i=1 R(i,j) ### ∑N j=1 <u>1</u> <u>G=</u> MN M N G(i,j) (5) ### ∑∑ i=1 G(i,j) ### ∑N j=1 M N B(i,j) (6) ### ∑∑ i=1 ### ∑N j=1 I k <sup>(x,y)=</sup> P(λ)c(λ)dλ (1) visible range <sup>∫</sup> T are dependent on For Lambertian surface, the image I k <sup>(x,y)=</sup> ( R,G,B) the light source e(λ), the surface reflectance S(x,y,λ) and the camera sensitivity functions c(λ) where λ is the wavelength. Thus, the image I K <sup>(x,y) is given by,</sup> I k <sup>(x,y)=</sup> S(x,y,λ)e(λ)c(λ)dλ (2) visible range <sup>∫</sup> I visible range <sup>∫</sup> S(x,y,λ)e(λ)c(λ)dλ (2) As the integral term involves two unknown terms e(λ) and S(x, y, λ), thus, integral becomes an under constrained problem, that means integral cannot be solved without any further assumptions. Many color constancy methods have been proposed to estimate the illuminant. The grey world algorithm is just based on the grey world assumption, i.e. the average reflectance in a scene is achromatic. Finlayson et al. [16] proposed a more general color constancy algorithm called Shades of grey (SoG), which can include grey world and Max RGB based on the Minkowski-norm. The general estimation approach can be expressed as ⎛ <u>∂</u> _n_ _I_ σ ( _x_ ) _p_ ⎜ ∫ _n_ _dx_ ∂ _x_ ⎞ ⎟ ⎠ 1 _p_ σ ( _x_ ) = _Ae_ _n_ _I_ _p_ ⎜ ⎝ <u>∂</u> _n_, _p_,σ (3) ∂ _x_ _n_ _n_ Where, _n_ is the order of spatial derivative, _p_ is the Minkowski norm which measures the relative weights and _σ_ is the parameter for smoothing the image. When n is zero, _σ_ is zero and p=1 then the expression (3) represents the gray world assumptions, otherwise if it has nonzero finite value then expression represents the shades of gray. If p becomes infinite then expression is of a max-RGB. 116 Where, i and j denotes the indices of pixel position. The cast arises here is due to non-linear behaviour of the different illumination conditions. This problem cannot completely solve with the gray world assumption. The mean intensity of an image is given by W= (R+G +B) 3 (7) 3. Proposed Algorithm At the time of image acquisition, each camera uses its own RGB space that is converted to a standard RGB space later after achieving color constancy, this shows that the transformation between R/G/B spaces, which requires calibrating the imaging device. Therefore, it will inevitably fail on those images from any unknown camera. The proposed approach first detects the presence of dominance of color in the given image without any preassumptions and then corrects the color cast in the image in the same space. We first detect the color cast of the image depending on the color dominance presence. Most of the algorithms used for finding the cast are depends on constant value as given in equation (3).The constant value based on the assumption. The effect of color cast is uncertain which is perceived by the human eye. The vagueness in perception is increased under varying illumination condition. Here, we reduced the vagueness of perception by using Fuzzy rules. These rules calculate the color cast on the basis of intensity value. Thereafter, remove the color cast in such a way that the true distribution of colors present in the image does not get altered. Further, we applied a correction factor which behaves nonlinearly for obtained the color corrected enhanced image. The correction factors have been formed with the combination of base and the weighting distribution. The weighting distribution is introduced to reduce the effect of color cast. Finally, the color corrected enhanced image is obtained. Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ 3.1 Color Cast Detection In order to detect the dominant color, first we need to calculate the normalized value of R, G, and B channel from the given input color cast image henceforth referred to as “test image”. Then the mean intensity of each color channel <u>R,</u> <u>G</u> and <u>B is calculated. In this</u> work, the fuzzy approach is included for the decision of dominance of color presence. Each color channel is fuzzified by using Gaussian membership function. We use Gaussian membership function as shown in Fig.1 to avoid boundary value and represent vague or linguistic terms. Gaussian membership function is given by: ⎞ ⎠ <sup>⎟</sup> (8) µA <sup>(x)=exp</sup> ⎛ (c-x) 2 ⎝ <sup>⎜</sup> 2σ2 Here, c and σ are centre and width of the fuzzy set A and x ∈ A The maximum number of pixels belongs to either higher or lower side of membership function, the Gaussian fuzzy sets where, x ∈{0,1} and standard deviation σare 0.19667. The fuzzy rules of the proposed Mamdani fuzzy inference system are defined in Table 1. LOWRED HIGHRED 1 0.8 0.6 0.4 0.2 0 0 50 100 150 200 250 input1 Fig. 1. Gaussian membership function curve for the LOW and the HIGH intensity values Table 1 . Color cast determination fuzzy rules <u>S.No.</u> <u>R(i,j)</u> <u>G(i,j)</u> <u>B(i,j)</u> <u>Color cast</u> <mark>1</mark> <mark>HIGH</mark> <mark>LOW</mark> <mark>LOW</mark> <mark>Red</mark> 2 LOW HIGH LOW Green <mark>3</mark> <mark>LOW</mark> <mark>LOW</mark> <mark>HIGH</mark> <mark>Blue</mark> 4 HIGH HIGH LOW Red and Green 5 LOW HIGH HIGH Green and Blue 6 HIGH LOW HIGH Red and Blue Generally, the intensity levels are not well spread with the correction of color cast. The pixel intensity as shown in table1 defines the belonging of the cast. The cast of each pixel evaluates by using membership function. The higher the pixel intensity greater the membership value and vice versa. After evaluation of color cast, we find the mean value of each channel as defined in equation (4), equation (5) and equation (6). Now depending on the region, a proposed base value is defined in Table 2. <u>Table 2.</u> <u>Proposed base value for the different region of casts</u> <u><mark>S.No.</mark></u> <u><mark>Region</mark></u> <u><mark>Base</mark></u> <u><mark>1</mark></u> <u><mark>Region 1</mark></u> _<u><mark>R</mark></u>_ <u>2</u> <u>Region 2</u> _<u>G</u>_ <u><mark>3</mark></u> <u><mark>Region 3</mark></u> _<u><mark>B</mark></u>_ 4 Region 4 _<u>R</u>_ <u>+</u> _<u>G</u>_ <u>2</u> 117 5 Region 5 _<u>G</u>_ <u>+</u> _<u>B</u>_ <u>2</u> 6 Region 6 _<u>R</u>_ <u>+</u> _<u>B</u>_ <u>2</u> Accordingly, the color cast of the image is obtained as an output after the defuzzification and aggregation process using the above defined fuzzy rules. The output membership function is shown in Fig. 2. The rules depend on the degree of membership function. The overall cast evaluates the rule under membership function. The higher number of pixels decides the cast of the image. Color Cast Correction- After the finalization of cast type, color cast of image is corrected by applying correction factor α r,α gand α b on red, green and blue channel respectively are obtained from equation given by, α r = <sup><u>R</u></sup> base 1 0.8 0.6 0.4 0.2 0 , α g = <sup><u>G</u></sup> base and α b = <sup><u>B</u></sup> (9) base CAST1 CAST2 CASTf3 0 0.5 1 1.5 2 2.5 3 3.5 4 output1 Fig. 2. Gaussian membership function for output color cast- Red cast, Green cast and Blue cast These factors are depending on the base of the channel. This base has the value of color cast obtained in the first operation of proposed approach that is the color cast detection. This color cast effect is corrected by using the equation (10). R(i,j)=R(i,j)! " r w r, G(i,j)=G(i,j)! " g w g and B(i,j)=B(i,j) <sup>!</sup> " b w b (10) Where, wr, wg, and wb are the color correction factor that reduced the effect of color cast. The power law coefficient is determined by the dominant color detected by fuzzy color correction factor to the weighted factor given in equation (11). Whereas, correction factor is obtained by computing the ratio of the mean value of intensity of color channels present on base depend in the actual image. The value of w1, w2, and w3 is chosen as per the type of cast. If the resulted image is Red cast then wr= W and wg=1 and wb=1, image is Green cast then wr=1, wg= W and wb=1. Similarly in case of blue cast wr=1, wg=1 and wb= W . This weighing factor W is determined from equation (7). This factor gives mean intensity of the test image. Mathematically the weighing factor is calculated as _if_ α _i_ _i_ <sup>= 1,</sup> <sup>_then_</sup> <sup>_w_</sup> _i_ <sup>=</sup> <sup>_<u>W</u>_</sup> <sup>_and_</sup> <sup>_w_</sup> _j_ <sup>= 1,</sup> <sup>_j_</sup> <sup>≠</sup> <sup>_i_</sup> <sup>.</sup> <sup>_where_</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>∈</sup> { <sup>_r_</sup> <sup>,</sup> <sup>_g_</sup> <sup>,</sup> <sup>_b_</sup> } Finally, the corrected pixel values _R_ <sup>!</sup> ( _i_, _j_ ), _G_ <sup>!</sup> ( _i_, _j_ ) and _B_ <sup>!</sup> ( _i_, _j_ ) of each color channel is obtained. This law maintains the correction Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ with wide intensity range. We calculate the correction factor as in the gray world based correction but apply directly on each intensity value non- linearly. Hence the color cast corrected image is obtained. <u>Proposed Approach</u> The algorithm is outlined as follows:1. Obtain the RGB test image 2. Normalize each channel 3. Obtain the mean value of each channel 4. Determine the cast type by passing the mean value of each channel as argument to the Mamdani fuzzy Inference system designed. Thus, de-fuzzify the image into red cast, green cast and blue cast. 5. Define the base value as per the cast type resulted from step 4 6. Obtain the value of color correction factor for each channelα _r_ α _g_ .nd α _b_ .respectively using equation (9) 7. Finally obtain the corrected value of each channel i.e. _R_ ! ( _i_, _j_ ) ., G(! _i_, _j_ ) ., _B_ ! ( _i_, _j_ ) .using equation (10) 4. Performance Measures:- The two image quality performance measures are considered to evaluate the effectiveness of the proposed approach. These performance measures are comprehensive image quality assessment model and CIELAB metric. Comprehensive Image Quality Assessment Model:-The color quality of the image is measured subjectively as well as objectively. The subjective evaluation is based on the human perception of the image. It may vary from individual to individuals. The objective evaluation is more reliable, consistent and replicable especially when the goal is to compare with the other existing approaches. The comprehensive image quality parameters are proposed in the literature [14].A comprehensive image quality assessment model, called as the best quality assessment function for the color image was established. The quality parameters like luminance, contrast and entropy are quality evaluator and are described below Average Luminance The average luminance of an image <u>L is given by:-</u> <u>∇</u> _Cc_ = _<u>CC</u>_ = <u>1</u> <u>L=</u> MN M-1 N-1 L(i,j) (11) ### ∑∑ i=0 L(i,j) ### ∑N-1 j=0 Where, M and N are the number of rows and columns of an image respectively. Average Information Entropy In color images, information entropy evaluates for each channel red, green and blue is given by: 255 ### ∑ p ( i )log 2 p ( i ) (12) _H_ = −∑ _p_ ( _i_ )log 2 _p_ _i_ =0 where, _p_ ( _i_ ) is the probability distribution of the pixel information for three bit image. Thereafter, take the average information of three channels ( _<u>H</u>_ ). Average Contrast: The color contrast can be calculated for each RGB channel are given by, !"! _Cc_ (i, j) = ∇ _R_ ( _i_, _j_ ) x <sup>⌢</sup> + ∇ _G_ ( _i_, _j_ ) _y_ <sup>⌢</sup> + ∇ _B_ ( _i_, _j_ ) _z_ <sup>⌢</sup> (13) Where, ∇ _R_, ∇ _G_ and ∇ _B_ are the gradient of red, green and blue channel respectively. The total contrast computes by taking the average of these channels. 2 _<u>R</u>_ <u>+ ∇2</u> _<u>G</u>_ <u>+ ∇2</u> _<u>B</u>_ (14) 3 Table 3. Comparison of luminance, entropy, average contrast and CAF value for two different images using proposed, grey world shades of <u>gray and Max-RGB methods</u> Average Average Average CAF Luminance Entropy Contrast Average Entropy Average Contrast CAF _<u>C</u>_ _<u>L</u>_ _<u>H</u>_ Two men Red Cast <u>Test Image</u> <u>105.874</u> <u>7.6176</u> <u>117.6348</u> <u>14.3537</u> <u>Proposed Approach</u> <u>121.4628</u> <u>7.8592</u> <u>128.8760</u> <u>22.8940</u> <u>Grey world</u> <u>114.6916</u> <u>7.4689</u> <u>126.3866</u> <u>18.2284</u> <u>Max-RGB</u> <u>105.8476</u> <u>7.5950</u> <u>116.4403</u> <u>14.2747</u> <u>Shades of Grey</u> <u>106.1014</u> <u>7.7031</u> <u>123.5935</u> <u>14.8013</u> Green <u>Test Image</u> <u>154.3369</u> <u>7.7214</u> <u>107.404</u> <u>12.2340</u> Cast <u>Proposed Approach</u> <u>139.3876</u> <u>7.7641</u> <u>113.2544</u> <u>18.8837</u> Green <u>Test Image</u> <u>154.3369</u> <u>7.7214</u> <u>107.404</u> <u>12.2340</u> Cast <u>Proposed Approach</u> <u>139.3876</u> <u>7.7641</u> <u>113.2544</u> <u>18.8837</u> <u>Grey world</u> <u>147.5456</u> <u>7.6409</u> <u>103.9105</u> <u>14.6033</u> <u>Max-RGB</u> <u>154.2861</u> <u>7.7219</u> <u>107.5911</u> <u>12.2576</u> <u>Shades of Grey</u> <u>150.8933</u> <u>7.7248</u> <u>106.0571</u> <u>13.4952</u> Blue Cast <u>Test Image</u> <u>95.2479</u> <u>7.6093</u> <u>124.4972</u> <u>10.5967</u> <u>Proposed Approach</u> <u>122.7724</u> <u>7.8828</u> <u>127.7406</u> <u>23.6610</u> <u>Grey world</u> <u>116.2059</u> <u>7.4491</u> <u>137.1300</u> <u>19.2994</u> <u>Max-RGB</u> <u>95.3044</u> <u>7.5772</u> <u>121.0267</u> <u>10.4963</u> <u>Shades of Grey</u> <u>101.4161</u> <u>7.6467</u> <u>130.5941</u> <u>13.0091</u> Color Red Cast <u>Test Image</u> <u>117.0651</u> <u>6.9913</u> <u>44.2898</u> <u>18.0358</u> checker <u>Proposed Approach</u> <u>136.8766</u> <u>7.3210</u> <u>51.4229</u> <u>19.6046</u> Red Cast <u>Test Image</u> <u>117.0651</u> <u>6.9913</u> <u>44.2898</u> <u>18.0358</u> <u>Proposed Approach</u> <u>136.8766</u> <u>7.3210</u> <u>51.4229</u> <u>19.6046</u> <u>Grey world</u> <u>126.2622</u> <u>7.1793</u> <u>53.9270</u> <u>19.4550</u> 118 Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ <u>Max-RGB</u> <u>116.9710</u> <u>7.0403</u> <u>46.3699</u> <u>18.3716</u> <u>Shades of Grey</u> <u>117.4282</u> <u>7.1331</u> <u>49.4301</u> <u>18.9138</u> Green <u>Test Image</u> <u>139.2496</u> <u>7.0017</u> <u>42.9251</u> <u>17.92191</u> Cast <u>Proposed Approach</u> <u>132.1887</u> <u>7.3055</u> <u>49.7295</u> <u>19.4002</u> Green <u>Test Image</u> <u>139.2496</u> <u>7.0017</u> <u>42.9251</u> <u>17.92191</u> Cast <u>Proposed Approach</u> <u>132.1887</u> <u>7.3055</u> <u>49.7295</u> <u>19.4002</u> <u>Grey world</u> <u>124.4725</u> <u>7.1858</u> <u>48.8869</u> <u>19.0008</u> <u>Max-RGB</u> <u>136.9524</u> <u>7.0310</u> <u>43.6200</u> <u>18.0696</u> <u>Shades of Grey</u> <u>125.7044</u> <u>7.1179</u> <u>45.1199</u> <u>18.4477</u> Blue Cast <u>Test Image</u> <u>101.8550</u> <u>7.1648</u> <u>47.7581</u> <u>18.8349</u> <u>Proposed Approach</u> <u>132.1369</u> <u>7.3283</u> <u>51.2518</u> <u>19.6078</u> <u>Grey world</u> <u>130.3048</u> <u>6.1334</u> <u>45.3594</u> <u>15.9172</u> <u>Max-RGB</u> <u>125.5105</u> <u>6.1117</u> <u>36.1218</u> <u>14.9832</u> <u>Shades of Grey</u> <u>122.2703</u> <u>6.1470</u> <u>39.4600</u> <u>15.4065</u> <u>Table 4</u> <u>. Comparison of</u> <u>Δ</u> _<u>E</u>_ <u>CIELAB metric for Proposed Approach, grey world, max-RGB and shades of grey</u> Δ _Erc_ Δ _Ere_ Δ _Erg_ Δ _Erm_ Δ _Erc_ Δ _Ere_ Δ _Erm_ Δ _Erc_ <u>(test)</u> <u>(proposed Approach)</u> <u>(grey)</u> <u>(max-RGB)</u> <u>(shades of grey)</u> Two men Image <u>Red Cast</u> <u>0.1147</u> <u>0.0738</u> <u>0.0922</u> <u>0.1146</u> <u>0.0774</u> Green 0.0968 0.0577 0.0854 0.0983 0.0896 <u>Cast</u> <u>(test)</u> <u>(proposed Approach)</u> Δ _Erg_ <u>(grey)</u> <u>(max-RGB)</u> 0.0968 0.0577 0.0854 0.0983 0.0896 <u>Blue Cast</u> <u>0.2241</u> <u>0.0479</u> <u>0.1329</u> <u>0.2227</u> <u>0.1607</u> Color checker <u>Red Cast</u> <u>0.1996</u> <u>0.0637</u> <u>0.1041</u> <u>0.1992</u> <u>0.1318</u> Image Green 0.1414 0.0602 0.0724 0.1412 0.1030 <u>Red Cast</u> <u>0.1996</u> <u>0.0637</u> <u>0.1041</u> <u>0.1992</u> <u>0.1318</u> Green 0.1414 0.0602 0.0724 0.1412 0.1030 <u>Cast</u> 0.1414 0.0602 0.0724 0.1412 0.1030 <u>Blue Cast</u> <u>0.2571</u> <u>0.1019</u> <u>0.1425</u> <u>0.2572</u> <u>0.1308</u> The average color contrast for each channel of an RGB image are given by Δ _Ec_ <sup>=</sup> Δ _L_ 2 _c_ + Δ _ac_ 2 + Δ _bc_ 2 Δ _E_ _c_ <sup>=</sup> Δ _L_ 2 _c_ 2 _c_ + Δ _ac_ 2 _c_ _c_ 2 + Δ _bc_ 2 2 (17) where, Δ _Lc_ = _L cast_ - _L original_ Δ _ac_ = _acast_ - _aoriginal_ Δ _bc_ = _bcast_ - _boriginal_ <u>1</u> _<u>C</u>_ = _MN_ <u>1</u> _<u>C</u>_ = _M_ −1 _N_ −1 ### ∑∑ CC ( i, j ) (15) _CC_ ( _i_, _j_ ) _i_ =0 ### ∑ N −1 _j_ =0 Where, _<u>C</u>_ represents average contrast of the image. The color image quality assessment function defined in [14]. _CAF_ = _<u>H</u>_ α + _<u>C</u>_ β + _<u>N</u>_ (16) The higher CAF value gives better image quality. This value is computed by adding the parameters like luminance, entropy, contrast and noise. CIELAB Metric: _-_ This metric estimates accuracy of the color reproduction in comparison to the original when analysed by a human observer [15]. This metric is suitable for measuring color difference of large uniform color targets. CIELAB is based on one channel for Luminance (L) and two color channels (a and b). The a-axis starts from green (-a) to red (+a) and the b-axis starts from blue (-b) to yellow (+b). The Luminance (L) starts from the bottom to the top of the three-dimensional model. The Δ _Ec_ and Δ _Ee_ metric are given by α + _<u>C</u>_ Δ _Ee_ = Δ _Le_ where, ΔLe =L enhanced -L original Δa e =a enhanced -a original Δbe =benhanced -boriginal Parameters ΔLc, Δac and Δbc is the difference in the cast and test image coordinates of L, a, and b of CIELAB color space and ΔLe, Δae and Δbe are the coordinates L, The ‘a’ and ‘b’ of enhanced image in CIELAB color space. Δ _E_ is the Euclidean distance for measuring the difference between colours. Smaller value of ΔE indicates that the enhanced test image is closer to the reference image. _CAF_ = _<u>H</u>_ 2 + Δ _be_ 2 (18) 2 + Δ _ae_ (a) 119 Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) Fig. 3 . Two-men image (a) Reference, (b) Red cast (c) Green cast, (d) Blue cast, (e) proposed corrected Red cast (f) proposed corrected Green cast (g) proposed corrected Blue cast (h) Grey world corrected Red cast (i) Grey world corrected Green cast (j) Grey world corrected Blue cast (k) max-RGB corrected Red cast (l) max-RGB corrected Green cast Two-men image (m) max-RGB corrected Blue cast, (n) shades of grey corrected Red cast, (o) shades of grey approach corrected Green cast (p) shades of grey approach corrected Blue cast 5. Results and Discussions In this section experimental results are presented to prove the effectiveness of the proposed color correction algorithm on the natural images under red, green and blue cast. The proposed approach has been successfully implemented on Intel core i3 at 2.40 GHz using MATLAB version 2014. All images used in experiment are cast using paintshop pro software and evaluate the luminance, entropy, average contrast and CAF values. The color corrected images are shown in Fig. 3 and Fig. 4.The reference image is the original image without any bad illumination effect. The distorted images are obtained by adding color cast to them. The distorted images are corrected by some well-known methods in literature for color correction: max-RGB, Grey World assumption, Grey Edge, Shades of Gray and the proposed corrected approach. The image quality parameters: luminance, entropy, average contrast and CAF value for two different images are summarized in Table-3. The results show a good match with human ground truth with proposed technique. The higher entropy value is obtained as compared with existing methods. An additional performance measure Δ _E_ had been taken in which image distances are calculated using equation (17), equation (18) and are summarized in Table-4. It is observed that the distance is significantly reduced with the proposed approach. The reference two men image is shown in Fig. 3(a). The red, green and blue cast images are shown in Fig.3 (b), (c) and (d) respectively having entropy of 7.6176, 7.7214 and 7.6093 respectively, are efficiently corrected with proposed technique. The images shown in Fig.3 (e), (f) and (g) are the resulted color cast corrected images using proposed technique. It is clearly observed that proposed technique removes the color cast correctly and it is confirmed from the metric results 120 Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ obtained that is the entropy value of the corrected images obtained are 7.8592, 7.7614 and 7.8828 respectively. The overall contrast values of the test images are 14.3537, 12.2340 and 10.5967.And these values are significantly enhanced in the corrected images to 22.8940, 18.8837 and 23.6610 respectively. The color of the over coat in two men image under different cast are appear slightly (a) black but after applying the proposed method the color of over coat becomes truly black as it appears in the reference image. The same result can be inferred by employing the proposed technique over the color Color checker image. Images resulted after processing through the proposed technique are shown in Fig. 4 (e), (f) and (g), (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) Fig.4-Color checker image (a) Reference, (b) Red cast, (c) Green cast, (d) Blue cast, (e) proposed corrected Red cast (f) proposed corrected Green cast (g) proposed corrected Blue cast (h) Gray corrected Red cast (i) Gray corrected Green cast (j) Gray corrected Blue cast (k) max-RGB corrected Red cast (l) max-RGB corrected Green cast (m) max-RGB corrected Blue cast, (n) shades of grey corrected Red cast, (o) shades of grey approach corrected Green cast (p) shades of grey approach corrected Blue cast 121 Om Prakash Verma and Nitin Sharma _/Journal of Engineering Science and Technology Review 10 (3) (2017) 115-122_ It is clearly visible that proposed technique effectively remove the color cast and retain the originality of the image. Statistically obtained color corrective measures like entropy, contrast for corrected Color checker images are 7.3210, 7.3055, 7.3283 and 19.6046, 19.4008, 19.6078 respectively. The obtained CAF values of proposed algorithm are highest as compared to all other existing methods for all images. 6. Conclusions In this paper, the Fuzzy based approach is used for detecting and removing all types of color cast. This algorithm detects the actual cast on the image in an effective manner without assuming it like Reddish, Greenish and Bluish. The uncertainty in the cast further removed completely by using the fuzzy logic. Thus, we recover true color distribution of the image and develop algorithm which is robust under different lighting conditions. As a result, the image obtained with high entropy, luminance and contrast. In addition to that the image obtained with high intensity value. The effectiveness of the proposed algorithm is shown by measuring the quality assessment function and CIELAB metric. These performance measures are compared with the existing color cast algorithm. The maximum value of the function is achieved by using proposed approach which shows a better quality of the image. It was inferred from the decrement nature of distance measured through CIELAB metric that the resulted image approaches towards the reference image. This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence ______________________________ References 1. Land, E.H., McCann, J.J., Lightness and retinex theory. J. Opt. Soc. 10. L. A. Zadeh,”Fuzzy Sets, Information and Control”, 1965, pp. 338-353. Amer. 1974, 61 (1), 1–11. 11. Rizzi. A, Gatta. C, Marini. D, “A new algorithm for unsupervised global 2. Maloney, L.T., Wandell, B.A. Color constancy: a method for recovering and local color correction”, Pattern Recognition Letters, Vol 24, No. 11, surface spectral reflectance. J. Opt. Soc.Amer.A3., 1986, 3 (1), 29–33. pp.1663-1677, July. 2003. 3. E. H. Land, “The retinex theory of color vision,” Scientific American, vol. 12. Om Prakash Verma, Puneet Kumar, Madasu Hanmandlu, Sidharth 237, no. 6, pp. 108–128, December 1977. 1, 2 Chhabra, High dynamic range optimal fuzzy color image enhancement 4. B. Funt and L. Shi, “The rehabilitation of maxRGB,” in Color and Imaging using Artificial Ant Colony System, Applied Soft Computing, Volume Conf., 2010, no. 1, pp. 256–259, Soc. Imag. Sci. Technology. 12,Issue 1, pp. 394-404 January 2012. 5. G. Buchsbaum, “A spatial processor model for object color perception,” 13. Sethi, R., Sreedevi, I., Verma, O. P., & Jain, V. (2015, December). An Journal of the Franklin Institute, vol. 310, no. 1, pp. 1–26, July 1980. 1, 2 optimal underwater image enhancement based on fuzzy gray world 6. G. D. Finlayson and E. Trezzi, “Shades of gray and color constancy,” in algorithm and Bacterial Foraging algorithm, IEEE Fifth National Proc. IS&T/SID Color Imaging conference, 2004, pp. 37–41. Conference on Computer Vision, Pattern Recognition, Image Processing 7. J. van de Weijer, T. Gevers, and A. Gijsenij, “Edge based color constancy,” and Graphics (NCVPRIPG),pp. 1-4 December,2015. IEEE Transactions on Image Processing, vol. 16, no. 9, pp. 2207–2214, 14. Z. X. Xie, Z. F. Wang, “Color Image Quality Assessment Based on Image 2007. Quality Parameters Perceived by Human Vision System”, International 8. A. Gijsenij and T. Gevers Color Constancy Using Natural Statistics and Conference on Multimedia Technology (ICMT), Ningbo 29-31 Oct. 2010. Scene Semantics IEEE Transactions on Pattern Analysis and Machine 15. X. M. Zhang, B. A. Wandell, “A spatial extension to CIELAB for digital Intelligence, Vol. 33, No. 4, 2011 color image reproduction,” Symposium Proceedings, 1996. 9. J. Negrete, R. E. Sanchez-Yanez, “Automatic selection of color constancy 16. G.D. Finlayson and E. Trezzi, “Shades of gray and color constancy”, Proc. algorithms for dark image enhancement by fuzzy rule-based reasoning” of IS&T/SID Color Imaging Conference, Scottsdale, Arizona, USA, Applied Soft Computing, Volume 28, March 2015, pp. 1–10. pp.37–41, 2004. 122

섹션 본문 30문단 · 20,310자

(제목 없음)

1Color cast defect detection of an image is challenging and of great importance in the field of image quality evaluation. This paper presents a simple and less complex method to improve the visibility in color cast images. An objective measure called color cast could be independent of the illumination condition. There are different assumptions present in the literature to provide an estimate of the Red cast, Blue cast and Green cast present in the image. These assumptions sometimes failed to eliminate the effect of color cast under varying illumination condition. The proposed method performs well under these conditions which may involve two steps. Firstly it performs the color cast detection and thereafter, a power law transformation is introduced to achieve the true color distribution of the image. In our approach a new transformation method which corrects the color cast as well as improves the quality of image. The uncertainty in the color distribution due to the illumination is removed on the basis of fuzzy Gaussian membership functions and further, improves by using weighing distribution. The performance analysis of the proposed approach is carried out by using two objective measures the image distance metric criteria of CIELAB color space and the image quality assessment function. The effectiveness of the proposed approach is illustrated by minimizing the image distance between the reference image and corrected image. The computed higher value of the image quality assessment function obtained in the proposed algorithm application on images, also justifies that the proposed algorithm results the better quality of the image in comparison to existing methods.

Introduction

2The color cast quality metric of images is an important feature in the application area like digital camera variants, biomedical and other practical problems field. The main cause of change in color information of the image is the variation in source illumination. The atmospheric conditions are random in nature. Thus, an image captured with camera at variant weather conditions like underwater images results the deviation in the color quality, visibility, contrast and brightness. The human visual system (HVS) have inherent ability to adjust the said deviation to a certain limit to minimize the impact of different light conditions on the color and hence can perceived the true color. The image acquisition devices at the front end of monitoring system, however, do not have this automatic adjustment ability. Thus, it is an essential objective to perform color correction in order to reproduce the same color image formation in the presence of different light characteristics.

3There are some automated tools are also present to correct the color cast like adobe Photoshop, Picasa etc. But the automation doesn't work as desired. It is difficult to control the effect of color cast due to the illumination conditions. Many researchers worked on color cast problem [1][2][3][4][5][6]. The existing techniques used for color correction are max-RGB [3,4], Grey World assumption [5], Grey Edge [6], Shades of Grey [7] etc. It may not provide a better solution in terms of removing a particular cast like red, green or blue. Although these techniques can be effective to solve the problem of color cast. Single parameter cannot control the color correction at different level. These techniques may be extended by using the combination with different weights [8]. The weights are applied with the combination of different algorithm. The computation of weights is complex and computationally expensive. These weights are dependent on the classification of images. This classification involved high dimension problem. Jonathan et al. [9] proposed the selection of white patch, the gray world and the max RGB color correction algorithms on dark images in accordance with the actual content of an image but not much effective for the color cast images. Since all algorithm developed have certain assumptions and hence, no algorithm is to be called as a universally true algorithm. In the weighting approach, finding suitable weights for combination is a difficult and error prone task. In other word, it is important to combine the algorithms that have good performance on the input image.

4More recently, for color image enhancement [11], O. P. Verma et al. [12] proposed to learn the parameters of membership function used for fuzzification and Rajni et al. [13] proposed the color correction for underwater images. Since the systems based on fuzzy logic are resembled with human decision. In this work, we have proposed a fuzzy based color cast correction algorithm in RGB model that perform an efficient color cast detection and correction in compare to the state of art methods. Firstly, the color cast detection using fuzzy inference system (FIS) is evaluated and thereafter, a new power law transformation is introduced to achieve true color distribution of the image. The uncertainty in the color distribution due to the illumination is removed on the basis of fuzzy Gaussian membership functions and further, improves by using weighing distribution. The color distributions are balanced by defining the fuzzy rule based system. By controlling the weights depending on regional properties, we investigate that a visually better result is obtained. The basic idea is to give larger weights to the pixels in noticeable regions where the color cast is high, so that well captured regions are kept intact and others are changed according to the manipulated regions. The paper is as organized as follow. The existing algorithms for color cast correction are described in Section 2. Section 3 discusses the fuzzy logic and fuzzy rules. Later in Section 4, the proposed algorithm is applied for color correction together with state of the art comparisons and provides significant results. Finally, conclusions drawn from the results obtained are mentioned in Section 5.

Color Cast Correction Algorithm

5In this section, we discussed the estimation of illumination of different color constancy methods are discussed. The limitation of gray world based approach merits and limitations are also discussed.

Estimation of illumination based algorithms

6Image is formed by multiplication of illumination component and reflectance component. To estimate the illuminated component which depends on the illuminant spectral power distribution P(λ) and camera sensitivity c(λ). The image I K (x,y) is given by

7As the integral term involves two unknown terms e(λ) and S(x, y, λ), thus, integral becomes an under constrained problem, that means integral cannot be solved without any further assumptions. Many color constancy methods have been proposed to estimate the illuminant. The grey world algorithm is just based on the grey world assumption, i.e. the average reflectance in a scene is achromatic. Finlayson et al. [16] proposed a more general color constancy algorithm called Shades of grey (SoG), which can include grey world and Max RGB based on the Minkowski-norm. The general estimation approach can be expressed as

8Where, n is the order of spatial derivative, p is the Minkowski norm which measures the relative weights and σ is the parameter for smoothing the image. When n is zero, σ is zero and p=1 then the expression (3) represents the gray world assumptions, otherwise if it has nonzero finite value then expression represents the shades of gray. If p becomes infinite then expression is of a max-RGB.

Gray World Based Assumption Algorithm

9The assumption made in the gray world algorithm is that the given color image has a sufficient amount of color variations. In the present application we have considered Red (R) Green (G) and Blue (B) color model of color space. The mean value of each R, G, and B component of the image should have a common mean intensity of the image. In a real world, this assumption for images may hold true. Color balancing algorithms can also create images to have a uniform gray value for its R, G, and B channel. If the image is captured by a digital camera under a particular lighting condition, the effect of the special lighting cast can be removed by taking the mean value of each channel. As a result, it estimates the color of the image linearly which is much closer to the original scene. In terms of implementation, the mean value R , G and B of red, green and blue channel respectively, of a color image of size M x N, can be calculated as

10Where, i and j denotes the indices of pixel position. The cast arises here is due to non-linear behaviour of the different illumination conditions. This problem cannot completely solve with the gray world assumption. The mean intensity of an image is given by

Proposed Algorithm

11At the time of image acquisition, each camera uses its own RGB space that is converted to a standard RGB space later after achieving color constancy, this shows that the transformation between R/G/B spaces, which requires calibrating the imaging device. Therefore, it will inevitably fail on those images from any unknown camera. The proposed approach first detects the presence of dominance of color in the given image without any preassumptions and then corrects the color cast in the image in the same space. We first detect the color cast of the image depending on the color dominance presence. Most of the algorithms used for finding the cast are depends on constant value as given in equation (3).The constant value based on the assumption. The effect of color cast is uncertain which is perceived by the human eye. The vagueness in perception is increased under varying illumination condition. Here, we reduced the vagueness of perception by using Fuzzy rules. These rules calculate the color cast on the basis of intensity value. Thereafter, remove the color cast in such a way that the true distribution of colors present in the image does not get altered. Further, we applied a correction factor which behaves nonlinearly for obtained the color corrected enhanced image. The correction factors have been formed with the combination of base and the weighting distribution. The weighting distribution is introduced to reduce the effect of color cast. Finally, the color corrected enhanced image is obtained.

Color Cast Detection

12In order to detect the dominant color, first we need to calculate the normalized value of R, G, and B channel from the given input color cast image henceforth referred to as "test image". Then the mean intensity of each color channel R , G and B is calculated. In this work, the fuzzy approach is included for the decision of dominance of color presence. Each color channel is fuzzified by using Gaussian membership function. We use Gaussian membership function as shown in Fig.1 to avoid boundary value and represent vague or linguistic terms. Gaussian membership function is given by:

13Here, c and σ are centre and width of the fuzzy set A and x ∈ A The maximum number of pixels belongs to either higher or lower side of membership function, the Gaussian fuzzy sets where, x ∈{0,1} and standard deviation σare 0.19667. The fuzzy rules of the proposed Mamdani fuzzy inference system are defined in Table 1. Generally, the intensity levels are not well spread with the correction of color cast. The pixel intensity as shown in table1 defines the belonging of the cast. The cast of each pixel evaluates by using membership function. The higher the pixel intensity greater the membership value and vice versa. After evaluation of color cast, we find the mean value of each channel as defined in equation (4), equation (5) and equation (6). Now depending on the region, a proposed base value is defined in Table 2. Accordingly, the color cast of the image is obtained as an output after the defuzzification and aggregation process using the above defined fuzzy rules. The output membership function is shown in Fig. 2. The rules depend on the degree of membership function. The overall cast evaluates the rule under membership function. The higher number of pixels decides the cast of the image. Color Cast Correction-After the finalization of cast type, color cast of image is corrected by applying correction factor α r ,α g and α b on red, green and blue channel respectively are These factors are depending on the base of the channel. This base has the value of color cast obtained in the first operation of proposed approach that is the color cast detection. This color cast effect is corrected by using the equation (10).

14Where, w r , w g , and w b are the color correction factor that reduced the effect of color cast. The power law coefficient is determined by the dominant color detected by fuzzy color correction factor to the weighted factor given in equation (11). Whereas, correction factor is obtained by computing the ratio of the mean value of intensity of color channels present on base depend in the actual image. The value of w 1 , w 2 , and w 3 is chosen as per the type of cast. If the resulted image is Red cast then w r = W and w g =1 and w b =1, image is Green cast then w r =1, w g = W and w b =1.

15Similarly in case of blue cast w r =1, w g =1 and w b = W . This weighing factor W is determined from equation (7). This factor gives mean intensity of the test image. Mathematically the weighing factor is calculated as with wide intensity range. We calculate the correction factor as in the gray world based correction but apply directly on each intensity value non-linearly. Hence the color cast corrected image is obtained.

Proposed Approach

16The algorithm is outlined as follows:-1. Obtain the RGB test image 2. Normalize each channel 3. Obtain the mean value of each channel 4. Determine the cast type by passing the mean value of each channel as argument to the Mamdani fuzzy Inference system designed. Thus, de-fuzzify the image into red cast, green cast and blue cast. 5. Define the base value as per the cast type resulted from step 4 6. Obtain the value of color correction factor for each channel α r α g . nd α b . respectively using equation (9) 7. Finally obtain the corrected value of each channel i.e.

Performance Measures:-

17The two image quality performance measures are considered to evaluate the effectiveness of the proposed approach. These performance measures are comprehensive image quality assessment model and CIELAB metric. Comprehensive Image Quality Assessment Model:-The color quality of the image is measured subjectively as well as objectively. The subjective evaluation is based on the human perception of the image. It may vary from individual to individuals. The objective evaluation is more reliable, consistent and replicable especially when the goal is to compare with the other existing approaches. The comprehensive image quality parameters are proposed in the literature [14].A comprehensive image quality assessment model, called as the best quality assessment function for the color image was established. The quality parameters like luminance, contrast and entropy are quality evaluator and are described below Average Luminance

18The average luminance of an image L is given by:-

19Where, M and N are the number of rows and columns of an image respectively.

Average Information Entropy

20In color images, information entropy evaluates for each channel red, green and blue is given by:-

21where, p(i) is the probability distribution of the pixel information for three bit image. Thereafter, take the average information of three channels ( H ).

22Average Contrast:

23The color contrast can be calculated for each RGB channel are given by,

24Where, ∇R , ∇G and ∇B are the gradient of red, green and blue channel respectively. The total contrast computes by taking the average of these channels. The average color contrast for each channel of an RGB image are given by

25Where, C represents average contrast of the image. The color image quality assessment function defined in [14].

26The higher CAF value gives better image quality. This value is computed by adding the parameters like luminance, entropy, contrast and noise.

27CIELAB Metric: -This metric estimates accuracy of the color reproduction in comparison to the original when analysed by a human observer [15]. This metric is suitable for measuring color difference of large uniform color targets. CIELAB is based on one channel for Luminance (L) and two color channels (a and b). The a-axis starts from green (-a) to red (+a) and the b-axis starts from blue (-b) to yellow (+b). The Luminance (L) starts from the bottom to the top of the three-dimensional model. The ΔE c and ΔE e metric are given by Parameters ΔL c , Δa c and Δb c is the difference in the cast and test image coordinates of L, a, and b of CIELAB color space and ΔL e , Δa e and Δb e are the coordinates L, The 'a' and 'b' of enhanced image in CIELAB color space. ΔE is the Euclidean distance for measuring the difference between colours. Smaller value of ΔE indicates that the enhanced test image is closer to the reference image.

Results and Discussions

28In this section experimental results are presented to prove the effectiveness of the proposed color correction algorithm on the natural images under red, green and blue cast. The proposed approach has been successfully implemented on Intel core i3 at 2.40 GHz using MATLAB version 2014. All images used in experiment are cast using paintshop pro software and evaluate the luminance, entropy, average contrast and CAF values. The color corrected images are shown in Fig. 3 and Fig. 4.The reference image is the original image without any bad illumination effect. The distorted images are obtained by adding color cast to them. The distorted images are corrected by some well-known methods in literature for color correction: max-RGB, Grey World assumption, Grey Edge, Shades of Gray and the proposed corrected approach. The image quality parameters: luminance, entropy, average contrast and CAF value for two different images are summarized in Table-3. The results show a good match with human ground truth with proposed technique. The higher entropy value is obtained as compared with existing methods. An additional performance measure ΔE had been taken in which image distances are calculated using equation (17), equation (18) and are summarized in Table-4. It is observed that the distance is significantly reduced with the proposed approach. The reference two men image is shown in Fig. 3(a). The red, green and blue cast images are shown in Fig.3 (b), (c) and (d) respectively having entropy of 7.6176, 7.7214 and 7.6093 respectively, are efficiently corrected with proposed technique. The images shown in Fig.3 (e), (f) and (g) are the resulted color cast corrected images using proposed technique.

29It is clearly observed that proposed technique removes the color cast correctly and it is confirmed from the metric results obtained that is the entropy value of the corrected images obtained are 7.8592, 7.7614 and 7.8828 respectively. The overall contrast values of the test images are 14.3537, 12.2340 and 10.5967.And these values are significantly enhanced in the corrected images to 22.8940, 18.8837 and 23.6610 respectively. The color of the over coat in two men image under different cast are appear slightly black but after applying the proposed method the color of over coat becomes truly black as it appears in the reference image. The same result can be inferred by employing the proposed technique over the color Color checker image. Images resulted after processing through the proposed technique are shown in Fig. 4

Conclusions

30In this paper, the Fuzzy based approach is used for detecting and removing all types of color cast. This algorithm detects the actual cast on the image in an effective manner without assuming it like Reddish, Greenish and Bluish. The uncertainty in the cast further removed completely by using the fuzzy logic. Thus, we recover true color distribution of the image and develop algorithm which is robust under different lighting conditions. As a result, the image obtained with high entropy, luminance and contrast. In addition to that the image obtained with high intensity value. The effectiveness of the proposed algorithm is shown by measuring the quality assessment function and CIELAB metric. These performance measures are compared with the existing color cast algorithm. The maximum value of the function is achieved by using proposed approach which shows a better quality of the image. It was inferred from the decrement nature of distance measured through CIELAB metric that the resulted image approaches towards the reference image.

참고문헌 12건

  1. Edge-Based Color Constancy IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2007 10.1109/tip.2007.901808
  2. High dynamic range optimal fuzzy color image enhancement using Artificial Ant Colony System Applied Soft Computing · Elsevier BV · 2011 10.1016/j.asoc.2011.08.033
  3. Color Image Quality Assessment Based on Image Quality Parameters Perceived by Human Vision System 2010 10.1109/icmult.2010.5630949
  4. The Retinex Theory of Color Vision Scientific American · Springer Nature · 1977 10.1038/scientificamerican1277-108
  5. Automatic selection of color constancy algorithms for dark image enhancement by fuzzy rule-based reasoning Applied Soft Computing · Elsevier BV · 2014 10.1016/j.asoc.2014.11.034
  6. A spatial extension of CIELAB for digital color‐image reproduction Journal of the Society for Information Display · Wiley · 1997 10.1889/1.1985127
  7. Color constancy: a method for recovering surface spectral reflectance Journal of the Optical Society of America A · Optica Publishing Group · 1986 10.1364/josaa.3.000029
  8. A new algorithm for unsupervised global and local color correction Pattern Recognition Letters · Elsevier BV · 2003 10.1016/s0167-8655(02)00323-9
  9. Lightness and Retinex Theory Journal of the Optical Society of America · Optica Publishing Group · 1971 10.1364/josa.61.000001
  10. The Rehabilitation of MaxRGB Color Imaging Conference · 2010
  11. Color constancy: a method for recovering surface spectral reflectance Elsevier eBooks · Elsevier BV · 1987 10.1016/b978-0-08-051581-6.50034-9
  12. An optimal underwater image enhancement based on fuzzy gray world algorithm and Bacterial Foraging algorithm 2015 10.1109/ncvpripg.2015.7490004