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

A NEW COLOR CORRECTION METHOD FOR UNDERWATER IMAGING

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Gianfranco Bianco — DIMEG, University of Calabria, 87036 Rende (CS), Italy
  2. Maurizio Muzzupappa — DIMEG, University of Calabria, 87036 Rende (CS), Italy
  3. Fabio Bruno — DIMEG, University of Calabria, 87036 Rende (CS), Italy
  4. Rafael García — Computer Vision and Robotics Group, University of Girona, 17001, Spain
  5. László Neumann — ICREA, Barcelona, Spain|||Computer Vision and Robotics Group, University of Girona, 17001, Spain
DOI
10.5194/isprsarchives-xl-5-w5-25-2015
저널
˜The œinternational archives of the photogrammetry, remote sensing and spatial information sciences/International archives of the photogrammetry, remote sensing and spatial information sciences
발행년도
2015
발행기관
Copernicus Publications
피인용수
77
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5194/isprsarchives-xl-5-w5-25-2015
토픽
Color Science and Applications
OpenAlex ID
W2014106677

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
LLM(gemma-4-26b-a4b-it) 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract. Recovering correct or at least realistic colors of underwater scenes is a very challenging issue for imaging techniques, since illumination conditions in a refractive and turbid medium as the sea are seriously altered. The need to correct colors of underwater images or videos is an important task required in all image-based applications like 3D imaging, navigation, documentation, etc. Many imaging enhancement methods have been proposed in literature for these purposes. The advantage of these methods is that they do not require the knowledge of the medium physical parameters while some image adjustments can be performed manually (as histogram stretching) or automatically by algorithms based on some criteria as suggested from computational color constancy methods. One of the most popular criterion is based on gray-world hypothesis, which assumes that the average of the captured image should be gray. An interesting application of this assumption is performed in the Ruderman opponent color space lαβ, used in a previous work for hue correction of images captured under colored light sources, which allows to separate the luminance component of the scene from its chromatic components. In this work, we present the first proposal for color correction of underwater images by using lαβ color space. In particular, the chromatic components are changed moving their distributions around the white point (white balancing) and histogram cutoff and stretching of the luminance component is performed to improve image contrast. The experimental results demonstrate the effectiveness of this method under gray-world assumption and supposing uniform illumination of the scene. Moreover, due to its low computational cost it is suitable for real-time implementation.

본문 45,588자

