Fig. 1. Steps of the processing of images. (a) the first row shows original images of some irregular potatoes moving on the conveyor belt, the second row is the segmentation
of tubers from the background, the third row is the segmented image after median filtering and the fourth row is the boundary edges of each tuber; (b) identifying the axis of
inertia, coordinates of boundary points, centroid and major and minor axes in addition to extracting the boundary profile r(t) from the boundary to the centroid