针对岩芯图像的粒径分析提出了一种基于K-均值聚类算法的半自动分割算法,并编写了一套颗粒粒度图像处理程序.首先将超像素处理概念应用于岩芯偏振显微图像,得到过度分割的结果,然后对分割结果进行K-均值聚类和区域融合,利用图像中的边缘信息得到了更合理的结果,并大大提高了运算的速度;根据提出的算法,基于VB.NET 2008平台构建了一套半自动岩芯图像粒度分析软件,集图像采集、图像处理、粒度参数分析、砾石种类分类以及测量报告输出等功能于一体,大大提高了岩芯粒径分析的工作效率.
To conduct the core image particle size analysis,a semi-automatic segmentation method based on K-means clustering algorithms was proposed and a set of grain size image processing programs was formed. In the image processings superpixels algorithm was applied to process the polarizing microscopic image of cores,and the excessive segmentation results were achieved. Then the K-means clustering and regional integration were conducted on the segmentation results. In this way,the speed of operation was greatly improved,and the edge information of images was utilized to obtain more reasonable results. Based on the VB. NET 2008 platform,a semi-automatic software, being prove with the functions of image acquisition, image processing, analysis of grain size parameters, types of gravel classification and measurement reporting, was built according to the proposed algorithm. The method greatly improves the efficiency of the core particle size analysis.