我正在攻读图像处理学位论文,我正在使用Matlab图像处理工具箱。我使用Matlab函数graycoprops
计算图像与共生矩阵的相关性。我的问题是我无法理解定义相关属性的公式的含义(参见previous link):
特别是\mu_i
,\mu_j
,\sigma_i
,\sigma_j
,如果i
和j
是图像的灰度级?
答案 0 :(得分:3)
我认为它是x
和y
方向的均值和标准差。 i
可能与x
和j
到y
相对应。但这只是猜测。
编辑:查看功能代码支持此功能。我强烈建议您自己查看(只需输入edit graycoprops
),但这里是相关部分:
function Corr = calculateCorrelation(glcm,r,c)
...
% Calculate the mean and standard deviation of a pixel value in the row
% direction direction. e.g., for glcm = [0 0;1 0] mr is 2 and Sr is 0.
mr = meanIndex(r,glcm);
Sr = stdIndex(r,glcm,mr);
% mean and standard deviation of pixel value in the column direction, e.g.,
% for glcm = [0 0;1 0] mc is 1 and Sc is 0.
mc = meanIndex(c,glcm);
Sc = stdIndex(c,glcm,mc);
答案 1 :(得分:1)
我有同样的问题,Fritz Albregtsen(2008)的论文"Statistical Texture Measures Computed from Gray Level Coocurrence Matrices"非常有帮助,因为它给出了所有公式的精确定义。