본문 펼치기
Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy A NEW COLOR CORRECTION METHOD FOR UNDERWATER IMAGING G. Bianco <sup>a</sup> <sup>_∗_</sup>, M. Muzzupappa <sup>a</sup>, F. Bruno <sup>a</sup>, R. Garcia <sup>b</sup>, L. Neumann <sup>b,c</sup> a DIMEG, University of Calabria, 87036 Rende (CS), Italy - (gianfranco.bianco, muzzupappa, f.bruno)@unical.it b Computer Vision and Robotics Group, University of Girona, 17001, Spain - rafael.garcia@udg.edu c ICREA, Barcelona, Spain - lneumann@silver.udg.edu Commission V KEY WORDS: Underwater Imaging, Color Correction, Ruderman space, Computational Color Constancy ABSTRACT: Recovering correct or at least realistic colors of underwater scenes is a very challenging issue for imaging techniques, since illumination conditions in a refractive and turbid medium as the sea are seriously altered. The need to correct colors of underwater images or videos is an important task required in all image-based applications like 3D imaging, navigation, documentation, etc. Many imaging enhancement methods have been proposed in literature for these purposes. The advantage of these methods is that they do not require the knowledge of the medium physical parameters while some image adjustments can be performed manually (as histogram stretching) or automatically by algorithms based on some criteria as suggested from computational color constancy methods. One of the most popular criterion is based on gray-world hypothesis, which assumes that the average of the captured image should be gray. An interesting application of this assumption is performed in the Ruderman opponent color space _lαβ_, used in a previous work for hue correction of images captured under colored light sources, which allows to separate the luminance component of the scene from its chromatic components. In this work, we present the first proposal for color correction of underwater images by using _lαβ_ color space. In particular, the chromatic components are changed moving their distributions around the white point (white balancing) and histogram cutoff and stretching of the luminance component is performed to improve image contrast. The experimental results demonstrate the effectiveness of this method under gray-world assumption and supposing uniform illumination of the scene. Moreover, due to its low computational cost it is suitable for real-time implementation. 1. INTRODUCTION Recovering correct or at least realistic colors of underwater scenes is a very challenging issue for the imaging techniques since illumination conditions in a refractive and turbid medium as the sea are seriously altered. Progressive attenuation with the depth of the visible spectrum at the different wavelengths, scattering and absorption of the incoming radiation from the ambient can cause relevant modifications of image colors (Schettini and Corchs, 2010). The need to correct colors of underwater images or videos is an important task required in all image-based applications like 3D imaging, navigation, image segmentation, documentation, etc. For dissemination purposes, it would be desirable to show 3D models of archaeological sites as represented on the land, or to improve the vision during underwater exploration and navigation, for example (Mahiddine et al., 2012; Gallo et al., 2012). The use of imaging devices with special optical filters or polarizers in front of the lens (Schechner and Averbuch, 2007) can attenuate part of the incoming radiation and often alter the real colors of the scene to be acquired. Moreover, the use of artificial light sources can introduce more non-uniformities in the lighting of the scene (Garcia et al., 2002). Many imaging techniques have been proposed in the literature for this task (Schettini and Corchs, 2010), based on a physical model of the image formation process (image restoration techniques) or qualitative, subjective criteria to produce a more realistic image (image enhancement methods). In the first case the knowledge of the medium physical parameters is required while in the other case some image adjustments can be performed manually (as histogram stretching) or based on some criteria as suggested from computational color constancy methods (Gijsenij et al., 2011). One of the most popular criteria is based on the gray-world hy _∗_ Corresponding author pothesis, which assumes that the average of the captured image should be gray (Buchsbaum, 1980). This assumption allows to implement automatic methods which achieve good results. In (Reinhard et al., 2001) an interesting application of this assumption has been presented, by performing hue correction of images captured under colored light sources in the Ruderman opponent color space _lαβ_ (Ruderman et al., 1998). This color space, proposed to study the human eye perception of natural images, is composed of a luminance component _l_ (achromatic) and two opponent color components _α_ and _β_, which encode yellow-blue and red-green chromaticities, as used for color discrimination in the human color visual mechanism. Until now, _lαβ_ space has been only used for color transfer applications (Reinhard et al., 2001), therefore, its ability to correct images taken under colored lighting is not yet deeply investigated, especially in underwater imaging. In this work we present the first proposal for color correction of underwater images by using the _lαβ_ color space. In particular, the chromatic components are changed moving their distributions around the white point (white balancing) and histogram cutoff and stretching of the luminance component is performed to improve image contrast. Our main goal is to demonstrate the effectiveness of the color correction in this space for underwater scenes. Thus the improvement of image contrast and noise reduction are not investigated since we retain that such techniques are widely studied and proposed in literature, however they can be applied independently. The experimental results, presented below in this paper, demonstrate the effectiveness of this method under the hypothesis of gray world and uniform illumination of the scene. These assumptions are acceptable in many real cases for close-range acquisition in downward direction, like seafloor mapping, or capturing objects in the foreground (underwater photography) or less-complicated scenes where there are not strong light Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy variations. As example of a possible application, we have processed an image set of an underwater finding with our method in order to obtain the 3D reconstruction by using a structure-frommotion technique. The proposed method requires just a single image and does not need any particular filters or prior knowledge of the scene. Moreover, due to its low computational cost it is suitable for real-time implementation. The remaining of paper is organized as follow: in section 2 the main image enhancement methods for underwater imaging are summarized. To follow, the color alteration problem in underwater environments is described in section 3 and a few details as background are presented in section 4. The color correction method is proposed in section 5 and the experimental results are reported in section 6. Finally, conclusions and future works are discussed in section 7. 2. RELATED WORK In this section the most important works about color correction of underwater images are presented. We focus on color correction strategies and methods used in the image enhancement techniques, which work on a single image without any knowledge about physical parameters or medium properties (image restoration methods). Essentially the different methods are composed by two steps: contrast enhancement and color correction, performed separately on RGB space or another one. From the analysis of the State of the Art, it is apparent that do not exist calibrated datasets of underwater images in order to compare and evaluate quantitatively the different methods from the point of view of computational color constancy (Gijsenij et al., 2011). In fact, it is difficult to obtain the ground truth, that is, a reference image taken with standard illumination to compare the results. Hence, the performance is evaluated qualitatively by visual inspection. For a more comprehensive and exhaustive treatise of the methods applied to improve quality of underwater images we suggest to refer to (Schettini and Corchs, 2010). A histogram equalization method in RGB space is presented in (Shamsuddin et al., 2012). Color correction is carried out through both auto level adjustment and manual adjustment techniques. Hence, the authors found that the manual enhanced technique (done iteratively) is more precise as compared to the auto enhanced technique due to the levels of significance of 1% and 5%. The images reported in the paper were taken in the shallow water (at depth from 1 m to 5 m) in a coastal area of Malaysia. Iqbal et al. (2007) proposed an approach based on slide stretching. Firstly, contrast stretching of RGB algorithm to equalize the color contrast in the images is used. Secondly, the saturation and intensity stretching of HSV (Hue, Saturation, Value) is applied in order to increase the true colors and solve the lighting problem. The advantage of applying two stretching models is that it helps to equalize the color contrast in the images and also addresses the problem of lighting. The results are illustrated with images of fishes and marine flora captured in the foreground. The HSV color space has been also used more recently in a twostage method (Ghani et al., 2014), for enhancing of coral images. First, the contrast correction technique is applied to the image with a modified Von Kries hypothesis and stretching it into two different intensity images at the average value with respect to Rayleigh distribution. At the second stage, color correction is performed in the HSV color model by stretching Saturation and Value (brightness) components. The stretching processes are applied to the histograms of both Saturation and Value at 1% to 99%, respectively. Bazeille et al. (2006) proposed an automatic algorithm to pre process underwater images. It involves several successive independent processing steps which correct non-uniform illumination, suppress noise, enhance contrast and adjust colors. In particular, color correction is achieved by equalizing the mean of each color-channel. A linear translation of the histogram (for each RGB channel) is performed by adding to each pixel the difference between the desired mean value and the mean of the channel. Images taken under different conditions are showed and elaborated. A different type of equalization is proposed in (Chambah et al., 2003), by using Automatic Color Equalization (ACE), for automatic live fish recognition. This method merges two computational color constancy principles: gray world and retinex white patch. Lightness constancy makes stably perceive the scene regardless changes in mean luminance intensity and color constancy makes stably perceive the scene regardless changes in color of the illuminant. ACE is able to adapt to widely varying lighting conditions. An approach based on the fusion principle has been presented by Ancuti et al. (2012) for enhancement of images and videos acquired in different lighting conditions. Two inputs are represented by color corrected and contrast enhanced versions of the original underwater image and also four weight maps that aim to increase the visibility. Color correction is performed by a white balancing process able to remove the color casts but also to recover the white and gray shades of the image, based on the grayworld assumption. In particular, the authors propose to increase the average value estimated with a percentage _λ ∈_ [0 _,_ 0 _._ 5]. A very different approach has been used by Petit et al. (2009), which propose a method based on light attenuation inversion after processing a color space contraction using quaternions. Applied to the white, the attenuation gives a hue vector characterizing the water color. Using this reference axis, geometrical transformations into the color space are computed with quaternions. Pixels of water areas of processed images are moved to gray or colors with a low saturation whereas the objects remain fully colored. Thus, the contrast of the observed scene is significantly improved and the difference between the background and the rest of the image is increased. Moreover, Principal Component Analysis (PCA) calculation allows to extract a dominant color of the image, hence, in most cases, the water color provides also good results in term of color enhancement by using the method described above. The results are showed on images with a large presence of a water area. In (Gouinaud et al., 2011) the authors introduce a Color Logarithmic Image Processing (CoLIP) framework. This novel framework expands the logarithmic image processing theory to color images in the context of the human color visual perception. The color correction performs a CoLIP subtraction of the color in the image that should be white to the eye under daylight illumination, that is, a pixel of the image that is recognized as white under standard illumination. From the LMS space expressed following the LIP approach, a three-component function is defined (color tone function). Its first component is the achromatic tone function, and the last components are the two chromatic antagonist tone functions. This method has been successfully evaluated on both underwater images (blue illuminant) and indoor reflected light images (yellow illuminant). Color recovery is also analysed by Torres-Mendez and Dudek (2005) but from a different perspective: it is formulated as an energy minimization problem using learned constraints. An image is modeled as a sample function of Markov Random Field and the color correction is considered as a task of assigning a color value to each pixel of the input image that best describes its surrounding structure using the training image patches. Training images are small patches of regions of interest that capture the maximum of the intensity variations from the image to be restored. The im Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy ages proposed as result regard fishes in foreground or scene in shallow water. To evaluate the performance of the algorithm the authors use a dataset (available on a website) of underwater images taken with a professional camera and in most of the cases they were also enhanced by using a commercial software. They consider these dataset images as ground truth and apply an attenuation filter to obtain a color depleted image. As metric the mean absolute residual error in CIELab space is computed between the ground truth and the color corrected images. Also dehazing techniques have been applied in underwater imaging. Chiang and Chen (2012) propose a novel dehazing algorithm for wavelength compensation and image dehazing in order to remove distortions caused by light scattering and color change, respectively. Energy compensation for each color channel is carried out after water depth estimation to adjust the bluish tone to a natural color. The algorithm performance is evaluated by utilizing ground-truth color patches and video available on internet. In particular, a board with six color patches is captured in the close range before diving (ground truth) and at a depth of 5 and 15 m, and as measurement of the error the authors report the SNR (Signal-to-Noise) ratio. In (Carlevaris-Bianco et al., 2010) a dehazing algorithm for removing the effects of light scattering in underwater images is presented. The underwater model takes into account the absorption as function of both scene depth and wavelength, which attenuating the red color channel much more severely than blue or green. Color correction is provided for the reduction in the red channel caused by absorption. Moreover the estimation of the airlight (blue in water) includes the effects of absorption on the airlight. Therefore, when the additive airlight has removed, the color balance of the imagery is improved, without having to additionally account for absorption effects. In order to test the color accuracy, multiple images of a color wheel target are collected at varying distances between 3 and 6 m from the camera in a fresh water test tank. Then, an image of the color wheel taken in air is used as the ground truth. 3. UNDERWATER COLOR ALTERATIONS The sunlight that penetrates from the air-water interface into the water is altered from several causes. Firstly, the visible spectrum is modified with the depth because of the radiation absorption at the different wavelengths, in particular, the radiations with lower frequency are more absorbed. Thus, the red components disappear already within about 5 m (shallow waters), the orange at 7.5 m, the yellow in the range of 10-14 m, and the green at about 21 m. A schematic representation of this color loss is illustrated in Figure 1. It is evident that more depth increases, more the lower temperature colors disappear, producing greenish-blue scenes. It needs also to take into account the scattering (backward and forward) and absorption effects due to the particles dissolved and suspended in the medium, like salt, clay and micro-organisms. The greater the dissolved and suspended matter, the greener (or browner) the water becomes. These particles not only alter the colors but also attenuate and diffuse more the light with consequent decreasing of contrast and increasing of blur and noise in the captured images. Let us remember that when we capture horizontally an underwater image, we have to consider as the light path the horizontal distance from the target (working distance) and the depth which we are, hence, the radiation suffers twice the absorption. As depicted in Figure 1 light intensity that penetrates into the water already decays of 50% at 10 m. Moreover, under water the color light depends on other factors as the coastal proximity, the season, the water surface conditions, the time of the day, the cloudiness of the sky, the presence of marine vegetation or the soil type. For the reasons listed above, it is clear that underwater environments offer a non-constant and multi-variate typology of light conditions. Since many of the aforementioned factors are constantly changing, we cannot really know all the color variations in water. Figure 1: Schematic representation of underwater lighting conditions that can cause color alterations. 4. BACKGROUND Before to describe the proposed color correction method, we provide some details about color constancy, white balancing, image formation model and gray world assumption. The _lαβ_ color space is also introduced. 4.1 Formulation of the color correction problem Recognizing correct casts of objects in a scene illuminated by a colored light source is a capability of the human visual system, called _color_ _constancy_ (Ebner, 2007). In fact, the human visual system can perceive the true colors of objects even if not illuminated by a neutral light source, i.e. white. For example, a white object illuminated with a high temperature light source becomes bluish, but the human observer will still recognize it as white. On the other hand, for digital systems as imaging devices, it is necessary to adjust color casts after acquisition, in order to recover the correct colors, because sensors measure the incoming light from the objects, and they are not able to distinguish between the color of the illuminant and the reflectance of the objects. In digital photography, the process (automatic or manual) to remove unrealistic color casts is called _white balancing_, which allows to obtain a balanced color distribution around a _white point_ taken as reference. Digital cameras are able to balance color images under a wide variety of illumination conditions (i.e. neon light, sun light, cloudy sky) by internal processes but these settings often fall in underwater environments. For a more accurate correction a calibration chart or a color checker can be placed and captured in the scene. Then in post-processing the images are corrected. The use of these calibrated charts underwater is not suitable and practical for applications like mapping and navigation, in which a large amount of data is collected. In this work we tackle the color correction problem of underwater images from the point of view of computational color constancy, which aims to perform a color correction that closely mimics the performance of the visual system. We suppose that the scene is illuminated by a colored light source uniformly. This means that the light intensity is approximately constant over whole image. Moreover we not consider degradation effects which cause noise and blur in the image due to scattering and we suppose Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy that the object surfaces are Lambertian, that means the surface reflects the light equally in all directions. These assumptions can be considered too restrictive, but allow to use a simply image formation model, and however, they are acceptable in many real cases for close-range acquisition in downward direction, like seafloor mapping, or capturing objects in the foreground or lesscomplicated scenes where there are not strong light variations. Thus, we can formulate the problem in a simplified manner following the computational color constancy approach. In the image formation model (Gonzales and Woods, 1992), as represented in Figure 2, we can consider an underwater image _fi_ ( _m, n_ ) expressed by: _fi_ ( _m, n_ ) = _gi_ ( _m, n_ ) _· ri_ ( _m, n_ ) (1) where _gi_ ( _m, n_ ) = illuminant _ri_ ( _m, n_ ) = reflectance ( _m, n_ ) = image coordinates with _i_ _∈{_ 1 _,_ 2 _,_ 3 _}_ we indicate the three color components of image, corresponding in RGB space to _{R, G, B}_ channels. Correcting the color casts of an image means computing the illuminant _gi_ and removing its chromatic components from _fi_ . In order to compute the color of illuminant further assumptions are needed and for this purpose several computational color constancy methods have been proposed in literature (Gijsenij et al., 2011). In the next section we describe the formulation of the gray-world assumption used in our method. Figure 2: Underwater reflectance model. 4.2 The gray-world assumption The gray-world assumption is a well-known approach, proposed by Buchsbaum (Buchsbaum, 1980). In its simplest version it assumes that the information in the average of each channel of the image is the representative gray level. In other words, the average of the captured image should be gray (achromatic). Following the image formation model described above in Eq. 1 and taking into account that the illuminant _gi_ can be approximate (Ebner, 2007) by the average of image _fi_, the gray world assumption can be formulated as: _f i_ ( _m, n_ ) _fi_ _∗_ ( _m, n_ ) = <sup>_<u>f</u>_</sup> _gii_ ( <sup><u>(</u></sup> _m, n_ <sup>_<u>m, n</u>_</sup> ) <sup><u>)</u></sup> <sup>_<u>f</u>_</sup> _gii_ ( <sup><u>(</u></sup> _m, n_ <sup>_<u>m, n</u>_</sup> ) <sup><u>)</u></sup> <sup>_≈_</sup> _f_ <sup>_<u>f</u>_</sup> _i_ <sup>_<u>i</u>_</sup> <sup><u>(</u></sup> ( <sup>_<u>m, n</u>_</sup> _m, n_ <sup><u>)</u></sup> ) reason we have chosen to adopt a perceptual color space as we described below. The _lαβ_ color space has been proposed by Ruderman et al. (1998) studying the human eye perception of natural images. It is composed of a luminance component _l_ (achromatic) and two opponent color components _α_ and _β_, as in the human color visual mechanism. Until now this color space has been only used for color transfer applications. In particular, Reynard et al. (2001) have showed that it can be used for hue correction, presenting the results obtained to correct an image with uniform illumination, under red, tungsten, and blue illuminants. Therefore color correction by using this color space is not yet deeply investigated, especially in underwater imaging. Here, we describe _lαβ_ space following the transformations matrices suggested in (Reynard et al., 2001), that we have reported in Appendix for the reader’s convenience. The several steps to convert RGB coordinates in _lαβ_ space are reported in the flow-chart of Figure 3. First of all, RGB image has to be corrected by the non linearity (gamma correction), to work with linear RGB coordinates. This step is very important and necessary to pass to the next: conversion in the XYZ tristimulus values. This conversion is achieved by multiplying the linear RGB coordinates _fi_ ( _m, n_ ) with _Txyz,ij_ matrix, where the _i_ and _j_ are the matrix indeces in according to the Einstein notation: _xj_ ( _m, n_ ) = _Txyz,ij fi_ ( _m, n_ ) (3) where _xj_ is the vector of coordinates in XYZ space and ( _m, n_ ) are the pixel coordinates. From this device-independent XYZ space, we convert the image to LMS space ( _lj_ ( _m, n_ ) vector) using the _Tlms,ij_ matrix: _lj_ ( _m, n_ ) = _Tlms,ij xi_ ( _m, n_ ) (4) Now, we transform the data in logarithmic space: _llog,j_ ( _m, n_ ) = log _li_ ( _m, n_ ) (5) and finally we can proceed to decorrelate these axes as suggested by Ruderman et al. (1998), by using Principal Components Analysis (PCA), that means multiply _llog,j_ ( _m, n_ ) vector by the decorrelation matrix _Tpca,ij_ : _llαβ,j_ ( _m, n_ ) = _Tpca,ij llog,i_ ( _m, n_ ) (6) Thus, we have obtained the vector coordinates _llαβ,j_ ( _m, n_ ) of image in _lαβ_ space. The three resulting principal axes are orthogonal, and it is found that the first axis _l_ represents an achromatic channel, while the second ( _α_ ) and the third ( _β_ ) channels are chromatic yellow-blue and red-green opponent channels: _•_ _luminance_ : Achromatic _∝_ ( _r_ + _g_ + _b_ ) _•_ _α_ : Yellow-blue _∝_ ( _r_ + _g −_ _b_ ) _•_ _β_ : Red-green _∝_ ( _r −_ _g_ ) Hence, in this space the color components are decoupled from the luminance, that is, the brightness level of the scene. The _lαβ_ is a perceptual color space, that is, based on the response functions of the cones in the retina of the eye, because it is derived by the perceptual color space LMS (Long, Medium, Short) mostly used in psychometric research. 5. COLOR CORRECTION METHOD In this section we describe the color correction method that we propose for underwater imaging. The method is based on the (2) _i_ _∈{_ 1 _,_ 2 _,_ 3 _}_ is the number of channels, corresponding in RGB space to _{R, G, B}_ and _f i_ = _mean{fi_ ( _m, n_ ) _}_ . The main drawback of gray-world methods is that they will fail to produce correct colors if sufficiently large numbers of hues are not present in the scene. 4.3 _l_ _αβ_ color space The proposed method aims to perform a color correction that closely mimics the performance of the visual system. For this Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy (a) (b) Figure 3: Flow-chart: conversion of a non linear RGB image in l _αβ_ space. assumptions of gray world and uniform illumination of the scene, as explained in the previous section. Thus, we formulate the Eq. 2 in _lαβ_ space. Let us express the RGB color coordinates _fi_ ( _m, n_ ) in the LMS space ( _li_ ( _m, n_ )) as: _li_ ( _m, n_ ) = _Dij_ _· fj_ ( _m, n_ ); (7) where _Dij_ is the transformation matrix obtained as product of the two transformation matrices _Dij_ = _Txyz,ij · Tlms,ij_ . Expressing the terms of Eq. 2 in LMS space in according to Eq. 7 and computing the logarithm of both sides of the Eq. 2, we have: _i_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>) = log</sup> <sup>_<u>li</u>_</sup> <sup><u>(</u></sup> <sup>_<u>m, n</u>_</sup> <sup><u>)</u></sup> log _li_ <sup>_∗_</sup> _li_ (c) (d) Figure 4: Two cases of underwater images analysed in this work (a), (b), and the relative results obtained with our algorithm (c), (d). 6. EXPERIMENTAL RESULTS In order to demonstrate the effectiveness of the proposed method, we have tested it on two underwater images captured in different locations (Figures 4a,b). The first case that we analysed is an image corresponding to a part of a brick wall, taken in the archaeological site of Baia (Naples-Italy) at the depth of about 5 m, in which a greenish component is present. The second case is an image representing an amphora (Kas, Turkey) in which a bluish component is dominant. This image is taken from a website of divers community (Worldadventuredivers, 2015). (a) (b) Figure 5: Distribution of chromatic components of image in Figure 4a in _α−β_ plane before and after color correction. The two RGB images are converted in the _lαβ_ space, following the steps discussed in section 4.3. Then we apply the Eq. 10 to _α_ ; (8) where _llms,i_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>)</sup> <sup>are</sup> <sup>the</sup> <sup>corrected</sup> <sup>coordinates</sup> <sup>in</sup> <sup>LMS</sup> <sup>space</sup> of _fi_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>),</sup> <sup>_llms,i_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>) are the coordinates of</sup> <sup>_fi_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>) and</sup> <sup>_li_</sup> its average in according to gray-world assumption. Applying the logarithm quotient rule and multiplying by the _Tpca,ij_ matrix, we obtain: _Tpca,ij_ log _li_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>) =</sup> <sup>_T_</sup> _pca,ij_ <sup>log</sup> <sup>_l_</sup> _i_ <sup>(</sup> <sup>_m, n_</sup> <sup>)</sup> <sup>_−T_</sup> _pca,ij_ <sup>log</sup> <sup>_l_</sup> _i_ <sup>;</sup> <sup>(9)</sup> Each term in this equation is similar to Eq. 6, that states the coordinates conversion in the _lαβ_ space. Thus, we have obtained the desired expression of Eq. 2 in _lαβ_ coordinates: _llαβ,i_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>) =</sup> <sup>_l_</sup> _lαβ,i_ <sup>(</sup> <sup>_m, n_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_l_</sup> _lαβ,i_ <sup>;</sup> (10) where _llαβ,i_ <sup>_∗_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>)</sup> <sup>are</sup> <sup>the</sup> <sup>corrected</sup> <sup>coordinates,</sup> <sup>_llαβ,i_</sup> <sup>(</sup> <sup>_m, n_</sup> <sup>)</sup> the component of RGB image and _llαβ,i_ its average. In order to correct color casts of an image the _α_ and _β_ components ( _i_ _∈_ _{_ 2 _,_ 3 _}_ ) must be changed, as suggested in (Reynard et al., 2001), while the luminance component remains unchanged, at least regarding the translation of the mean, but it will be elaborated in a different way, to improve the contrast image, as described in the next section. After color correction processing we must transfer the result back to RGB to display it by applying the inverse operations. It has to be noted that the white point ( _{_ 1, 1, 1 _}_ in RGB space) has _{_ 0, 0, 0 _}_ coordinates in _lαβ_ space. This means that the method performs a shift of _α_ and _β_ components respect to the coordinates _{_ 0, 0 _}_, putting the distributions of these coordinates around the white point. Correcting image casts respect to the white point in this space seems to be more realistic respect to adjust the distributions of color channels around a gray point as in RGB space. We can conclude that the gray-world assumption is transformed in a ”white-world” assumption in the _lαβ_ space. Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy Figure 6: Luminance histograms of images in Figure 4. Figure 7: Image of the luminance channel before (at left) and after (at right) contrast enhancement by histogram stretching. and _β_ components. According to our experience, it is preferred for underwater images to use channel-wise median values instead of the mean, since the median is not affected by extreme values in luminance or chrominance. In this way the median would ignore, for instance, overlighted close objects or the blue parts of the image corresponding to farther distances, which, on the other hand, would affect the mean. As example of the result of the white balancing process, we plot in Figure 5 in the _α −_ _β_ plane the distribution of the chromatic components for the image of Figure 4a. It is apparent that after color correction, the distribution of _α_ and _β_ is centered on the white point coordinates _{_ 0, 0 _}_ . Moreover, the _β_ channel is more affected by the illumination color, while _α_ channel remains approximately unchanged. In fact, we have found that for underwater images the median value of _β_ is always negative. In order to verify the hypothesis of uniform illumination, we have computed the luminance histograms, of both images as depicted in Figure 6. The values of luminance distribution are sparse from darker values to the lighter values: the image histogram of Figure 4a has a bell-shape distribution concentrated on lighter values, while the one of Figure 4b has a distribution more equalized. In case of the luminance values are concentrated around two or more picks, especially in the brighter area, the uniform-illumination hypothesis has to be rejected. In Figure 7a the image of the luminance channel is illustrated. It has been obtained by setting to zero the chromatic components and reporting back the coordinates in RGB space. The result of this process is a gray-level image, as we expected because the luminance channel is achromatic. In order to improve the image contrast, in this work we propose to perform a cutoff of 1% of both histogram limits and stretching them. This is a simple way to improve the contrast image, but also other contrast enhancement techniques can be applied like CLAHE (Contrast Limited Adaptive Histogram Equalization) or histogram equalization, for example. The result of the luminance histogram stretching is illustrated in Figure 7. Finally, we combine the results of luminance enhancement and hue correction, then we apply the inverse transformations of the flow-chart in Figure 3 to report the results in RGB space, as shown in Figures 4c,d. Regarding computational considerations, we have implemented a MATLAB _⃝_ R code Figure 8: Comparison among different color correction methods. to process underwater images with the proposed method. It takes 0.795 sec on a Mac Laptop (Processor 2.7 GHz Core i7, 16 GB 1600 MHz DDR3 Memory, NVIDIA GeForce GT 650M 1024 MB) to elaborate a 591 x 892 image. We point out that the implementation of this algorithm can be improved by using parallel computing or C implementation, thus we think that the method is suitable for real-time applications. 6.1 Comparisons with other color spaces From the study of the State of the Art we found that underwater image datasets provided with calibrated ground truth are not available in literature as for the in-air applications of computational color constancy algorithms (Gijsenij et al., 2011). Hence we limit the performance evaluation of our method to a qualitative evaluation by visual inspection. We have compared the white balancing results of our method with the ones obtained with other similar color spaces, in order to investigate if the _lαβ_ space allows to give similar or better results. For this reason we have performed this analysis on CIELab, YCrCb, CIECAM97, CIELuv spaces, which are composed from a luminance component and two chromatic components like _lαβ_ space. Similarly to the white balancing done in _lαβ_ space, we have shifted the median values of chromatic components around its own white point. Moreover we have elaborated the underwater images of Figure 4 with a Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy gray-world algorithm in RGB space (Colorconstancy, 2015) and with Photoshop software by using ”Auto Color” tool. The outputs of each aforementioned methods are illustrated in Figure 8. From the comparison it is apparent that the _lαβ_ space gives the best results of color correction removing completely in the whole image the greenish and bluish casts. In the case of gray-world result, the correction seams globally acceptable and the colors are most saturated, but by a more accurate inspection we can see that in the darker and lighter areas (pebbles on the seafloor), remain colored casts. Color correction in _lαβ_ space outputs images with realistic color casts both in gray shades and bright areas. 6.2 3D reconstruction application As example of a possible application, we have processed an image set of an underwater finding with our method in order to obtain the 3D reconstruction by using a structure-from-motion software. The dataset has been taken in the archaeological site of Kaulon in Monasterace (Calabria - Italy), capturing a remainder of an ancient pillar. The dataset is composed by 45 images with resolution of 980 x 1479 pixels. We have pre-processed all the images with our method and then input in a structure-frommotion algorithm. The results of color correction and the 3D model obtained by the corrected dataset is shown in Figure 9. As an alternative we can process directly the texture applied on the 3D model and obtained by UV mapping. (a) (b) Figure 9: 3D model (b) obtained from a color corrected dataset of underwater images (a). 7. CONCLUSIONS AND FUTURE WORKS We presented a new method for color correction of underwater images. The method is based on gray-world and uniform illumination assumptions applied in the _lαβ_ space. Color correction is performed by white balancing of chromatic components ( _α_ and _β_ ), while the luminance component _l_ is processed to improve the image contrast. We have tackled the color correction problem with a computational color constancy approach, developing the mathematical formulation of the hue correction suggested by Reynhard et al. (2001). From the experimental results, we demonstrated that this method is suitable to remove undesired color casts in underwater imaging: greenish-blue components in the images are completely removed also in the gray shades. From the analysis of the State of the Art, we have found out that until now it does not exist a calibrated underwater dataset provided of ground truth, in order to perform quantitative evaluations of the methods proposed in literature. Thus, a qualitative comparison of white balancing process, in other perceptual color spaces, shows that the hue correction in _lαβ_ space outputs the best results, also respect to a RGB gray-world algorithm and a commercial software. As example of a possible application, we have proposed to preprocess underwater image dataset in order to improve the results of structure-from-motion software, obtaining 3D models with color corrected texture. These promising results convince us to deepen the investigations of this method for underwater imaging. In particular, further works will regard the comparisons with the other methods presented in literature, studying an experimental protocol to acquire an appropriate dataset in order to evaluate quantitatively the error in the color correction, implement a new version of our method to take into account the non-uniform lighting conditions and apply better contrast enhancement techniques to reduce the degradation effects, like noise and blur. We will study instead average color an appropriately weighted median color, too. ACKNOWLEDGEMENTS This work has been supported by the project ”ARUE” (MIDAVI 55), funded with support from the European Commission, European Social Fund and Regione Calabria. This publication reflects the views only of the author, and the European Commission and the Regione Calabria cannot be held responsible for any use which may be made of the information contained therein. Moreover, this work has been partially supported by the Project ’CoMAS’ (ref. PON01 ~~0~~ 2140), financed by the MIUR under the PON ”R&C” 2007/2013 (D.D. Prot.n.01/Ric.18.1.2010). REFERENCES Ancuti, C., Ancuti, C. O., Haber, T., Bekaert, P., 2012. Enhancing underwater images and videos by fusion. In _Computer Vision and_ _Pattern Recognition (CVPR)_, IEEE Conference on, pp. 81-88. Bazeille, S., Quidu, I., Jaulin, L., Malkasse, J.P., 2006. Automatic Underwater Image Pre-Processing. _CMM06_ _-_ _CARACTERISA-_ _TION DU MILIEU MARIN_, 16-19 Oct. Buchsbaum, G., 1980. A spatial processor model for object colour perception, _Journal of The Franklin Institute-engineering and Ap-_ _plied Mathematics_, 310:126. Carlevaris-Bianco, N., Mohan, A., Eustice, R. M., 2010. Initial results in underwater single image dehazing. In _OCEANS 2010_, pp. 1-8. Chambah, M., Semani, D., Renouf, A., Courtellemont, P., Rizzi, A., 2003. Underwater color constancy: enhancement of automatic live fish recognition. In _Electronic_ _Imaging_, International Society for Optics and Photonics, pp. 157-168. Chiang, J. Y., Chen, Y. C., 2012. Underwater image enhancement by wavelength compensation and dehazing. _Image_ _Processing_, IEEE Transactions on, 21(4), 1756-1769. Colorconstancy, 2015. http://colorconstancy.com/, Last accessed on 2015, March 14. Ebner., M., 2007. Color Constancy, Wiley 1st edition. Gallo, A., Angilica, A., Bianco, G., De Filippo, F., Muzzupappa, M., Davidde, B., Bruno, F., 2012. 3D Reconstruction and Virtual Thi t ib ti h b i d Underwater 3D Recording and Modeling, 16 17 April 2015, Piano di Sorrento, Italy Exploration of Submerged Structures: a Case Study in the Underwater Archaeological Site of Baia (Italy). In _VAST: International_ _Symposium_ _on_ _Virtual_ _Reality,_ _Archaeology_ _and_ _Intelligent_ _Cul-_ _tural Heritage_, Eurographics Association, pp. 121-128. Garcia, R., Nicosevici, T., Cufi, X., 2002. On the way to solve lighting problems in underwater imaging, In _OCEANS ’02 MTS /_ _IEEE_, pp.1018-1024 vol.2, 29-31 Oct. Ghani, A. S. A., Isa, N. A. M., 2014. Underwater image quality enhancement through composition of dual-intensity images and Rayleigh-stretching. _SpringerPlus_, 3(1), 757. Gijsenij, A., Gevers, T., van de Weijer, J., 2011. Computational Color Constancy: Survey and Experiments, _Image_ _Processing,_ _IEEE Transactions on_, vol.20, no.9, pp.2475-2489. Gonzalez, R.C., Woods, R.E., 1992. Digital Image Processing. Addison-Wesley, Reading, MA. Gouinaud, H., Gavet, Y., Debayle, J., Pinoli, J. C., 2011. Color correction in the framework of color logarithmic image processing. In _Image_ _and_ _Signal_ _Processing_ _and_ _Analysis_ _(ISPA)_, 7th International Symposium on, pp. 129-133. Iqbal, K., Abdul Salam, R., Osman, M., Talib, A. Z., 2007. Underwater Image Enhancement Using An Integrated Colour Model. _IAENG_ _International_ _Journal_ _of_ _Computer_ _Science_, 32(2), 239244. Mahiddine, A., Seinturier, J., Boi, D.P.J., Drap, P., Merad, D., Luc Long, 2012. Underwater image preprocessing for automated photogrammetry in high turbidity water: An application on the Arles-Rhone XIII roman wreck in the Rhodano river, France, In _Virtual Systems and Multimedia (VSMM), 2012 18th Interna-_ _tional Conference on_, pp.189,194, 2-5 Sept. Petit, F., Capelle-Laize, A., Carr, P., 2009. Underwater image enhancement by attenuation inversionwith quaternions. In _Acous-_ _tics,_ _Speech_ _and_ _Signal_ _Processing_, IEEE International Conference on, pp. 1177-1180. Reinhard, E., Ashikhmin, M., Gooch, B.,Shirley, P., 2001. Color Transfer between Images, _IEEE_ _Computer_ _Graphics_ _and_ _Appli-_ _cations_, vol. 21, no. 5, pp. 34-41. Ruderman, D., Cronin, T., Chiao, C., 1998. Statistics of cone responses to natural images: implications for visual coding, _J._ _Opt._ _Soc._ _Am._ A 15, 2036-2045. Schechner, Y., Averbuch, Y., 2007. Regularized image recovery in scattering media. _IEEE Trans Pattern Anal Mach Intell_ . Schettini, R., Corchs, S., 2010. Underwater image processing: state of the art of restoration and image enhancement methods. _EURASIP Journal on Advances in Signal Processing 2010_, 14. Shamsuddin, N. B., Fatimah, W., Ahmad, W., Baharudin, B. B., Kushairi, M., Rajuddin, M., Mohd, F. B., 2012. Significance Level of Image Enhancement Techniques for Underwater Images. In _IVIC 2012_ . Torres-Mndez, L. A., Dudek, G., 2005. Color correction of underwater images for aquatic robot inspection. In _Energy_ _Mini-_ _mization_ _Methods_ in Computer Vision and Pattern Recognition pp. 60-73, Springer Berlin Heidelberg. Worldadventuredivers, 2015. http://worldadventuredivers.com/, Last accessed on 2015, March 14. APPENDIX We report the conversion matrices used by Reinard et al. (2001). _•_ Conversion from linear RGB to XYZ space: _xj_ ( _m, n_ ) = _Txyz,ij fi_ ( _m, n_ ) (11) - 0 _._ 5141 0 _._ 3239 0 _._ 1604 _Txyz,ij_ = 0 _._ 2651 0 _._ 6702 0 _._ 0641 0 _._ 0241 0 _._ 1228 0 _._ 8444 (12) _•_ Conversion from XYZ space to LMS: _lj_ ( _m, n_ ) = _Tlms,ij xi_ ( _m, n_ ) (13) _Tlms,ij_ = - 0 _._ 3897 0 _._ 6890 0 _._ 0787 _−_ 0 _._ 2298 1 _._ 1834 0 _._ 0464 0 _._ 0000 0 _._ 0000 1 _._ 0000 (14) _•_ Conversion from log(LMS) space to _lαβ_ space: _llαβ,j_ ( _m, n_ ) = _Tpca,ij llog,i_ ( _m, n_ ) (15) _~~√~~_ <u>1</u> _~~√~~_ <u>1</u> 0 0 3 0 _~~√~~_ <u>1</u> 0 6 0 0 _~~√~~_ <u>1</u> - 1 1 1 1 1 _−_ 2 1 _−_ 1 0   _Tpca,ij_ =   (16) 2 _Revised March 2015_ Thi t ib ti h b i d

