Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Matlab 相关公式_Matlab_Formula_Correlation_Glcm - Fatal编程技术网

Matlab 相关公式

Matlab 相关公式,matlab,formula,correlation,glcm,Matlab,Formula,Correlation,Glcm,我正在攻读图像处理学位论文,我正在使用Matlab图像处理工具箱。我正在使用Matlab函数计算图像与共生矩阵的相关性。我的问题是,我无法理解定义相关性属性的公式的含义(请参阅): 特别是,\mu\u i,\mu\u j,\sigma\u i,\sigma\u j,如果i和j是图像的灰度级,我会想象这是x和y方向的平均值和标准偏差i可能对应于x,j对应于y。不过,这只是一个猜测 编辑:通过查看功能代码支持此操作。我强烈建议您亲自查看(只需键入edit graycoprops),但以下是相关部分

我正在攻读图像处理学位论文,我正在使用Matlab图像处理工具箱。我正在使用Matlab函数计算图像与共生矩阵的相关性。我的问题是,我无法理解定义相关性属性的公式的含义(请参阅):


特别是,
\mu\u i
\mu\u j
\sigma\u i
\sigma\u j
,如果
i
j
是图像的灰度级,我会想象这是
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);

我可以想象它是
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);

我也有同样的问题,弗里茨·阿尔布雷格森(2008)的论文很有帮助,因为它给出了所有公式的精确定义。

我也有同样的问题,弗里茨·阿尔布雷格森(2008)的论文很有帮助,因为它给出了所有公式的精确定义。

我同意这些定义不是很清楚。传统上mu和sigma分别指平均值和标准偏差。这个公式似乎也是如此。不过,我不清楚“i”和“j”是什么意思。我同意这些定义并不十分清楚。传统上mu和sigma分别指平均值和标准偏差。这个公式似乎也是如此。我不清楚“我”和“j”是什么意思。这很有道理,谢谢!我会按照你的建议检查功能代码,谢谢。没问题。这是matlab最棒的事情之一;您可以随时查看函数代码并了解它的功能。非常有用!这很有道理,非常感谢!我会按照你的建议检查功能代码,谢谢。没问题。这是matlab最棒的事情之一;您可以随时查看函数代码并了解它的功能。非常有用!