liantongyuzongmianjiyushuliang_DGlearn
代码说明:
说明: 通过利用“Otsu”方法对图像进行全局阈值分割处理。然后,将灰度图转化成二值图,为获得大豆颗粒计数和大小做准备。调用函数获得图像连通图的数量,并测量标注矩阵中每个标注区域的属性,获得每个标注区域的长度。最后通过寻找每个区域的重心数,即可统计出大豆的个数(The Otsu method is used to segment the image. Then, the gray-scale image is transformed into a binary image to prepare for the soybean particle count and size. Call the function to get the number of connected graphs, measure the attributes of each annotation region in the annotation matrix, and get the length of each annotation region. Finally, the number of soybean can be calculated by finding the number of barycenters in each region)
文件列表:
大豆4.jpg, 14970 , 2019-09-27
liantongyuzongmianjiyushuliang_DGlearn.m, 1532 , 2019-10-01
下载说明:请别用迅雷下载,失败请重下,重下不扣分!