섹션 본문 42문단 · 33,877자

(제목 없음)

1Recovering correct or at least realistic colors of underwater scenes is a very challenging issue for imaging techniques, since illumination conditions in a refractive and turbid medium as the sea are seriously altered.The need to correct colors of underwater images or videos is an important task required in all image-based applications like 3D imaging, navigation, documentation, etc.Many imaging enhancement methods have been proposed in literature for these purposes.The advantage of these methods is that they do not require the knowledge of the medium physical parameters while some image adjustments can be performed manually (as histogram stretching) or automatically by algorithms based on some criteria as suggested from computational color constancy methods.One of the most popular criterion is based on gray-world hypothesis, which assumes that the average of the captured image should be gray.An interesting application of this assumption is performed in the Ruderman opponent color space lαβ, used in a previous work for hue correction of images captured under colored light sources, which allows to separate the luminance component of the scene from its chromatic components.In this work, we present the first proposal for color correction of underwater images by using lαβ color space.In particular, the chromatic components are changed moving their distributions around the white point (white balancing) and histogram cutoff and stretching of the luminance component is performed to improve image contrast.The experimental results demonstrate the effectiveness of this method under gray-world assumption and supposing uniform illumination of the scene.Moreover, due to its low computational cost it is suitable for real-time implementation.

