How to extract data set from Image in Matlab

I want to create clusters of an image using fuzzy c mean clustering, but i am not be able to extract data set from image. I matlab example the perfom an example but data set source is not define how to get?
Please help me!

1 Comment

You forgot to attach your image. Please do so and state what your "data set" is in your image.

Sign in to comment.

Answers (1)

Greetings,
I believe you are looking for the color map of the image? If so then the imread() function can be used to get the color map of an image, the help page has some good examples.

1 Comment

i want to extract dataset from image and then create clusters using findcluster function in matlab
cw2.jpg

Sign in to comment.

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Asked:

on 15 Jun 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!