DETECTION OF PINHOLES IN ALMONDS THROUGH XRAY IMAGING

Simon Kim, Thomas F. Schatzki

Transactions of the ASAE · 2001 · 48 citations · 0 references

Concepts

Abstract

Pinhole insect damage in natural almonds (i.e., in nuts with the brown skin intact) is very difficult to detect online. For quality reasons, methods to detect and remove such damaged nuts are of great importance. In this study, we exploredthe possibility of using Xray imaging to detect pinhole damage in almonds by insects.Xray film and xray linescanned images of 522 pinholedamaged almonds were obtained. Of these film images, 505were successfully digitized to 8 bits by use of a film scanner with a 0.173mm detector pitch, and 499 of the 505 were collectedby a linescan unit with 0.5mm pitch photodiodes, again at 8 bits. The pinholedamaged region appeared slightly darkerthan the nondamaged region in Xray negative images. A machinerecognition algorithm was developed to detect thesedarker regions. The algorithm used firstorder (pixel intensity) and secondorder (intensity change) information to identifythe damaged region. To reduce the number of false positive results due to germ regions in highresolution images, germdetection and removal routines were also included. With scanned film images, the algorithm showed approximately an 81%correct recognition ratio with only 1% false positives. With linescanned images, 65% of the pinholes were correctlyrecognized with less than 12% false positives. The algorithm was very fast and efficient, requiring only minimal computationtime. The computation rate, if implemented on line, was estimated to be 66 nuts/s, while the xray line scanner could achievea scan rate of 24 nuts/s.