Hello I have this code which I used to extract GLCM featues from a cell array . How can I save features as a matrix and not a cell array for easy classification using KNN?
here is my code:
glcm1 = graycomatrix(img1,'offset',offsets);>> f1 = graycoprops(glcm1,{'all'});glcm2 = graycomatrix(img2,'offset',offsets);>> f2 = graycoprops(glcm2,{'all'});features = {f1, f2}
Best Answer