How to make image classification

Hello,I am doing Plant leaf disease detection & classification project . I am new to this field.
I'm working on Cucumber, I have make a segmentation using hsv and then i extract the feature like 'contrast','homogeneity','Correlation','Energy' for 20 image of healthy plant and 20 image for infected plant and i save it as dataset '.mat'. can anyone give me an advice for how to make a SVM classification

답변 (1개)

Image Analyst
Image Analyst 2020년 4월 26일

0 개 추천

To process 20 images, see the code samples in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Convert rgb to hsv like this:
hsvImage = rgb2hsv(rgbImage);
To get features like contrast, energy, etc. call grayprops().

댓글 수: 3

Alaa Ibrahim Eldesoky
Alaa Ibrahim Eldesoky 2020년 4월 26일
I'm done it already. I need to know how to make a classification using SVM.
Image Analyst
Image Analyst 2020년 4월 26일
Did you follow the steps in the help for "Optimize an SVM Classifier Fit Using Bayesian Optimization"?
Alaa Ibrahim Eldesoky
Alaa Ibrahim Eldesoky 2020년 4월 28일
No , okay I'll try to do it . Thanks

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Agriculture에 대해 자세히 알아보기

질문:

2020년 4월 25일

댓글:

2020년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by