Novel algorithm for segmentation and automatic identification of pests on plants using image processing | Synapse