Académique Documents
Professionnel Documents
Culture Documents
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com Volume 2, Issue 2, March April 2013 ISSN 2278-6856
Daylight Color Model for Outdoor Machine Vision in Bandar Abbas, Iran
Sahragard, Nasrolah
Department of Electrical and Computer Engineering, Hormozgan University, Bandar Abbas, Iran Km 9 Minab Road, p.O.Box 3995 Bandar Abbas, Iran
Different models of surface reflectance are described by Dana [18], Nicodemus [19], and Horn [2]. Their models are built by a bidirectional reflection distribution function called (BRDF) that describes how light in a given direction is reflected off a surface at specified orientation. Because of the composition of incident light and surface characteristics, different spectra of light are reflected at different surface orientations and this makes BRDF very complex. The simple Lambertian model is explained by Horn [2]. It describes the reflectance of matte surfaces as Oren and Nayar [20] and Wolf et al. [21] state. It predicts that light incident upon a surface is scattered equally in all directions where the total light being reflected is a function of the incident angle. The composite of the specular and lambertian components are used by Cook and Torrance [22] and Klinker [10] to model surfaces with specular components. For example, shafer [5] models surface reflectance as a linear combination of the diffuse and specular components, and finds weights of each component from a measure of specularity. Shafer's dichromatic reflectance model shows that color changes in RGB lies within a parallelogram, the length and breath of which are determined by the two reflectance components. Klinker [10] shows in dichromatic model, surface reflectance is of dog legged type ("" shaped) distribution in RGB. Sato and Ikeuchi [23] use temporal images to model surface components. All of these methods are based on the existence of pure specular reflection from a point source light. For the reason that daylight is an extended light source and not a point source, none of the methods discussed above could be used for outdoor images. Buluswar [24] developed color models for outdoor machine vision that predicts the color of a surface. His model is applied to outdoor images in North America under good weather condition. His models may not be valid for different geographical places with different weather environment. Humidity, fog, haze, hail, etc. will change the applicability of his models for outdoor machine imagery. A method for automatic color correction is brought about in 2004 by Gasparini and Scheltini [25]. Their method in Page 249
1. INTRODUCTION
Daylight color model and surface reflectance model are two main models in predicting surface color. An important feature of color object recognition in machine vision is color. The CIE daylight model (Commission of International Illumination 1931) [1] has deficiencies which makes it unfit for use in outdoor machine vision. These deficiencies include the effect of ambient light from the sky, the effect of light reflected off the ground, and the effect of context information. Other daylight color model [1] and surface reflectance models [2], [3], [4], [5] which are not used in the images of outdoor machine. In color constancy area under changing illumination, a major computational work is needed for color recognition. In this area, one tries to match the object colors not knowing the composition of incident light or surface reflectance. In the area of color constancy, lots of work have been done by Land E [7], D' Zumra and Iverson [12], Ohata and Hayashi [14], Yuile [9], Shafer [5], Simonds [6], Forsyth [11], Finlayson [15], Maloney and Wandell [8], Klinker et al. [10], Funt et al. [17], Novak and Shafer [13], and Funt and Finlayson [16]. But the applicability of their work has not served its usefulness in outdoor machine images.
Page 250
Figure 2: Linear schematic of CIE Model in HSV color space the sky, ground reflection, and context information. To include these factors in the model of daylight for more practicality, color models have been developed by Buluswar [25]. His model is used for estimating the surfaces color for several places in North America under clear weather conditions and its usage for other places in the world and under different weather conditions such as humidity, fog, haze, and rain etc. is not established. The goal here is to build such a model that would fit the weather conditions in Bandar Abbas with mostly hot and humid weather. The previous model fails to be useful in resembling daylight color for the following reasons. It does not cover all variations in illumination angle and it is not constructed in a hot and humid place in order to convey this information and its effects. Another daylight model is built by Sahragard [31] for Malaysia where such a humid and hot weather exist. This model cannot be used for Bandar Abbas since the geographical location is different with longitude 56.2917E and latitude 27.1861N. Malaysia has longitude 101.7E and latitude 3.1597N. Because of this reason and also to include local context information a daylight color model is built for
Table 1: Representation of Illumination color model showing hsv and brightness (Br) values for the incident light in the direction of the sun (hsvsun and Brsun) and away from the sun (hsvaway and Braway) for various conditions, along with the corresponding standard deviations and the number of samples (#). The different conditions are indexed by sun angle, cloud cover (cloud %) and the sun visibility factor (SV). Hsvsky in the last column shows the average color of the sky measured with the white surface facing up towards the sky. Sun Cloud Sun h brh-away brAngle % Visibility T* H* #
Page 251
s
.372 .261 .265 .159 .167 .075 .211 .117 .066 .081 .032 .047 .085 .051 .132 .045 .148 .043 .152 .027 .139 .027 .135 .052 .129 .038 .127 .031 .093 .046 .118 .024 .112 .071 .014 .039 .013 .018 .083 .011
Brsun
sun
hsvaway .5236 .1324 .3439 .5356 .1537 .3595 .5398 .2101 .3784 .4897 .2118 .3663 .4489 .1355 .3532 .4561 .1271 .3439 .3841 .1511 .3552 .4648 .1312 .3567 .5315 .2354 .3710 .4497 .1576 .3496 .3853 .1114 .3613 .4180 .0562 .3438 .3710 .1108 .3398 .4724 .1351 .3557 .3811 .1209 .3512 .3413 .0671 .3397 .5471 .2843 .3756 .3610 .0876 .3453 .4101 .0892 .3437 .3773 .0603 .3426
s-away .055 .072 .054 .079 .02 .08 .129 .013 .135 .061 .119 .063 .153 .059 .153 .082 .027 .039 .157 .028 .116 .067 .082 .007 .241 .038 .079 .141 .156 .071 .143 .036 .182 .023 .142 .017 .037 .049 .094 .021
Braway
away
hsvsky .5593 .1208 .3518 .5351 .1112 .3512 .5126 .0398 .3412 .4853 .2115 .3724 .5218 .4284 .3393 .5723 .0911 .3378 .4673 .0723 .3417 .5428 .0792 .3516 .5431 .0541 .3319 .5812 .0532 .3396 .5508 .3364 .3480 .5111 .0562 .3214 .5821 .0734 .3398 .5483 .0462 .3395 .5424 .0836 .3457 .3789 .0483 .3392 .5672 .0613 .3397 .4337 .0231 .3378 .5183 .0621 .3422 .5273 .0654 .3392
0-10
0-20
2758
774
24.1
89.6
10
275
25.5
0-10
21-50
2356
623
25.4
93
245
53
0-10
51-70
0.5
1528
1119
24.9
98
233
115
0-10
71-100
478
589
27.8
89
19
91
54.8
11-25
0-20
5397
1140
29.5
77
20
491
137
11-25
21-50
6496
1213
35.7
72
592
167
11-25
51-70
0.5
1872
1523
30.4
85.1
17
547
183.3
11-25
71-100
637
397
29.5
93
16
91
3.12
26-45
0-20
6874
1211
33.9
61
598
36.8
26-45
21-50
6232
1392
30.4
71
21
1311
348.9
26-45
51-70
0.5
3687
1923
28.7
63.9
14
1202
340.5
26-45
71-100
1510
348
29
76.8
12
1128
131.2
46-60
0-20
5473
1509
35.3
63
1359
241
46-60
21-50
6108
863
35
58
19
1612
1032
46-60
51-70
0.5
3136
1631
42
59
18
1311
463
46-60
71-100
1226
1126
32
68.5
979
542
61-75
0-20
5886
1285
34.2
59
975
171
61-75
21-50
5414
832
32.9
61
15
1544
421
61-75
51-70
0.5
3562
1289
32.3
59
27
1568
439
61-75
71-100
1837
321
32.1
64
1213
369
H* is humidity
h s
.092 .069
brBrsun
sun
T*
H*
Br
away
braway
76-90
0-20
4227
419
32.0
59
1497
258
Page 252
76-90
21-50
3682
471
32.7
58
1869
245.5
76-90
51-70
0.5
2443
1018
34.1
54.7
18
1602
427
76-90
71-100
1592
563
31.3
57
1381
362
As it is discussed above the CIE color model cannot be used for applications involving outdoor images and in outdoor machine vision. So a suitable daylight color model is built and the color of incident daylight is shown in HSV color space. This daylight color model along with a model for surface reflectance function will help us to predict the color of a surface. Normalized Photometric Function (NPF) is the normalized HSV distance between Lambertian and Illuminant color versus relative viewing angle since the color will be on the dichromatic line somewhere between Lambertian and Illuminant color. To do this, the albedo of the surface or the 3x3 color coefficient matrix should be found for the surface being under red, blue, and green light. Outdoor machine vision applications such as obstacle detection, road-following, and landmark recognition rely mostly on accurate color based models of daylight and surface reflectance. For fruit pick up where the color of fruit could help determine if it is ready for harvesting. It is also possible to measure the ripeness of the fruit by estimating its color. now, the model is expected to work for flat surfaces. An extension of the work for the spherical or elliptical surfaces may apply to food industry for outdoor machine.
References
Figure 3: Linear CIE Model versus our data where ambient skylight and ground reflection are causes of the s shift. For linear CIE: H = (hmax hmin) x 360=306.612 S = (smax smin) =0.7199 For our color model: H= (hmax hmin) x 360=236.88 S = (smax smin) x 360=0.3476 So hue for CIE color model is (236.88/306.612)x100=77.26%. It means that observed data is covering only 77.26% of angles covered by CIE linear in HSV color space. Saturation for our developed model is (0.3476/0.7199)x100= 48.28% so the observed data is covering only 48.28% of saturation covered by CIE linear in HSV. [1] Judd, D., MacAdam, D. and Wyszecki, G.,"Spectral Distribution of Typical daylight as a Function of Correlated Color temperature",. Journal of the Optical Society of America 1964. 54(8): p. 1031-1040. [2] Horn.B, Robot Vision. MIT Press, Cambridge, MA, 1987. [3] Nayar, S.K., K. Ikeuchi, and T. Kanade, Determining shape and reflectance of hybrid surfaces by photometric sampling. IEEE Transactions on Robotics and Automation, 1990. 6(4): p. 418-431. [4] Phong , B.T., Illumination for Computer Generated Pictures. Communications of the ACM, 1975. 18(6): p. 311-317. [5] Shafer, S.A., Using Color to Seperate Reflection Components. Color Research Application, 1985. 10(4): p. 210-218. [6] Simonds, J., Application of characteristic vector analysis to photographic and opyical response data Journal of the Optical Society of America A: Optics and Image Science, and Vision, 1963. 53(8).
5. CONCLUSION
Volume 2, Issue 2 March April 2013 Page 253
Author
Nasrolah Sahragard received the B.S. and M.S. degrees in Electrical and Computer Engineering from Louisiana State University, USA in 1981 and 1983, respectively. Then he worked for Auto-Com Telecommunication Company and later joined Southern State University in Louisiana. He has worked for the Electrical and Computer Engineering department at Hormozgan University in Bandar Abbas, Iran since 1990. He attended British Colombia institute of Technology in Canada from 1999-2001 and received his Ph.D in Robotics and Artificial Intelligence from University Putra Malaysia in 2011.
Page 254