Blue Shift Assumption: Improving Illumination Estimation Accuracy for Single Image from Unknown Source
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.5220/0007394101910197
- 저널
- Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications
- 발행년도
- 2019
- 발행기관
- –
- 피인용수
- 9
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5220/0007394101910197
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2921259242
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 19,994자
본문 펼치기
섹션 본문 26문단 · 19,562자
(제목 없음)
1Color constancy methods for removing the influence of illumination on object colors are divided into statisticsbased and learning-based ones.The latter have low illumination estimation error, but only on images taken with the same sensor and in similar conditions as the ones used during training.For an image taken with an unknown sensor, a statistics-based method will often give higher accuracy than an untrained or specifically trained learning-based method because of its simpler assumptions not bounded to any specific sensor.The accuracy of a statistics-based method also depends on its parameter values, but for an image from an unknown source these values can be tuned only blindly.In this paper the blue shift assumption is proposed, which acts as a heuristic for choosing the optimal parameter values in such cases.It is based on real-world illumination statistics coupled with the results of a subjective user study and its application outperforms blind tuning in terms of accuracy.The source code is available at http://www.fer.unizg.hr/ipg/resources/colorconstancy/.
INTRODUCTION
2Color constancy enables the human visual system to recognize object colors even under various illumination (Ebner, 2007).Digital cameras also implement some form of computational color constancy (Kim et al., 2012).It first estimates the scene illumination and then it corrects the colors through chromatic adaptation (Gijsenij et al., 2011).The image formation model commonly used for illumination estimation and written under Lambertian assumption is (Gijsenij et al., 2011)
3where c ∈ {R, G, B} is a color channel of the image f, x is a given image pixel, λ is the wavelength of the light, ω is the visible spectrum, I(λ, x) is the spectral distribution of the light source, R(λ, x) is the surface reflectance, and ρ c (λ) is the camera sensitivity of color channel c.Removing x from I(λ, x) by assuming uniform illumination simplifies the problem so that observed light source is then (2)
4A successful chromatic adaptation requires only the direction of e (Barnard et al., 2002).However, since both I(λ) and ρ(λ) are unknown and only f is given, calculating e is an ill-posed problem, which is solved by introducing various assumptions.Over time this gave rise to two main groups of illumiantion estimation methods.In the first group are low-level statistics-based methods such as White-patch (Land, 1977;Funt and Shi, 2010) and its improvements (Banić and Lončarić, 2013;Banić and Lončarić, 2014a;Banić and Lončarić, 2014b), Gray-world (Buchsbaum, 1980), Shades-of-Gray (Finlayson and Trezzi, 2004), Grey-Edge (1st and 2nd order) (Van De Weijer et al., 2007).The second group consists of learning-based methods such as gamut mapping (Finlayson et al., 2006), natural image statistics (Gijsenij and Gevers, 2007), spatio-spectral learning (Chakrabarti et al., 2012), simplifying the illumination solution space in various ways (Banić and Lončarić, 2015a;Banić and Lončarić, 2015b;Banić and Lončarić, 2015b;Banić and Lončarić, 2017), using color/edge moments (Finlayson, 2013), regression trees with simple features from color distribution statistics (Cheng et al., 2015), spatial localization (Barron, 2015;Barron and Tsai, 2017), using various convolutional neural network architectures (Bianco et al., 2015;Shi et al., 2016;Hu et al., 2017;Qiu et al., 2018).
5The most recent learning-based methods outperform the statistics-based ones by far and in some cases the estimation error can only be attributed to violation of uniform illumination assumption or wrong groundtruth illumination (Zakizadeh et al., 2015).Nevertheless, learning-based methods work so accurately only for images taken with the same sensor and in similar conditions as the ones used in the training dataset.For images taken with another sensor they will usually fail because different sensor characteristics described by ρ(λ) were present during image formation (Banić and Lončarić, 2017).Thus, for a single image in the wild from an unknown source learning-based methods will usually not be useful.In cases like this statisticsbased methods will often be more accurate because of their simpler assumptions not bounded to any specific sensor.The accuracy of statistics-based methods also depends on their parameter values, but for a single image from an unknown source these values can be tuned only blindly.In this paper the blue shift assumption is proposed, which acts as a heuristic for choosing the optimal parameter values in such cases.It is based on real-world illumination statistics coupled with the results of a subjective user study and it is more accurate then blind tuning.
6The paper is structured as follows: Section 2 gives the motivation for making a new assumption, in Section 3 the so called blue shift assumption is proposed, Section 4 contains the experimental results, and Section 5 concludes the paper.
MOTIVATION 2.1 Real-world Observations
7As mentioned in the introduction, assumptions are needed to handle the illumination estimation problem.While learning-based methods try to extract additional information about images to obtain more accurate illumination estimations, such learning is not possible when only a single image from an unknown source is given and in such cases statistics based methods should be preferred.Most of these methods also have parameters whose values affect the accuracy, but without having any other images from the same source, it is hard to automatically tell which parameter values will give the most accurate result.One of the solutions is to look for additional properties that are usually encountered in natural images.If the basic statistics of illuminations that influence natural images are observed, some general patterns can be observed.For example, by looking at the red chromaticities of systematically measured real-world illu-mination colors as shown in Fig. 1, it can be seen that the majority of them is centered around lower values.From theoretical aspect this could mean that the realworld illumination or at least the illumination in images of scenes mostly taken by people tends to have lower red chromaticity values i.e. higher blue chromaticity values because of the strong linear connection between the two (Banić and Lončarić, 2015a).
8The root cause for this asymmetry can be found in the fact that most of images are taken in outdoor conditions.For example, in the GreyBall dataset (Ciurea and Funt, 2003) that contains 11346 images roughly 57% of them were taken outdoor, for the eight NUS datasets (Cheng et al., 2014) this amounts to roughly 74%, while for RAISE, the challenging real-world image dataset (Dang-Nguyen et al., 2015), this goes over 85%.Namely, in outdoor conditions the most common two illumination sources are the sun and the light scattered across the sky with the latter one having more blue chromaticity and less red chromaticity almost by definition.In practice this means that the scene illumination of taken images will generally tend to be shifted more to the blue.
9Figure 1: The red chromaticity distribution of the groundtruth illuminations from the GreyBall dataset (Ciurea and Funt, 2003).
Numerical Observations
10Since illumination estimations of statistics-based methods appear "to correlate roughly with the actual illuminant" (Finlayson, 2013) i.e. "they occupy roughly the same region in the chromaticity plane" (Banić and Lončarić, 2017), this further means that this empirical information could be applied to illumination estimations.For example, when a statistics-based method produces different results for various parameter values and it has to be decided which one to select as the final one without having any other information, the ones shifted more to the blue should on average probably be preferred.To check to what degree illumination estimations correlate to the actual ground-truth illumination with respect to the being shifted more or less to the blue, it is enough to perform simple counting of illumination estimations given by chosen methods where the red chromaticity is less than the red chromaticity of the groundtruth.Probably the best known statistics-based methods with at least one parameter are Shades-of-Gray, General Gray-World, 1st-order Gray-Edge, and 2ndorder Gray-Edge.All of these methods have the Minkowski norm p parameter, while all but Shadesof-Gray additionally have the σ parameter for Gaussian smoothing.For the purpose of counting the parameter values were constrained to p ∈ {1, . . ., 10} and σ ∈ {1, 2, 3}.If for all combinations of these parameter values every of the mentioned methods is applied to each image in the Cube dataset (Banić and Lončarić, 2017), eight NUS datasets (Cheng et al., 2014), and the GreyBall dataset (Ciurea and Funt, 2003), the percentages of the illumination estimations whose red chromaticity is less than the red chromaticity of the ground-truth illumination for a given image are given in Table 1.It can be seen that across methods and datasets in most cases illumination estimations are on average shifted too much to the red.
Statement
11The previous section boils down to the following two observations: 1) real-world images are taken under illumination that is on average shifted more to the blue, and 2) most commonly used statistics-based illumination estimation methods give illumination estimations that are on average shifted more to the red.
12Based on these two observations, the so called blue shift assumption can be proposed: among several candidate illumination estimations for a given image, the ones with the lower red chromaticity are more accurate.It has to be stressed again that this is only an assumption like e.g. the Gray-World assumption that assumes the average scene reflectance to be achromatic.Such and similar assumptions are often violated, but as as explained in the introduction, they are still required because of the ill-posed nature of the illumination estimation problem.The blue shift assumption is applied to existing illumination estimations, which means that it can be used only in combination with other assumptions used by the methods that initially created these illumination estimations.
Application
13The simplest application of the proposed blue shift assumption to a set of illumination estimations would be to choose the one with the lowest red chromaticity.However, empirically it has been found out that it is better to take the illumination estimation with the second lowest red chromaticity.This founding can be atrributed to the fact that the lowest red chromaticity has a higher probability of being an outlier and should therefore be avoided.Additionally, when inspecting cases where there was no significant outlying, the difference between the lowest and second lowest red chromaticity was not found to be significantly high.All this justifies taking the second lowest red chromaticity in order to avoid potential outliers.The formal notation of the described procedure is given in Algorithm 1.
14Algorithm 1: Blue shift assumption.
Input:
15estimation chromaticities E = {e (1) , . . ., e (n) } Output: assumed optimal illumination estimation e * 1: r = min
Subjective Error Assessment
16When the application of the blue shift assumption mistakenly increases the angular error, the resulting chromatically adapted image will by definition tend to be subjectively warmer than an average image with the same illumination estimation error.This is because the red component will be reduced, which in turn will result in less reduction of the redish illumination influence and thus subjectively warmer images.A recent user study has shown "that when the illuminations are distinct, there is a preference for the outdoor illumination to be corrected resulting in warmer final result" (Cheng et al., 2016).In other words even if the application of the blue shift assumption increases the error, subjectively it is still more acceptable than a colder result with the same angular error as can be seen in Figure 2.However, as can be predicted by the results shown in Table 1, a more usual effect of the blue shift assumption application will be to choose the illumination estimation that is less shifted to the blue than other illumination estimations produced by a given method for various parameter values.2: The effect of red and blue illumination shifting based on the application of the blue shift assumption to the results of the Shades-of-Gray method (Finlayson and Trezzi, 2004) to one of the images from the NUS datasets (Cheng et al., 2014): (a) chromatic adaptation with the result of application of the blue shift assumption and an angular error of 11.56 • , (b) chromatic adaptation with ground-truth illumination, and c) chromatic adaptation with the illumination of the same angular error of 11.56 • as in a), but with the opposite i.e. red shifting.
Experimental Setup
17The validity of the blue shift assumption was tested on the Cube dataset (Banić and Lončarić, 2017) and eight linear NUS datasets (Cheng et al., 2014) because they all have linear images in accordance with Eq. 1.The ColorChecker dataset was not used because it has been shown on several occasions (Lynch et al., 2013;Finlayson et al., 2017) that it has a public record of biased and wrong usage.Additionally, the GreyBall dataset has also not been used for two reasons.The first one is that it contains non-linear images.The second reasons is that it was used to observe the regularity that serves as the basis for the blue shift assumption, so it may be biased to use it for testing the validity of the assumptions.Among various estimation accuracy measures (Gijsenij et al., 2009;Finlayson and Zakizadeh, 2014;Banić and Lončarić, 2015a) the most commonly used one is the angle between the illumination estimation vector and the ground-truth illumination i.e. the angular error.When describing the angular errors on a dataset by a single statistic, the median angular error is considered to be the best choice (Hordley and Finlayson, 2004) due to the properties of angular error distribution.
Baseline Methods
18The blue shift assumption is supposed to be used in cases when there is only a single image available i.e. when there are no other training images.In such circumstances practically no learning-based method can be either trained or used.As for the statisticsbased methods, their parameter values can also not be checked on other images to see which ones should be preferred.A simple baseline method for a single image in this case is to simply average the results obtained for various parameter values without giving preference to any of them.It is also interesting to see what errors are produced by ideally fixed parameter values for a given dataset.While this is definitely unfair because of the advantage of the knowledge of the whole dataset, for comparison purposes it is useful to see how far or close the from such errors is the application of the blue shift assumption.
Accuracy
19The tested statistics-based methods with at least one parameter were as earlier Shades-of-Gray, General Gray-World, 1st-order Gray-Edge, and 2nd-order Gray-Edge.The parameter values were also constrained in the same way.Table 2 shows the angular errors obtained by the baseline methods and the (Banić and Lončarić, 2017) and eight NUS datasets (Cheng et al., 2014) (lower is better).The used format is the same as in (Barron and Tsai, 2017).blue shift assumption on linear images of the Cube dataset and eight NUS datasets.In all but one case the blue shift assumption leads to higher accuracy than the simple averaged baseline method.As for the ideally fixed parameters, on NUS datasets they always give lower errors and on the Cube dataset only once.An additional property of the blue shift assumption is that it is more stable than the simple averaged baseline method.Namely, as the number of possible parameter values increases, the accuracy of the averaged result tends to decrease, while the one of the blue shift assumption remains much more stable.In Fig. 3 this is shown for the results of applying the Shades-of-Gray method to the NUS datasets.There is another important thing to be observed in Table 2, namely the fact that for supposedly more accurate methods the blue shift assumption also results in higher estimation accuracy.For example in terms of median angular error on both the Cube and the NUS datasets the blue shift assumption gives higher accuracy for 1st-order Gray-Edge than for General Gray-World and it also gives higher accuracy for General Gray-World than for Shades-of-Gray.When the blue shift assumption is applied to nonlinear images, the positive effect is visible to a lesser extent as can be seen on the results for the non-linear images of the GreyBall dataset (Ciurea and Funt, 2003) shown in Table 3.Here the blue shift assumption leads to higher accuracy than the simple averaged baseline method in half of the cases.The main difference between these images and the images from the Cube and NUS datasets is that the images in the GreyBall dataset are non-linear, which practically always leads to higher errors in illumination estimation accuracy for a given method (Gijsenij et al., 2011;Gijsenij et al., 2018).This shows how increased estimation errors also lead to inefficiency of the blue shift assumption.Something similar could also have been observed in Table 2 for linear images where the blue shift assumption was shown to be less efficient when applied to results of less accurate methods.
Discussion
20The experimental results clearly show the benefits of the blue shift assumption over the simple averaged baseline method.In addition to being more accurate, this assumption is also more stable when the number of illumination estimations to be combined changes.The blue shift assumption failed to outperform the averaged baseline only for the General Gray-World method on the NUS datasets.It is also interesting to note that in many cases the blue shift assumption outperforms the results obtained by using ideally fixed parameters, which shows the benefits of the assumption's dynamical parameter values adjustment.The cases for which the blue shift assumption fails are the ones where all underlying illumination estimations are already erroneously shifted to the blue or where they are all very close to the ground-truth illumination.Nevertheless, as explained previously in more detail in Section 3.3, the resulting errors are relatively acceptable.
21Table 3: Angular errors on the non-linear images of the GreyBall dataset (Ciurea and Funt, 2003) (lower is better).The used format is the same as in (Barron and Tsai, 2017).
CONCLUSIONS
22The so called blue shift assumption has been proposed to increase the accuracy of statistics-based methods for the case when there is only one image given from an unknown sensor.It was experimentally shown to outperform the simple averaging baseline method when no preference is given to any of the parameter values of a chosen statistics-based method.The results of a user study can additionally be used to show that even in failure cases the blue shift assumption produces results that are subjectively more acceptable than average failure cases.In future some better outlier removal strategies in the blue shift assumption will be researched to further increase the accuracy.Another direction will be to look for some other similar properties that can be used when only on a single image is given.
23* ← e(m)
Figure 3 :
24Figure 3: Combining the results of the Shades-of-Gray method on NUS datasets for various upper limits on p.
Table 1 :
25Percentages of the illumination estimations whose red chromaticity is less than the red chromaticity of the groundtruth illumination.
Table 2 :
26Combined angular errors on the linear images of the Cube dataset
참고문헌
참고문헌 정보가 없습니다.