首页 | 本学科首页   官方微博 | 高级检索  
     检索      

灰度直方图与K-最近邻的影像分割算法
引用本文:杨帆,郭建华,谭海,王竞雪.灰度直方图与K-最近邻的影像分割算法[J].测绘科学,2017,42(3).
作者姓名:杨帆  郭建华  谭海  王竞雪
作者单位:1. 辽宁工程技术大学测绘与地理科学学院,辽宁阜新,123000;2. 辽宁工程技术大学测绘与地理科学学院,辽宁阜新 123000;国家测绘地理信息局卫星测绘应用中心,北京 101300;3. 国家测绘地理信息局卫星测绘应用中心,北京,101300
摘    要:针对灰度直方图在影像分类时需要考虑阈值和K-最近邻分类算法分类效率低等问题,提出了一种基于灰度直方图与KNN相结合的影像分割算法:首先对待分割的影像进行灰度直方图统计;其次利用灰度直方图对影像进行硬阈值的划分,得到已知类别样本和未标记样本;然后选择一定数量已知类别的样本对KNN分类器进行训练;最后利用KNN分类器对未标记样本进行类别划分,得到最终分割图像。实验结果表明,该算法结合了灰度直方图高效性和KNN高精度的优势,避免了直方图分割最佳阈值的选取;与传统的KNN算法相比,本文算法大大提高了分类效率,且精度相当,满足实际生产应用的需求。

关 键 词:影像分割  灰度直方图  K-最近邻  分类

Image segmentation based on gray histogram and K-nearest neighbors algorithm
YANG Fan,GUO Jianhua,TAN Hai,WANG Jingxue.Image segmentation based on gray histogram and K-nearest neighbors algorithm[J].Science of Surveying and Mapping,2017,42(3).
Authors:YANG Fan  GUO Jianhua  TAN Hai  WANG Jingxue
Abstract:Because of the gray histogram needs to be considered threshold value in the image classification and the K-nearest neighbor classification algorithm have low efficiency of classification problems,an approach for images segmentation based on gray histogram and K-nearest neighbors algorithm is proposed.Firstly,statistical gray histogram of the image is given.Second,hard threshold of the histogram is divided pixel samples into known categories of samples and did not labeled samples.Then it selects a certain number of the known categories of samples training the K-nearest neighbors classifier,using the K-nearest neighbors classifier to classification the unlabeled samples and get the final segmentation image.The experimental results show that the proposed algorithm combines the advantage of the gray histogram high speed classification and K-nearest neighbors classification precision,and don't need to choose the best segmentation threshold.Compared with traditional K-nearest neighbors algorithm for image segmentation,this proposed algorithm has greatly increased the efficiency of classification and also has the same precision.This proposed algorithm meet the needs of actual production application.
Keywords:image segmentation  gray histogram  K-nearest neighbor  classification
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号