Skip to main content
Fig. 4 | Plant Methods

Fig. 4

From: Wheat ear counting using K-means clustering segmentation and convolutional neural network

Fig. 4

Wheat ear contours feature extraction diagrams. a Clustering image, b binarization image by removing background noise and the burr around, filling in the holes inside in the wheat ear, c masked segmentation image. The image segmentation and contour extraction were developed in the Python OpenCV library using the findContours function, then wheat ears are marked on the original image

Back to article page