how to train svm using glcm features

2 visualizaciones (últimos 30 días)
Athulya N
Athulya N el 15 de Oct. de 2019
Respondida: Rajani Mishra el 9 de Mzo. de 2020
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

Respuestas (1)

Rajani Mishra
Rajani Mishra el 9 de Mzo. de 2020
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:

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by