INTRODUCTION

2Recovering correct or at least realistic colors of underwater scenes is a very challenging issue for the imaging techniques since illumination conditions in a refractive and turbid medium as the sea are seriously altered.Progressive attenuation with the depth of the visible spectrum at the different wavelengths, scattering and absorption of the incoming radiation from the ambient can cause relevant modifications of image colors (Schettini and Corchs, 2010).The need to correct colors of underwater images or videos is an important task required in all image-based applications like 3D imaging, navigation, image segmentation, documentation, etc.For dissemination purposes, it would be desirable to show 3D models of archaeological sites as represented on the land, or to improve the vision during underwater exploration and navigation, for example (Mahiddine et al., 2012;Gallo et al., 2012).The use of imaging devices with special optical filters or polarizers in front of the lens (Schechner and Averbuch, 2007) can attenuate part of the incoming radiation and often alter the real colors of the scene to be acquired.Moreover, the use of artificial light sources can introduce more non-uniformities in the lighting of the scene (Garcia et al., 2002).Many imaging techniques have been proposed in the literature for this task (Schettini and Corchs, 2010), based on a physical model of the image formation process (image restoration techniques) or qualitative, subjective criteria to produce a more realistic image (image enhancement methods).In the first case the knowledge of the medium physical parameters is required while in the other case some image adjustments can be performed manually (as histogram stretching) or based on some criteria as suggested from computational color constancy methods (Gijsenij et al., 2011).One of the most popular criteria is based on the gray-world hy-pothesis, which assumes that the average of the captured image should be gray (Buchsbaum, 1980).This assumption allows to implement automatic methods which achieve good results.In (Reinhard et al., 2001) an interesting application of this assumption has been presented, by performing hue correction of images captured under colored light sources in the Ruderman opponent color space lαβ (Ruderman et al., 1998).This color space, proposed to study the human eye perception of natural images, is composed of a luminance component l (achromatic) and two opponent color components α and β, which encode yellow-blue and red-green chromaticities, as used for color discrimination in the human color visual mechanism.Until now, lαβ space has been only used for color transfer applications (Reinhard et al., 2001), therefore, its ability to correct images taken under colored lighting is not yet deeply investigated, especially in underwater imaging.

