I want to extract GLCM texture feature from an image in my CBIR system.... I applied the following code:
S=imread('A1.jpg');
S=rgb2gray(S);
I= imresize (S, [350 350]);
glcm45=graycomatrix(I,'offset',[-1 1],'NumLevel', 8,'Symmetric',true);
% 45 engle degree
glcm135 = graycomatrix(I,'Offset',[-1 -1],'NumLevel', 8,'Symmetric', true ); % 135 engle degree
GLCM=glcm45+glcm135;
I get 64(8*8) dimensions for GLCM feature and I used it in retrieve the similarity images and I get a very good results....
My question is: Can I consider this 64 dimensions as the length of GLCM feature vector for an image?