Text this: A rule-based segmentation method for fruit images under natural illumination