% input image is obtained by stacking different bands(4,3,2)
I=imread('D:\project\stack.tif');G=rgb2gray(I);figureimshow(G)offsets=[0 1;-1 1; -1 0;-1 -1];glcm=graycomatrix(G,'offset',offsets)stats=graycoprops(glcm)
=>obtained WARNING is 'image is too big to fit 'and glc matrix is not produced along with its statistics
my grey image is of size 7438×7575 uint8
i have seen a suggested answer:-
imshow(G, 'InitialMagnification', 'fit')
but returns same warning
if i use resize command,will image loses its actual information? as i want to classify the features obtained.
Best Answer