Abstract

Thresholding is an important step in the segmentation of image features, and the existing methods are not all effective when the image histogram exhibits a unimodal pattern, which is common in defect detection of fruit. This study was aimed at developing a general automatic thresholding methodology for fast and effective segmentation of bruises from the images acquired by structured-illumination reflectance imaging (SIRI). SIRI images, under sinusoidal patterns of illumination at a spatial frequency of 100 cycles m −1 , were acquired from 120 apple samples of four varieties with artificially created bruises and from another 40 apples with naturally occurred bruises. Subsequently, three sets of images, i.e., amplitude component (AC), direct component (DC) and ratio (i.e., dividing AC by DC), were derived from the original SIRI images. A unimodal thresholding method, called UNIMODE, was first applied to DC images for background removal, and then nine automatic thresholding techniques, including one unimodal and eight bimodal, were applied to the ratio images for bruise segmentation. It was found that severe over-segmentation occurred when using the bimodal thresholding methods, and this problem was mitigated by confining threshold selection to the lower part of the histogram that contained bruise information. Three bimodal thresholding techniques, i.e., INTERMODE (histogram valley emphasized), RIDLER (iterative thresholding), OTSU (clustering based) achieved the best bruise detection results with the overall accuracies of more than 90%. The overall detection results were further improved by integrating these techniques with the unimodal thresholding, due to reductions in the false positive error. The three bimodal thresholding techniques resulted in overall detection accuracies of 77–85% for naturally occurred bruises. This study has showed that the proposed automatic thresholding methodology provides a simple and effective tool for bruise detection of apples.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call