如何使用均值漂移算法作为串串方法? [英] How can i use the Mean Shift Algorithm as a clustring method?

查看:72
本文介绍了如何使用均值漂移算法作为串串方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好大师,

我正在研究图像的分割和分类.我读过有关均值平移的信息,但通常用于捕获移动的物体.作为团簇方法,我对均值漂移存在一些疑问:

1)如何从像素创建数据模型? (我阅读了一些有关此问题的方法,例如具有分量r,g,s的三维向量).
2)如何创建数据集并计算数据集的平均值?
3)数据中心的初始值必须是什么?

感谢您的帮助.

Hello masters,

I am working on segmentetion and clssification of images. I read about mean shift, but it is generally used to catch a moving object. As a clustring method, i have some questions about mean shift:

1) How can i create a data model from a pixel? (I read some approaches about this, e.g. a three dimensional vector with the components r,g,s.)
2) How can i create the datasets and calculate the mean value of the dataset?
3) What must be the initial value of a dataset center?

Thanks for your helps.

推荐答案

本文是关于以下理论的:颜色模型 [
This article is about the theory: http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/TUZEL1/MeanShift.pdf[^]
But I don''t think, this approach is good for photos in general, rather for artificial graphics content.
1) Don''t treat colors as RGB, LUV(YUV) or HSB seams more adequate. A pixel consists of it''s (x,y,h,s,b) coordinates. You will need to define a distance measure for pixels. I suppose position will have to have more weight than color distance. (Color models[^])
For the later two you have to figure it out based on the algorithm itself. The simplest dataset would be an array.


这篇关于如何使用均值漂移算法作为串串方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