3In this work we present the first proposal for color correction of underwater images by using the lαβ color space.In particular, the chromatic components are changed moving their distributions around the white point (white balancing) and histogram cutoff and stretching of the luminance component is performed to improve image contrast.Our main goal is to demonstrate the effectiveness of the color correction in this space for underwater scenes.Thus the improvement of image contrast and noise reduction are not investigated since we retain that such techniques are widely studied and proposed in literature, however they can be applied independently.The experimental results, presented below in this paper, demonstrate the effectiveness of this method under the hypothesis of gray world and uniform illumination of the scene.These assumptions are acceptable in many real cases for close-range acquisition in downward direction, like seafloor mapping, or capturing objects in the foreground (underwater photography) or less-complicated scenes where there are not strong light variations.As example of a possible application, we have processed an image set of an underwater finding with our method in order to obtain the 3D reconstruction by using a structure-frommotion technique.The proposed method requires just a single image and does not need any particular filters or prior knowledge of the scene.Moreover, due to its low computational cost it is suitable for real-time implementation.

4The remaining of paper is organized as follow: in section 2 the main image enhancement methods for underwater imaging are summarized.To follow, the color alteration problem in underwater environments is described in section 3 and a few details as background are presented in section 4. The color correction method is proposed in section 5 and the experimental results are reported in section 6.Finally, conclusions and future works are discussed in section 7.

