An approach to apple surface feature detection by machine vision

Abstract This paper presents a new technique for the detection of surface features in apple images. By introducing the concept of topographic representation for these images, the detection of the patch-like features is treated as one of catchment basin detection in apple grey-level landscapes. A flooding algorithm is adopted and modified to detect the catchment basins, i.e. the features. The implementation of the algorithm is explained in detail. After the flooding process, the catchment basins become lakes for which geometric parameters such as area and perimeter can easily be extracted. The test results of the proposed technique on Golden Delicious and Granny Smith apples are presented. A comparison with the existing background subtraction method has been made to show the advantages of the new approach. In a more general way, the proposed method is applicable to feature detection for other types of produce which have relatively uniform skin colour.