REGULAR BLACK LINES IN GLCM MATRIX
Show older comments
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)
yanqi liu
on 4 Jan 2022
yes,sir,may be upload your tif file,or use
imshow(log(abs(glcm)),[]);
to check
Categories
Find more on Image Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!