RELATED WORK

5In this section the most important works about color correction of underwater images are presented.We focus on color correction strategies and methods used in the image enhancement techniques, which work on a single image without any knowledge about physical parameters or medium properties (image restoration methods).Essentially the different methods are composed by two steps: contrast enhancement and color correction, performed separately on RGB space or another one.From the analysis of the State of the Art, it is apparent that do not exist calibrated datasets of underwater images in order to compare and evaluate quantitatively the different methods from the point of view of computational color constancy (Gijsenij et al., 2011).In fact, it is difficult to obtain the ground truth, that is, a reference image taken with standard illumination to compare the results.Hence, the performance is evaluated qualitatively by visual inspection.For a more comprehensive and exhaustive treatise of the methods applied to improve quality of underwater images we suggest to refer to (Schettini and Corchs, 2010).

6A histogram equalization method in RGB space is presented in (Shamsuddin et al., 2012).Color correction is carried out through both auto level adjustment and manual adjustment techniques.Hence, the authors found that the manual enhanced technique (done iteratively) is more precise as compared to the auto enhanced technique due to the levels of significance of 1% and 5%.The images reported in the paper were taken in the shallow water (at depth from 1 m to 5 m) in a coastal area of Malaysia.Iqbal et al. (2007) proposed an approach based on slide stretching.Firstly, contrast stretching of RGB algorithm to equalize the color contrast in the images is used.Secondly, the saturation and intensity stretching of HSV (Hue, Saturation, Value) is applied in order to increase the true colors and solve the lighting problem.The advantage of applying two stretching models is that it helps to equalize the color contrast in the images and also addresses the problem of lighting.The results are illustrated with images of fishes and marine flora captured in the foreground.The HSV color space has been also used more recently in a twostage method (Ghani et al., 2014), for enhancing of coral images.First, the contrast correction technique is applied to the image with a modified Von Kries hypothesis and stretching it into two different intensity images at the average value with respect to Rayleigh distribution.At the second stage, color correction is performed in the HSV color model by stretching Saturation and Value (brightness) components.The stretching processes are applied to the histograms of both Saturation and Value at 1% to 99%, respectively.Bazeille et al. (2006) proposed an automatic algorithm to pre-process underwater images.It involves several successive independent processing steps which correct non-uniform illumination, suppress noise, enhance contrast and adjust colors.In particular, color correction is achieved by equalizing the mean of each color-channel.A linear translation of the histogram (for each RGB channel) is performed by adding to each pixel the difference between the desired mean value and the mean of the channel.Images taken under different conditions are showed and elaborated.A different type of equalization is proposed in (Chambah et al., 2003), by using Automatic Color Equalization (ACE), for automatic live fish recognition.This method merges two computational color constancy principles: gray world and retinex white patch.Lightness constancy makes stably perceive the scene regardless changes in mean luminance intensity and color constancy makes stably perceive the scene regardless changes in color of the illuminant.ACE is able to adapt to widely varying lighting conditions.An approach based on the fusion principle has been presented by Ancuti et al. (2012) for enhancement of images and videos acquired in different lighting conditions.Two inputs are represented by color corrected and contrast enhanced versions of the original underwater image and also four weight maps that aim to increase the visibility.Color correction is performed by a white balancing process able to remove the color casts but also to recover the white and gray shades of the image, based on the grayworld assumption.In particular, the authors propose to increase the average value estimated with a percentage λ ∈ [0, 0.5].

7A very different approach has been used by Petit et al. (2009), which propose a method based on light attenuation inversion after processing a color space contraction using quaternions.Applied to the white, the attenuation gives a hue vector characterizing the water color.Using this reference axis, geometrical transformations into the color space are computed with quaternions.Pixels of water areas of processed images are moved to gray or colors with a low saturation whereas the objects remain fully colored.Thus, the contrast of the observed scene is significantly improved and the difference between the background and the rest of the image is increased.Moreover, Principal Component Analysis (PCA) calculation allows to extract a dominant color of the image, hence, in most cases, the water color provides also good results in term of color enhancement by using the method described above.The results are showed on images with a large presence of a water area.In (Gouinaud et al., 2011) the authors introduce a Color Logarithmic Image Processing (CoLIP) framework.This novel framework expands the logarithmic image processing theory to color images in the context of the human color visual perception.The color correction performs a CoLIP subtraction of the color in the image that should be white to the eye under daylight illumination, that is, a pixel of the image that is recognized as white under standard illumination.From the LMS space expressed following the LIP approach, a three-component function is defined (color tone function).Its first component is the achromatic tone function, and the last components are the two chromatic antagonist tone functions.This method has been successfully evaluated on both underwater images (blue illuminant) and indoor reflected light images (yellow illuminant).Color recovery is also analysed by Torres-Mendez and Dudek (2005) but from a different perspective: it is formulated as an energy minimization problem using learned constraints.An image is modeled as a sample function of Markov Random Field and the color correction is considered as a task of assigning a color value to each pixel of the input image that best describes its surrounding structure using the training image patches.Training images are small patches of regions of interest that capture the maximum of the intensity variations from the image to be restored.The im-ages proposed as result regard fishes in foreground or scene in shallow water.To evaluate the performance of the algorithm the authors use a dataset (available on a website) of underwater images taken with a professional camera and in most of the cases they were also enhanced by using a commercial software.They consider these dataset images as ground truth and apply an attenuation filter to obtain a color depleted image.As metric the mean absolute residual error in CIELab space is computed between the ground truth and the color corrected images.Also dehazing techniques have been applied in underwater imaging.Chiang and Chen (2012) propose a novel dehazing algorithm for wavelength compensation and image dehazing in order to remove distortions caused by light scattering and color change, respectively.Energy compensation for each color channel is carried out after water depth estimation to adjust the bluish tone to a natural color.The algorithm performance is evaluated by utilizing ground-truth color patches and video available on internet.In particular, a board with six color patches is captured in the close range before diving (ground truth) and at a depth of 5 and 15 m, and as measurement of the error the authors report the SNR (Signal-to-Noise) ratio.In (Carlevaris-Bianco et al., 2010) a dehazing algorithm for removing the effects of light scattering in underwater images is presented.The underwater model takes into account the absorption as function of both scene depth and wavelength, which attenuating the red color channel much more severely than blue or green.Color correction is provided for the reduction in the red channel caused by absorption.Moreover the estimation of the airlight (blue in water) includes the effects of absorption on the airlight.Therefore, when the additive airlight has removed, the color balance of the imagery is improved, without having to additionally account for absorption effects.In order to test the color accuracy, multiple images of a color wheel target are collected at varying distances between 3 and 6 m from the camera in a fresh water test tank.Then, an image of the color wheel taken in air is used as the ground truth.

