Borrar filtros
Borrar filtros

Hi,I'm doing my project about image processing, using the co-occurrence matrix but I don't know the algorithm of the co-occurrence(glcm) matrix can any one help me to get this algorithm and to get results like this. thank you a lot

3 visualizaciones (últimos 30 días)

Respuestas (2)

Walter Roberson
Walter Roberson el 26 de Abr. de 2016

Image Analyst
Image Analyst el 27 de Abr. de 2016
It basically tells you how often each gray level occurs next to each of the other gray levels.
  8 comentarios
rouh 238
rouh 238 el 28 de Abr. de 2016
Editada: Walter Roberson el 28 de Abr. de 2016
I'm sorry it's not this formula, this is mine :
valeur=sum(abs((data{K})- t1));
rouh 238
rouh 238 el 28 de Abr. de 2016
Editada: Walter Roberson el 28 de Abr. de 2016
(storedStructure.t): it's the composite where we find the glcm of the images of the data base
for k=0:999
a=imread(sprintf('image\\%d.jpg',k));
I1 = rgb2gray(a);
t=glcm(I1);
save(sprintf('img\\texture\\%d.mat',k),'t');
end

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by