how to train svm using glcm features

1 次查看(过去 30 天)
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
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:

标签

Community Treasure Hunt

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

Start Hunting!

Translated by