摘要

In this study, we propose a method for correcting the adverse effects produced by the curvature of fruit objects in images acquired by cameras in machine vision systems. The areas near the edge are darker in acquired images than in the centre, which results in many difficulties for subsequent analyses. In this paper, the fruit object was considered as a Lambertian surface. The light intensity was analysed and the height and normal on fruit surface was deduced based on the shape-from-shading (SFS) algorithm. The geometric correction factors were calculated and the adverse effects of light intensity were corrected on the fruit surface. The proposed method was evaluated on a test set of four types of fruit. The results show that the non-uniformity of the greyscale value on the fruit surface fell by 35.5% after correction, and the reflectance in the central area of fruit is similar to that of the peripheral areas when using the proposed method. The experiments prove that our method allowed homogenisation of the greyscale level of the pixels belonging to the same class, regardless of where they are on the fruit surface, which will facilitate subsequent classification tasks.

全文