Exact enumeration of aphids before the aphids outbreak can provide basis for precision spray.This paper designs counting software\nthat can be run on smartphones for real-time enumeration of aphids. As a first step of the method used in this paper, images of\nthe yellow sticky board that is aiming to catch insects are segmented from complex background by using GrabCut method; then\nthe images will be normalized by perspective transformation method. The second step is the pretreatment on the images; images\nof aphids will be segmented by using OSTU threshold method after the effect of random illumination is eliminated by single image\ndifference method.Thelast step of the method is aphids� recognition and counting according to area feature of aphids after extracting\ncontours of aphids by contour detection method. At last, the result of the experiment proves that the effect of random illumination\ncan be effectively eliminated by using single image difference method. The counting accuracy in greenhouse is above 95%, while\nit can reach 92.5% outside.Thus, it can be seen that the counting software designed in this paper can realize exact enumeration of\naphids under complicated illumination which can be used widely.The design method proposed in this paper can provide basis for\nprecision spray according to its effective detection insects.
Loading....