UNDERWATER COLOR ALTERATIONS

8The sunlight that penetrates from the air-water interface into the water is altered from several causes.Firstly, the visible spectrum is modified with the depth because of the radiation absorption at the different wavelengths, in particular, the radiations with lower frequency are more absorbed.Thus, the red components disappear already within about 5 m (shallow waters), the orange at 7.5 m, the yellow in the range of 10-14 m, and the green at about 21 m.A schematic representation of this color loss is illustrated in Figure 1.It is evident that more depth increases, more the lower temperature colors disappear, producing greenish-blue scenes.It needs also to take into account the scattering (backward and forward) and absorption effects due to the particles dissolved and suspended in the medium, like salt, clay and micro-organisms.The greater the dissolved and suspended matter, the greener (or browner) the water becomes.These particles not only alter the colors but also attenuate and diffuse more the light with consequent decreasing of contrast and increasing of blur and noise in the captured images.Let us remember that when we capture horizontally an underwater image, we have to consider as the light path the horizontal distance from the target (working distance) and the depth which we are, hence, the radiation suffers twice the absorption.As depicted in Figure 1 light intensity that penetrates into the water already decays of 50% at 10 m.Moreover, under water the color light depends on other factors as the coastal proximity, the season, the water surface conditions, the time of the day, the cloudiness of the sky, the presence of marine vegetation or the soil type.For the reasons listed above, it is clear that underwater environments offer a non-constant and multi-variate typology of light conditions.Since many of the aforementioned factors are constantly changing, we cannot really know all the color variations in water.

9Figure 1: Schematic representation of underwater lighting conditions that can cause color alterations.

BACKGROUND

10Before to describe the proposed color correction method, we provide some details about color constancy, white balancing, image formation model and gray world assumption.The lαβ color space is also introduced.

Formulation of the color correction problem

11Recognizing correct casts of objects in a scene illuminated by a colored light source is a capability of the human visual system, called color constancy (Ebner, 2007).In fact, the human visual system can perceive the true colors of objects even if not illuminated by a neutral light source, i.e. white.For example, a white object illuminated with a high temperature light source becomes bluish, but the human observer will still recognize it as white.On the other hand, for digital systems as imaging devices, it is necessary to adjust color casts after acquisition, in order to recover the correct colors, because sensors measure the incoming light from the objects, and they are not able to distinguish between the color of the illuminant and the reflectance of the objects.In digital photography, the process (automatic or manual) to remove unrealistic color casts is called white balancing, which allows to obtain a balanced color distribution around a white point taken as reference.Digital cameras are able to balance color images under a wide variety of illumination conditions (i.e.neon light, sun light, cloudy sky) by internal processes but these settings often fall in underwater environments.For a more accurate correction a calibration chart or a color checker can be placed and captured in the scene.Then in post-processing the images are corrected.The use of these calibrated charts underwater is not suitable and practical for applications like mapping and navigation, in which a large amount of data is collected.

12In this work we tackle the color correction problem of underwater images from the point of view of computational color constancy, which aims to perform a color correction that closely mimics the performance of the visual system.We suppose that the scene is illuminated by a colored light source uniformly.This means that the light intensity is approximately constant over whole image.Moreover we not consider degradation effects which cause noise and blur in the image due to scattering and we suppose that the object surfaces are Lambertian, that means the surface reflects the light equally in all directions.These assumptions can be considered too restrictive, but allow to use a simply image formation model, and however, they are acceptable in many real cases for close-range acquisition in downward direction, like seafloor mapping, or capturing objects in the foreground or lesscomplicated scenes where there are not strong light variations.Thus, we can formulate the problem in a simplified manner following the computational color constancy approach.In the image formation model (Gonzales and Woods, 1992), as represented in Figure 2, we can consider an underwater image fi(m, n) expressed by:

13where

14we indicate the three color components of image, corresponding in RGB space to {R, G, B} channels.Correcting the color casts of an image means computing the illuminant gi and removing its chromatic components from fi.In order to compute the color of illuminant further assumptions are needed and for this purpose several computational color constancy methods have been proposed in literature (Gijsenij et al., 2011).In the next section we describe the formulation of the gray-world assumption used in our method.

The gray-world assumption

15The gray-world assumption is a well-known approach, proposed by Buchsbaum (Buchsbaum, 1980).In its simplest version it assumes that the information in the average of each channel of the image is the representative gray level.In other words, the average of the captured image should be gray (achromatic).Following the image formation model described above in Eq. 1 and taking into account that the illuminant gi can be approximate (Ebner, 2007) by the average of image fi, the gray world assumption can be formulated as:

16is the number of channels, corresponding in RGB space to {R, G, B} and f i = mean{fi(m, n)}.The main drawback of gray-world methods is that they will fail to produce correct colors if sufficiently large numbers of hues are not present in the scene.

l αβ color space

17The proposed method aims to perform a color correction that closely mimics the performance of the visual system.For this reason we have chosen to adopt a perceptual color space as we described below.The lαβ color space has been proposed by Ruderman et al. (1998) studying the human eye perception of natural images.It is composed of a luminance component l (achromatic) and two opponent color components α and β, as in the human color visual mechanism.Until now this color space has been only used for color transfer applications.In particular, Reynard et al. ( 2001) have showed that it can be used for hue correction, presenting the results obtained to correct an image with uniform illumination, under red, tungsten, and blue illuminants.Therefore color correction by using this color space is not yet deeply investigated, especially in underwater imaging.

18Here, we describe lαβ space following the transformations matrices suggested in (Reynard et al., 2001), that we have reported in Appendix for the reader's convenience.The several steps to convert RGB coordinates in lαβ space are reported in the flow-chart of Figure 3. First of all, RGB image has to be corrected by the non linearity (gamma correction), to work with linear RGB coordinates.This step is very important and necessary to pass to the next: conversion in the XYZ tristimulus values.This conversion is achieved by multiplying the linear RGB coordinates fi(m, n) with Txyz,ij matrix, where the i and j are the matrix indeces in according to the Einstein notation:

19where xj is the vector of coordinates in XYZ space and (m, n) are the pixel coordinates.From this device-independent XYZ space, we convert the image to LMS space (lj(m, n) vector) using the T lms,ij matrix:

20Now, we transform the data in logarithmic space:

21and finally we can proceed to decorrelate these axes as suggested by Ruderman et al. (1998), by using Principal Components Analysis (PCA), that means multiply l log,j (m, n) vector by the decorrelation matrix Tpca,ij :

22Thus, we have obtained the vector coordinates l lαβ,j (m, n) of image in lαβ space.The three resulting principal axes are orthogonal, and it is found that the first axis l represents an achromatic channel, while the second (α) and the third (β) channels are chromatic yellow-blue and red-green opponent channels:

23Hence, in this space the color components are decoupled from the luminance, that is, the brightness level of the scene.The lαβ is a perceptual color space, that is, based on the response functions of the cones in the retina of the eye, because it is derived by the perceptual color space LMS (Long, Medium, Short) mostly used in psychometric research.

COLOR CORRECTION METHOD

24In this section we describe the color correction method that we propose for underwater imaging.The method is based on the assumptions of gray world and uniform illumination of the scene, as explained in the previous section.Thus, we formulate the Eq. 2 in lαβ space.Let us express the RGB color coordinates fi(m, n) in the LMS space (li(m, n)) as:

25where Dij is the transformation matrix obtained as product of the two transformation matrices Dij = Txyz,ij • T lms,ij .Expressing the terms of Eq. 2 in LMS space in according to Eq. 7 and computing the logarithm of both sides of the Eq. 2, we have:

26where l * lms,i (m, n) are the corrected coordinates in LMS space of f * i (m, n), l lms,i (m, n) are the coordinates of fi(m, n) and li its average in according to gray-world assumption.Applying the logarithm quotient rule and multiplying by the Tpca,ij matrix, we obtain:

27Each term in this equation is similar to Eq. 6, that states the coordinates conversion in the lαβ space.Thus, we have obtained the desired expression of Eq. 2 in lαβ coordinates:

28where l * lαβ,i (m, n) are the corrected coordinates, l lαβ,i (m, n) the component of RGB image and l lαβ,i its average.In order to correct color casts of an image the α and β components (i ∈ {2, 3}) be changed, as suggested in (Reynard et al., 2001), while the luminance component remains unchanged, at least regarding the translation of the mean, but it will be elaborated in a different way, to improve the contrast image, as described in the next section.After color correction processing we must transfer the result back to RGB to display it by applying the inverse operations.It has to be noted that the white point ({1, 1, 1} in RGB space) has {0, 0, 0} coordinates in lαβ space.This means that the method performs a shift of α and β components respect to the coordinates {0, 0}, putting the distributions of these coordinates around the white point.Correcting image casts respect to the white point in this space seems to be more realistic respect to adjust the distributions of color channels around a gray point as in RGB space.We can conclude that the gray-world assumption is transformed in a "white-world" assumption in the lαβ space.

