A Matlab code is written to classify 7 different classes of soils namely 'Clay','Clayey Peat','Clayey Sand', 'Humus Clay', 'Peat','Sandy Clay', and 'Silty Sand'. The code uses a multiclass SVM classifier (one vs. all).
How to run ??
1. Place the Soil Detection_Code folder in the Matlab path, and add all the subfolders into that path
2. Run SoilDetect_GUI.m
3. In the GUI click on Load Image and load the image from Manu's Soil Dataset, enhance contrast. Click on classification results. Then measure accuracy (in this case clay vs others).
The code is loosely based on the paper included, please cite the below and give credit to the authors:
 Bhattacharya, Biswanath, and Dimitri P. Solomatine. "Machine learning in soil classification." Neural Networks 19.2 (2006): 186-195.
 Multiclass SVM link: http://www.mathworks.com/matlabcentral/fileexchange/33170-multi-class-support-vector-machine
Comments and suggestions are always welcome
Thanks in advance,
Manu BN (2021). Soil Classification using a Multiclass SVM (https://www.mathworks.com/matlabcentral/fileexchange/55096-soil-classification-using-a-multiclass-svm), MATLAB Central File Exchange. Retrieved .
When I click on classification result nothing happens. can anyone help?
when i upload a picture of myself it classifies it as some soil. what should i do?
how to get .mat file sir.
we are not able to create it
I need to apply the same code on medical images with 6 diseases? How I can change in the data set of this code
Manu BN, me parece muy interesante el proyecto, estoy iniciando con lo que se refiere Inteligencia Artificial, me gustaría entender bien como lo realizaste y quería saber si me puedes ayudar con el código comentado, por favor. email@example.com
Manu BN: Thanks for your support. I already know how to do it. Thanks again!
@Goma: You should find a feature set suitable for emotions, go thro lots of papers and find one.
@ Tien: Extract features first and store them in rows and assign a label. Plenty of online tutorials available.
How can I create a new TrainFeat_Soil.mat or Accuracy_Data.mat. Thanks!
My topic about "Emotion recognition from facial images" and i have 7 classes (Emotions). Can i use this code with my topic? if so, what should i change?
good and worth full
No need of segmentation as the features extracted are all based on color.
why you don't perform image segment, sir ?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!