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

Correction of Color Cast Images using Histogram Equalization of Local Area

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

기본 정보

저자
  1. Makoto Misumi — Fukuoka University, Japan
  2. Hideaki Orii — Fukuoka University, Japan
  3. Tanjina Sharmin — Fukuoka University, Japan
  4. Kenji Mishima — Fukuoka University, Japan
DOI
10.12792/icisip2016.092
저널
–
발행년도
2016
발행기관
–
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.12792/icisip2016.092
토픽
Color Science and Applications
OpenAlex ID
W2587422540

평가 내용

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

초록

Recently, exposure correction and white balance correction of the image is in implemented in a digital camera. However, not been able to sufficiently corrected for the correction of the local Color Cast etc. sunset causes. Therefore, in this paper, to photograph partially Color Cast occurs, to determine the partial Color Cast region using the flood fill algorithm in the HSV color space. And, it was corrected. Partial Color Cast by Histogram Equalization. Thus, to achieve a partial Color Cast correction.

본문 12,380자

본문 펼치기
<u>Proceedings of the 4th IIAE International Conference on Intelligent Systems and Image Processing 2016</u> # Correction of Color Cast Images using Histogram Equalization of Local Area Makoto MISUMI <sup>a,*</sup>, Hideaki ORII <sup>a</sup>, Tanjina SHARMIN <sup>a</sup>, Kenji MISHIMA <sup>a</sup> a Faculty of Engineering, Fukuoka University, 8-19-1 Nanakuma, Jonan-ku, Fukuoka 814-0180, JAPAN *Corresponding Author: mmisumi@fukuoka-u.ac.jp Abstract Taking a picture is very popular because of the spread of mobile phones. When the photo was taken in the morning or evening, the star couldn’t be visible by the gradation of brightness. In such images, it is difficult to recognize the stars by the image processing because of they have the star in bright area and dark area. In this paper, we propose a method to improve the visibility of the stars using histogram equalization of local area of such images. In the experiment, it was confirmed to improve the visibility by applying the proposed method to the image having the light gradation. Keywords : Color Cast, Histogram Equalization, Local Area. 1. Introduction Taking a picture is very popular because of the spread of device having a digital camera features such as a mobile phone. Recent digital cameras have functions of exposure adjustment and a white balance correction [1-5]. However, exposure adjustment and white balance correction for the sunrise and sunset photos is difficult because of these photos have the brightness of the gradient. Such as sunset and sunrise photograph, an image affected by the particular color tint is called the color cast images. The Fig.1(a) is an image of star with a color cast. The Fig.1(b) is an image that has been color cast correction the entire area of the Fig.1(a). As shown in the image Fig.1(b), the lower portion of the image has become white. Whitish area is similar to the brightness of the background color and stars. When the brightness of the star and the background color is similar it is difficult to find stars by image processing. Whitish area occurs when the color cast correction to the entire image with the brightness DOI: 10.12792/icisip2016.092 513 (a) Color cast image (b) Corrected image (entire area) Fig. 1. Color cast correction of the gradient. For the above reasons, when detection of star is objective, the use of correction of color cast image of entire area are not suitable. In this study, we propose the method to apply the color cast correction for the local area that is similar in brightness value. In the proposed method, the local region is determined by the floodfill algorithm, then color cast of the local area is corrected by the use of histogram equalization. © 2016 The Institute of Industrial Applications Engineers, Japan. Fig. 2. Flow chart of correction of color cast in local area. 2. Proposed Method A flow chart of correction of color cast in local area for a color photo is shown in Fig.2. We applied histogram equalization for the fog color and the flood fill algorithm in the HSV color space to correction of color cast in local area. In Section 2.1, we describe Histogram Equalization to be used for correction of the fog color. In section 2.2, we describe the conversion of a color space for the detection of the local area. 2.1 Histogram Equalization Histogram equalization [6-10] is a technique for adjusting image intensities to enhance contrast. _f_ is represented as �� by �� matrix of integer pixel intensity from 0 to ��1, and that the specified image. _L_ is, the number of possible intensity values, is 256 in many cases. _p_ shall indicate a normalized histogram of _f_ at the bin for each possible intensity. So �� it will be represented by the following equation. �� - <sup><u>number of pixels with intensity �</u></sup> total number of pixels (1) ���0,1, …, ��1) The histogram equalized image _g_ will be defined by following equation, where floor() rounds down to the nearest integer. ��,� ��,� �floor����1����� (2) ��� This is equivalent to transforming the pixel intensities, _k_ of _f_ by the function _T(k)_ . 514 �����floor����1����� (3) ��� The motivation for this transformation comes from thinking of the intensities of f and _g_ as continuous random variables _X, Y_ on _[0, L − 1]_ with Y defined Equation 4, where �� is the probability density function of _f_ . ����������1���� ����� (4) _T_ is the cumulative distributive function of _X_ multiplied by _(L − 1)_ . Assume for simplicity that _T_ is differentiable and invertible. It can then be shown that _Y_ defined by _T(X)_ is uniformly distributed on _[0, L − 1],_ namely that ������ <u>�</u> ��� <sup>~~.~~</sup> ��� ����������������� ���� 0 ���� ������������ ���� 0 ���� <sup>��</sup> ��� - <sup>��</sup> ��� - - �� ����� (5) �� <sup>����</sup> ����������������� <sup>��</sup> ���� <sup>�</sup> <sup>����</sup> �� <sup>��������</sup> Our discrete histogram is an approximation of ����� and the transformation in Equation 2 approximates the one in Equation 4. While the discrete version won’t result in exactly flat histograms, it will flatten them and in doing so enhance the contrast in the image. The above describes the histogram equalization of the gray scale image. However, it can also be used on color images by applying the same method separately to the Red, Green and Blue components of the RGB color values of the image. Fig.3(b) is the result of the histogram equalizing the Fig.3(a). Fig.3(c) is a histogram of Fig.3(a), Fig.3(d) is a histogram of Fig.3(c). When the Fig.2(b) histogram of level correction become histogram of Fig.3(d). The maximum value of the concentration of Fig.3 (c) is placed in 255 of the horizontal axis in Fig.3(d). In Fig.3(d), the histogram is stretched than the original image, a gap is generated between the histogram so intensity levels are rearranged. 2.2 Conversion of coordinates Converted as a method of extracting a predetermined 500 0 500 0 500 0 (a) Color cast image 0 25 50 75 100 125 150 175 200 225 250 0 25 50 75 100 125 150 175 200 225 250 0 25 50 75 100 125 150 175 200 225 250 Intensity (c) Histogram of Color cast image. 500 0 500 0 500 0 (b) Corrected image. 0 25 50 75 100 125 150 175 200 225 250 0 25 50 75 100 125 150 175 200 225 250 0 25 50 75 100 125 150 175 200 225 250 Intensity (d) Histogram of Corrected image Fig. 3. Histogram Equalization range from the image of the RGB coordinates is a color information in an HSV coordinates, specifying the local range within the range of the predetermined threshold. RGB coordinates is Red, Green, is a coordinates that has been composed of three color components of the Blue. Meanwhile, HSV coordinates, the hue (Hue), saturation (Saturation · Chroma), which is a coordinates composed of three components lightness (Value · Lightness · Brightness). For RGB coordinates that consists of three color components of red, green and blue, it will generally have lower intensity values in a dark area, the higher the value the overall strength in a bright area. Across the bright and dark area in the RGB coordinates, to the detection of the same color must be set the value that contains the unwanted color gamut as a threshold value. As a result, it would also detect areas with unwanted color gamut. Meanwhile, HSV coordinates, the hue (Hue), saturation (Saturation · Chroma), which is a coordinates composed of three components lightness (Value · Lightness · Brightness). The color information in the HSV coordinates is managed by a single Hue, be different brightness becomes possible to point to a specific color gamut. 3. Experimental Results and discussion In Section 3.1 shows the result of applying the histogram equalization in the local area. In Section 3.2 shows the performance of improving visibility of the stars of the proposed method. 515 (a) Selected area (b) Corrected image (local area) Fig. 4. Color cast correction of the local area 3.1 Color cast correction of the local area A color cast at the bottom of the image has been corrected by the proposed method for the image that as shown in Fig. 1(a). The area was selected by the proposed method is shown in Fig. 4(a). Shows the results of color correction by histogram equalization for the selected local area to Fig.4(b). The bottom left area of Fig.4(b) is different from the brightness of the background and stars. Consequently, visibility of the stars at the bottom left area of Fig.4(b) is higher than that of Fig.1(a) and Fig.1(b). 3.2 Comparison of the visibility of the stars In the original images (Fig. 5(a), (d), (g), (j)) and the local area histogram equalization images (Fig. 5(b), (e), (h), (k)) and the entire histogram equalization images (Fig. 5(c), (f), (i), (l)), we compared the visibility of the stars. Fig.5 is an image set of the extracted 600 * 600 pixels from the image of 6000 * 4000 pixels. Table 1 is a result of manually <u>Table 1. The number of visually recognized stars</u> counting the number of visible Stars of each image of Fig. 5. Table 1 shows that the visibility of the local area histogram equalization image is the best. When the histogram equalization of entire area, the entire image becomes brighter. Then, close the brightness of the night sky and stars as the background color. Therefore, improvement in the visibility of the histogram equalization of entire area is limited. 4. Conclusions We have proposed a method to improve the visibility of the stars in the image with a brightness gradient. A local area of the image selected using threshold of the HSV coordinates by user. We have improved the visibility of the stars using the histogram equalization of local area. In the experiment, it was confirmed to improve the visibility by applying the proposed method to the image having the light gradation. Although the proposed method was able to correct the selected local region, false contour occurs in the boundary of the correction area and the non-correction area. The proposed method, because the human intervention in the selection of the threshold and the local area is required, those of automation is the future. Histogram Equalized Image (Local Area) Original Image Histogram Equalized Image (Entire Area) Image 1 0 1 6 Image 2 2 10 14 Image 3 0 1 4 Image 4 0 3 5 516 Fig. 5. Starry sky images 517 Acknowledgment This research was partially supported by a Grant-in-Aid for Scientific Research (Grant Nos. 26420770 and 23560913). The authors gratefully acknowledge the Japan Food Chemical Research Foundation (2016). <u>References</u> (1) K. Barnard, V. Cardei, and B. Funt, “A comparison of computational color constancy algorithms - part I: methodology and experiment with synthesized data,” IEEE Trans. on Image Processing, vol. 11, pp. 985-996, Sept. 2002. (2) K. Barnard, V. Cardei, and B. Funt, “A comparison of computational color constancy algorithms - part II: experiments with image data, ”IEEE Trans. on Image Processing, vol. 11, pp. 985-996, Sept. 2002. (3) K. Barnard, Practical color constancy, PhD thesis, Simon Fraser University, School of Computing, 1999. (4) G.D. Finlayson, S.D. Hordley, and P.M. Hubel, “Color by correlation: a simple, unifying framework for color constancy,” IEEE Trans. On Pattern Analysis and Machine Intelligence, vol. 23, pp. 1209-1221, Nov. 2001. (5) R.C. Gonzales, and R.E. Woods, Digital Image Processing, Addison Wesley, Reading, MA, 1992. (6) Y. T. Kim, “Contrast Enhancement Using Brightness Preserving Bi-Histogram Equation”, IEEE Transactions on Consumer Electronics, vol. 43, no. 1, February 1997, pp. 1-8. (7) R. C. Gonzalez and R. E. Woods, “Digital Image Processing”, 2nd edition, MA. Addison-Wesley, 1992, pp. 85-103. (8) J. Zimmerman, S. Pizer, E. Staab, E. Perry, W. McCartney and B. Brenton, “Evaluation of the effectiveness of adaptive histogram equalization for contrast enhancement”, IEEE Transaction on Medical Imaging, 1988, pp. 304-312. (9) T. K. Kim, J. K. Paik and B. S. Kang, “Contrast enhancement system using spatially adaptive histogram equalization with temporal filtering”, IEEE Transaction on Consumer Electronics, vol. 44, no. 1, 1998, pp. 8286. (10) R. C. Gonzalez and P. Wints, “Digital Image Processing”, 2nd edition, Ed., Massachusetts: AddisonWesley Publishing Co., Reading, 1987. 518

섹션 본문

섹션 본문이 없습니다.

참고문헌 8건

  1. A comparison of computational color constancy algorithms. I: Methodology and experiments with synthesized data IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2002 10.1109/tip.2002.802531
  2. Contrast enhancement system using spatially adaptive histogram equalization with temporal filtering IEEE Transactions on Consumer Electronics · Institute of Electrical and Electronics Engineers · 1998 10.1109/30.663733
  3. A comparison of computational color constancy Algorithms. II. Experiments with image data IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2002 10.1109/tip.2002.802529
  4. An evaluation of the effectiveness of adaptive histogram equalization for contrast enhancement IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 1988 10.1109/42.14513
  5. Color by correlation: a simple, unifying framework for color constancy IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2001 10.1109/34.969113
  6. Digital Image Processing Springer eBooks · Springer Nature · 1991 10.1007/978-3-662-12914-2_12
  7. Digital Image Processing Leonardo · The MIT Press · 1981 10.2307/1574313
  8. Deleted Work 1955