REGULAR BLACK LINES IN GLCM MATRIX

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);

Answers (1)

yes,sir,may be upload your tif file,or use
imshow(log(abs(glcm)),[]);
to check

Products

Release

R2021b

Asked:

on 3 Jan 2022

Answered:

on 4 Jan 2022

Community Treasure Hunt

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

Start Hunting!