Insect Extraction Based on the Improved Color Channel Comparison Method

Color Channel Comparison Method is an effective method to transform color images into gray ones. This method can enhance pests’ characteristics and remove the background to some extent. However, some interfering background cannot be removed. In order to solve this problem, an improvement on Color Channel Comparison Method is realized in this paper. Comparisons between gray brightness and a threshold value determine whether the pixel is the interfering background. And the threshold value is determined according to the brightness of the image. Empirical results show that the interfering background in black or white pests’ photo is effectively cleared, and black or white pests can be more effectively separated from the colored background by using the improved method. The improved color channel comparison method can effectively solve the interfering background problem of Color Channel Comparison Method.