Improvement procedure for image segmentation of fruits and vegetables based on the Otsu method