Abstract:A C—V model based on level set and prior information was proposed and was applied to segment weed, wheat and apple images. Based on the characteristics of the image, the image was represented by a model which made the image easy to segment at first, and then the data contents of a region of interest in this model were extracted as the prior information. An initial contour by hue was obtained and the proposed model by this contour was initialized, the level set function was iteratively solved. Finally, a stationary-contour was obtained. The correct rates of weed, wheat and apple were 0.999, 0.999 and 0.846 respectively and the error rates were 0, 0 and 0.125 respectively.