Skip to content

Evaluating a image of tea plantation that is taken from a drone.

Notifications You must be signed in to change notification settings

sachinkahawala/teaLeaveImageEvaluation

Repository files navigation

teaLeaveImageEvaluation

Evaluating a image of tea plantation that is taken from a drone.

Following methodology is proposed to hilight the tea buds from other leaves.

Following input image is taken through the above process and the results are being showed and explained in this section.

For the input image first step was to equalize the histogram to enhance the features of the image.

As we can see from the histogram equalized image tea buds are further highlighted. Furthermore, the edge details have being enhanced. One slight disadvantage here is that the effect of sunlight also has being enhanced. Next step is to apply the HLS colour filter on the histogram equalized RGB image.

As we can see here tea buds are further highlighted with a bright yellow colour. Since this is a three-colour space if we try to get a clusteration on this it can be prone to errors. For an example, since we are using Euclidean distance to get the distance between two points, ({0,0,255},{0,255,0},{255,0,0}) all these pixels have same Euclidean distance from pixel ({0,0,0} or {255,255,255}). To avoid this possible error the option was to go for a single channel image for clusteration. This further reduces the computing power as well. Following images shows the HLS channels separately.

If we look carefully on the separate H, L and S channels we can see that S channel (Saturation) has the bud details close to the HLS converted image, but it has some random noise. So, the target was to cluster the saturation channel image and then compensate the noise using above mentioned techniques.

Above image is the results that were received when clustering Saturation space image with k =3. A modified K-Means algorithm were designed to successfully segment tea buds from tea leaves. K-means algorithm were modified in such a way where we can initialize the starting centroids. After many experiments and explorations, it was found that when K=3 and [0,127,255] centroid selected as initial centroids, the buds of the separated tea leaves could be well identified. Following figure is the cluster results when applied on the original image.

As we can see from the above image tea buds are clearly captured but there are lot of noise in the clustered image. Next step is to reduce the noise with mentioned noise filtration techniques. Final results is shown below.

Following table shows a comparison between the Ground truth and the results recieved.

About

Evaluating a image of tea plantation that is taken from a drone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published