Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a rgb image and i split into multi blocks, i want to use fuzzy c-mean algorithm for clustering of image blocks.

please help me how to cluster them when each data point such as an image block

thanks you so much.
Posted
Comments
Sergey Alexandrovich Kryukov 31-Dec-14 22:16pm    
Not really a question. Remember, on this forum, we are not supposed to just help; we help only by answering questions.
—SA

1 solution

Help with what? Fuzzy clustering in general is explained, for example, here: http://en.wikipedia.org/wiki/Fuzzy_clustering[^].
And k-means clustering — here: http://en.wikipedia.org/wiki/K-means_clustering[^].

Understanding requires some mathematical background, not very complicated, but it should include the understanding of fuzzy set mathematics:
http://en.wikipedia.org/wiki/Fuzzy_set[^],
http://en.wikipedia.org/wiki/Fuzzy_logic[^].

Algorithms are also explained; and even the extensive list of most important implementations, mostly open-source, is provided.

—SA
 
Share this answer
 
v2
Comments
Leo Phạm 31-Dec-14 22:40pm    
thanks SA, I already know how to cluster with each data point is just one pixel , my problem is how to cluster with each data point is an image block including many pixels .
specifically objective function and the distance formulated between data points?
Sergey Alexandrovich Kryukov 31-Dec-14 22:50pm    
I don't understand what does it mean "data point is just one pixel" or "image block including many pixels". The problem is very simple: you have to define it. How? All you have to do it to mathematically define norm in a normed vector space. In other words, you have a vector space and need to give some definition for the distance between each two vectors. It's up to you how you define it, as soon as the definition of the vector space remains valid:
http://en.wikipedia.org/wiki/Normed_vector_space.

Then you apply exact same algorithm for clustering. You can even make the method defining the norm a parameter of your function performing clustering.

—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900