To further test the feasibility of the developed algorithm,
experiments were carried out to assess the accuracy of infestation
detection. Guava and peach fruits were implanted with
fruit fly eggs and the infestation sites by the hatched fruit fly
larvaewere manually assayed and recorded. The X-ray images
of these infested fruits were also acquired and processed with
the adaptive segmentation procedure. Totally, 86 infestation
sites in the flesh part of 25 guava fruits and 135 infestation
sites of 35 peach fruits were manually identified. The areas of
infestation sites in fruits ranged from 3.54mm2 to 70.91mm2,
which correspond to the areas of 80 pixels to 1600 pixels in the
X-ray images when the magnification ratio of X-ray system is
1.9×.