how to train svm using glcm features

i am doing project on localizing non-uniform deblurring in an image.i've used 6 sliding windows(4*4 , 8*8 ,16*16 ,32*32 ,64*64 ,128*128) on the image and glcm features are extracted from the 1st and second order derivative of the image on each sliding winow.now i need to train them using svm so that authentic regions will be labeled as 0 and deblurred region as 1. but i am not understanding that using glcm features how can i train them.Could anyone help me

回答 (1 件)

Rajani Mishra
Rajani Mishra 2020 年 3 月 9 日

0 投票

GLCM matrix easily helps to extract the texture features.
To calculate different statistics (Example: Contrast, Correlation) from “glcm” you can use function “graycoprops” that will calculate the statistics properties defined in its “properties” argument. For more information refer to below link:
Since you have already extracted features. For classification using SVM using custom kernel please refer to below link:

タグ

質問済み:

2019 年 10 月 15 日

回答済み:

2020 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by