REGULAR BLACK LINES IN GLCM MATRIX

1 次查看(过去 30 天)
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);

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by