登录
首页 » Matlab » Mean Shift 聚类算法

Mean Shift 聚类算法

于 2022-06-14 发布 文件大小:4.20 kB
0 103
下载积分: 2 下载次数: 2

代码说明:

该算法是基于核密度估计的爬山算法,可用于聚类、图像分割、跟踪等,因为最近搞一个项目,涉及到这个算法的图像聚类实现。 假设在一个多维空间中有很多数据点需要进行聚类,Mean Shift的过程如下: 1、在未被标记的数据点中随机选择一个点作为中心center; 2、找出离center距离在bandwidth之内的所有点,记做集合M,认为这些点属于簇c。同时,把这些求内点属于这个类的概率加1,这个参数将用于最后步骤的分类 3、以center为中心点,计算从center开始到集合M中每个元素的向量,将这些向量相加,得到向量shift。 4、center = center+shift。即center沿着shift的方向移动,移动距离是||shift||。 5、重复步骤2、3、4,直到shift的大小很小(就是迭代到收敛),记住此时的center。注意,这个迭代过程中遇到的点都应该归类到簇c。 6、如果收敛时当前簇c的center与其它已经存在的簇c2中心的距离小于阈值,那么把c2和c合并。否则,把c作为新的聚类,增加1类。 6、重复1、2、3、4

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gvf_v5
    Matlab code for the implementation of the snake(active contour). Very useful in the image segmentation.
    2005-11-01 06:35:01下载
    积分:1
  • maximumlikehood
    用最大似然法求解功率谱密度,现代谱估计方法(use the method of maximum likehood to calculate the power spectral density)
    2010-12-13 13:12:57下载
    积分:1
  • 12eddd
    matlab下meanshift目标跟踪方法(meanshift object tracking)
    2012-03-29 19:30:10下载
    积分:1
  • jaibharath
    说明:  Matlab voice vehicle code can connected with external device
    2013-08-19 12:46:07下载
    积分:1
  • DV_Hop_modify
    针对基本无线传感器网络DV-Hop定位算法中,计算平均跳距时产生偏小误差的原因,提出了基于平均跳距修正的DV-Hop算法。改进算法中,引入信标节点个数比例、所有信标节点平均跳距的最大值以及所有信标节点平均跳距的平均值三个因子,并采用它们对平均跳距进行修正。通过Matlab软件对算法进行仿真验证,结果表明,改进后的 DV-Hop 算法有效降低了未知节点的定位误差,是一种可行的无线传感器网络节点定位解决方案。(DV-Hop localization algorithm for wireless sensor networks, we calculate the average hop distance small error of reasons, raised the DV-Hop algorithm based on the average hop distance correction. Improved algorithm, the proportion of the number of nodes, the introduction of beacons, the beacon node average maximum jump distance as well as all the beacon nodes average jump from the average of three factors, and their average hop distance correction. Matlab software simulation results show that the improved DV-Hop algorithm effectively reduce the unknown node positioning error, the solution is a viable wireless sensor network node positioning algorithm.)
    2021-05-15 22:30:07下载
    积分:1
  • last2
    卷积码的仿真及应用,通过matlab仿真过,得到了在不同信道上的性能(Convolutional code simulation and application, through the matlab simulation before, to get the performance in different channel)
    2011-11-14 21:03:00下载
    积分:1
  • 0fb98d26
    2*2空间复用信道MIMO仿真 其中包含整套通信系统的编码解码,调制解调,噪声信道,并有文件对应说明文档(2* 2 MIMO spatial multiplexing channel communication system simulation package which contains the coding and decoding, modulation and demodulation, channel noise, and the corresponding documentation file)
    2016-12-29 10:39:20下载
    积分:1
  • 高斯高通滤波器。
    这是我的高斯高通滤波器的matlab代码,用于数字图像处理。
    2022-12-23 00:30:03下载
    积分:1
  • matlab_classic_example_of_the_pattern_recognition_
    matlab程序经典实例之图形识别源程序matlab classic example of the pattern recognition program source code(matlab classic example of the pattern recognition program source code matlab classic example of the pattern recognition program source code)
    2010-08-02 09:36:48下载
    积分:1
  • Uncoded_over_AWGN
    simulation of uncoded BPSK over AWGN
    2011-07-09 23:13:17下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载