Escolar Documentos
Profissional Documentos
Cultura Documentos
2G R B transform model is used. Its principle is shown as (with the exception of crop serious absent), the number of
formula (1). strips may be equal to the number of pixel rows in the image
0 2G R+B but in order to reduce the amount of subsequent computations
it may be feasible to let each strip consist of more than one
pixel ( x, y ) = 2G R-B other (1)
pixel row [8]. Vertical projection method is used for obtaining
255 2G R + B + 255
the centre of the row for each image strip.
Where G, R, B are equal to the green, red and blue Here, several statistical formulas were used. Suppose
value of po int( x, y ) respectively in the colour image, that the resolution of image is M N pixels. The image
strip size is M h . I (i, j ) is the grey value of the pixel in
pixel ( x, y ) denotes the grey value of po int( x, y ) in the
position (i, j ) , s ( j ) is the result of summation of column j ,
grey image, and confined to [0, 255].
Compared with other possible colour channel m is the mean grey value of the whole image strip, thus,
h
combinations this method is reported to yield good results
s ( j ) = I (i, j ) j = 1, 2," M (2)
(Woebbecke et al., 1995), and has been proved to work well i =1
for the present image (Figure 2). It has worked well for a M
1
wide range of illumination conditions, ranging from bright m=
M
s( j )
j =1
j = 1, 2," M (3)
sunlight to a totally overcast sky.
115
Proceedings of the 2010 International Conference on Wavelet Analysis and Pattern Recognition, Qingdao, 11-14 July 2010
j is down-point j is up-point
No Yes
Dud >Td
116
Proceedings of the 2010 International Conference on Wavelet Analysis and Pattern Recognition, Qingdao, 11-14 July 2010
3.1. Results (1) For green crops, the green value is larger than that of
red and blue, the 2G-R-B transform model can convert all
Use a serial of wheat field images at different growth colour images into grey scale images efficiently and
stages and in different light conditions to test the algorithm. effectively.
Figure 7 is a typical image obtained in a cloudy day. Image (2) In order to increase the image-processing speed,
size is 400h300 pixels. Practical experience has shown that firstly, image division was presented, the binarization image
division of the image into approximately 10 strips is suitable. was divided several horizontal image strips; and then, the
Each strip size is 400h30 pixels. centres of crop rows for each strip were obtained by grey
level accumulation in vertical direction.
Using the algorithm as mentioned above, the detected (3) HT was used for crop rows detection, because it is a
crop rows has shown in Figure 7. Corresponding equations in robust algorithm even in the crop absent.
image coordinate can be obtained as follows: (4) The detection algorithm consumed 70ms to process a
yleft = 4.7046 x + 428.0664 ; colour image with 400h300 pixels in the PC with a 1.8.GHz
CPU.
ymiddle = 14.3007 x + 3067.8000 ; Experiment has approved the algorithm could detect all
yright = 7.1154 x 217.0000 the centrelines under different weather conditions. However,
if the wheat canopies became too close or the inter-row space
was too narrow, the centrelines of the rows were not
satisfactory. Therefore, how to use crops' other information to
effectively extract crop rows is the important work for next
step.
Acknowledgements
References
117
Proceedings of the 2010 International Conference on Wavelet Analysis and Pattern Recognition, Qingdao, 11-14 July 2010
[6] Reld, J.E and Searcy, S. W. An algorithm for computer and electronics in agriculture, Vol 38, No. 2, pp.
vision sensing of a row crop guidance directrix, 141-158. 2003.
Transactions of the SAE, Vol 100, No. 2, pp. 93-105, [9] Zuoyun Yuan, Zhihuai Mao, Qing Wei. Orientation
1991. technique if crop rows based on computer vision,
[7] Hui Fuang Ng. Automatic thresholding for defect Journal of China Agricultural University, Vol 10, No. 3,
detection, Pattern Recognition Letters, Vol 27, No. 14, pp. 69-72, 2005.
pp. 1644-1649, 2006. [10] Leandro A.F. Fermandes, Manuel M. Oliveira.
[8] H. T. Sogaard, H. J. Olsen. Determination of crop rows Real-time line detection through an improved Hough
by image analysis without segmentation, Computers transform voting scheme, Pattern recognition. Vol 41,
No. 1, pp. 299-314, 2008.
118