Fig. 3

Segmentation algorithm: (a) A multispectral image of a batch of olive leaves, (b) the binarization result using the Otsu threshold, (c) the result of masking the original image with the binarized image, and (d) the individual leaves generated.