how to train svm using glcm features

조회 수: 2 (최근 30일)
Athulya N
Athulya N 2019년 10월 15일
답변: Rajani Mishra 2020년 3월 9일
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