EXPERIMENTAL RESULTS

29In order to demonstrate the effectiveness of the proposed method, we have tested it on two underwater images captured in different locations (Figures 4a,b).The first case that we analysed is an image corresponding to a part of a brick wall, taken in the archaeological site of Baia (Naples-Italy) at the depth of about 5 m, in which a greenish component is present.The second case is an image representing an amphora (Kas, Turkey) in which a bluish component is dominant.This image is taken from a website of divers community (Worldadventuredivers, 2015).The two RGB images are converted in the lαβ space, following the steps discussed in section 4.3.Then we apply the Eq. 10 to α In Figure 7a the image of the luminance channel is illustrated.It has been obtained by setting to zero the chromatic components and reporting back the coordinates in RGB space.The result of this process is a gray-level image, as we expected because the luminance channel is achromatic.In order to improve the image contrast, in this work we propose to perform a cutoff of 1% of both histogram limits and stretching them.This is a simple way to improve the contrast image, but also other contrast enhancement techniques can be applied like CLAHE (Contrast Limited Adaptive Histogram Equalization) or histogram equalization, for example.The result of the luminance histogram stretching is illustrated in Figure 7. Finally, we combine the results of luminance enhancement and hue correction, then we apply the inverse transformations of the flow-chart in Figure 3 to report the results in RGB space, as shown in Figures 4c,d.Regarding computational considerations, we have implemented a MATLAB R code to process underwater images with the proposed method.It takes 0.795 sec on a Mac Laptop (Processor 2.7 GHz Core i7, 16 GB 1600 MHz DDR3 Memory, NVIDIA GeForce GT 650M 1024 MB) to elaborate a 591 x 892 image.We point out that the implementation of this algorithm can be improved by using parallel computing or C implementation, thus we think that the method is suitable for real-time applications.

Comparisons with other color spaces

30From the study of the State of the Art we found that underwater image datasets provided with calibrated ground truth are not available in literature as for the in-air applications of computational color constancy algorithms (Gijsenij et al., 2011).Hence we limit the performance evaluation of our method to a qualitative evaluation by visual inspection.We have compared the white balancing results of our method with the ones obtained with other similar color spaces, in order to investigate if the lαβ space allows to give similar or better results.For this reason we have performed this analysis on CIELab, YCrCb, CIECAM97, CIELuv spaces, which are composed from a luminance component and two chromatic components like lαβ space.Similarly to the white balancing done in lαβ space, we have shifted the median values of chromatic components around its own white point.Moreover we have elaborated the underwater images of Figure 4 with a gray-world algorithm in RGB space (Colorconstancy, 2015) and with Photoshop software by using "Auto Color" tool.The outputs of each aforementioned methods are illustrated in Figure 8.

31From the comparison it is apparent that the lαβ space gives the best results of color correction removing completely in the whole image the greenish and bluish casts.In the case of gray-world result, the correction seams globally acceptable and the colors are most saturated, but by a more accurate inspection we can see that in darker and lighter areas (pebbles on the seafloor), remain colored casts.Color correction in lαβ space outputs images with realistic color casts both in gray shades and bright areas.

3D reconstruction application

32As example of a possible application, we have processed an image set of an underwater finding with our method in order to obtain the 3D reconstruction by using a structure-from-motion software.The dataset has been taken in the archaeological site of Kaulon in Monasterace (Calabria -Italy), capturing a remainder of an ancient pillar.The dataset is composed by 45 images with resolution of 980 x 1479 pixels.We have pre-processed all the images with our method and then input in a structure-frommotion algorithm.The results of color correction and the 3D model obtained by the corrected dataset is shown in Figure 9.As an alternative we can process directly the texture applied on the 3D model and obtained by UV mapping.

CONCLUSIONS AND FUTURE WORKS

33We presented a new method for color correction of underwater images.The method is based on gray-world and uniform illumination assumptions applied in the lαβ space.Color correction is performed by white balancing of chromatic components (α and β), while the luminance component l is processed to improve the image contrast.We have tackled the color correction problem with a computational color constancy approach, developing the mathematical formulation of the hue correction suggested by Reynhard et al. (2001).From the experimental results, we demonstrated that this method is suitable to remove undesired color casts in underwater imaging: greenish-blue components in the images are completely removed also in the gray shades.From the analysis of the State of the Art, we have found out that until now it does not exist a calibrated underwater dataset provided of ground truth, in order to perform quantitative evaluations of the methods proposed in literature.Thus, a qualitative comparison of white balancing process, in other perceptual color spaces, shows that the hue correction in lαβ space outputs the best results, also respect to a RGB gray-world algorithm and a commercial software.

34As example of a possible application, we have proposed to preprocess underwater image dataset in order to improve the results of structure-from-motion software, obtaining 3D models with color corrected texture.These promising results convince us to deepen the investigations of this method for underwater imaging.In particular, further works will regard the comparisons with the other methods presented in literature, studying an experimental protocol to acquire an appropriate dataset in order to evaluate quantitatively the error in the color correction, implement a new version of our method to take into account the non-uniform lighting conditions and apply better contrast enhancement techniques to reduce the degradation effects, like noise and blur.We will study instead average color an appropriately weighted median color, too.

Figure 2 :

35Figure 2: Underwater reflectance model.

Figure 3 :

36Figure 3: Flow-chart: conversion of a non linear RGB image in lαβ space.

Figure 4 :

37Figure 4: Two cases of underwater images analysed in this work (a), (b), and the relative results obtained with our algorithm (c), (d).

Figure 5 :

38Figure 5: Distribution of chromatic components of image in Figure 4a in α−β plane before and after color correction.

Figure 6 :

39Figure 6: Luminance histograms of images in Figure 4.

Figure 7 :

40Figure 7: Image of the luminance channel before (at left) and after (at right) contrast enhancement by histogram stretching.

Figure 8 :

41Figure 8: Comparison among different color correction methods.

Figure 9 :

42Figure 9: 3D model (b) obtained from a color corrected dataset of underwater images (a).

참고문헌 20건

  1. Color Correction of Underwater Images for Aquatic Robot Inspection Lecture notes in computer science · Springer Science+Business Media · 2005 10.1007/11585978_5
  2. Automatic underwater image pre-processing HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2006
  3. Underwater Image Enhancement Using an Integrated Colour Model 2007
  4. Initial results in underwater single image dehazing 2010 10.1109/oceans.2010.5664428
  5. Underwater Image Enhancement by Wavelength Compensation and Dehazing IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2179666
  6. Underwater image enhancement by attenuation inversionwith quaternions IEEE International Conference on Acoustics Speech and Signal Processing · 2009 10.1109/icassp.2009.4959799
  7. Underwater color constancy: enhancement of automatic live fish recognition Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2003 10.1117/12.524540
  8. Underwater image preprocessing for automated photogrammetry in high turbidity water: An application on the Arles-Rhone XIII roman wreck in the Rhodano river, France 2012 10.1109/vsmm.2012.6365924
  9. A spatial processor model for object colour perception Journal of the Franklin Institute · Elsevier BV · 1980 10.1016/0016-0032(80)90058-7
  10. Significance level of image enhancement techniques for underwater images 2012 10.1109/iccisci.2012.6297295
  11. Enhancing underwater images and videos by fusion 2012 10.1109/cvpr.2012.6247661
  12. On the way to solve lighting problems in underwater imaging 2004 10.1109/oceans.2002.1192107
  13. Color Correction in the Framework of Color Logarithmic Image Processing HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2011
  14. Color transfer between images IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 2001 10.1109/38.946629
  15. Statistics of cone responses to natural images: implications for visual coding Journal of the Optical Society of America A · Optica Publishing Group · 1998 10.1364/josaa.15.002036
  16. Underwater Image Processing: State of the Art of Restoration and Image Enhancement Methods EURASIP Journal on Advances in Signal Processing · Springer Science+Business Media · 2010 10.1155/2010/746052
  17. Regularized Image Recovery in Scattering Media IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2007 10.1109/tpami.2007.1141
  18. Underwater image quality enhancement through composition of dual-intensity images and Rayleigh-stretching SpringerPlus · Springer International Publishing · 2014 10.1186/2193-1801-3-757
  19. Digital Image Processing Springer eBooks · Springer Nature · 1991 10.1007/978-3-662-12914-2_12
  20. 3D Reconstruction and Virtual Exploration of Submerged Structures: a Case Study in the Underwater Archaeological Site of Baia (Italy) Visual Analytics Science and Technology · 2012 10.2312/vast/vast12/121-128