WHEN I RUN THIS, GLCM MATRIX IS LEAVING SOME OF THE BOXES. AND I AM GETTING A FIGURE WITH BLACK LINES AT REGULAR INTERVAL.
KINDLY HELP ME IN CORRECTION.
clc;
clear;
I1=imread("BASU.tiff");
I=double(im2gray(I1));
imshow(I);
glcm = graycomatrix(I,'Offset',[0 1],'NumLevels',400,'GrayLimits',[],'Symmetric',true);
imshow(glcm);

Réponses (1)

yanqi liu
yanqi liu le 4 Jan 2022
yes,sir,may be upload your tif file,or use
imshow(log(abs(glcm)),[]);
to check

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by