Can please someone tell me how to use multiclass svm image datatset in matlab?

2 views (last 30 days)
Can please someone tell me how to use multiclass svm image datatset in matlab? how to get started ,the flow and outline of the code as i am a beginner.thank you

Accepted Answer

Walter Roberson
Walter Roberson on 20 Apr 2014
  13 Comments
Sheema Khattak
Sheema Khattak on 22 Apr 2014
Yes I am doing texture analysis using svm. I guess segmentation would be needed to separate background,diseased and no disease?I need more guidance regarding coding specialy how to construct matrix of these image regions?
Walter Roberson
Walter Roberson on 29 Apr 2014
No, the way you described it before, you would have an image that had no skin in it anywhere at all and so should be considered background, or you have an image that has skin disease in it somewhere and so should be classed as diseased, or the image has skin in it somewhere but none of the skin is diseased. You do not separate background, disease and no disease by segmentation, as that would imply that you are looking to break the image up into pieces and classify each of the pieces. Any one feature extraction or any one texture analysis is feed the entire image to work with. The internals of the analysis might choose to ignore most of the image, but that should be transparent to the rest of your processing. All the rest of your program needs to know is that it applied algorithm #17 to the entire image and got back this list of 38 double precision numbers in response.

Sign in to comment.

More Answers (1)

Sheema Khattak
Sheema Khattak on 21 Apr 2014
Edited: Walter Roberson on 21 Apr 2014
Thank you. Can you please tell me what does the following code shows like what is meant by [1 10;.....] etc
TrainingSet=[ 1 10;2 20;3 30;4 40;5 50;6 66;3 30;4.1 42];
TestSet=[3 34; 1 14; 2.2 25; 6.2 63];
GroupTrain=[1;1;2;2;3;3;2;2];
And how can multiclass svm be applied on image dataset?

Community Treasure Hunt

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

Start Hunting!