我正在努力實現圖像處理中的學位論文,並使用Matlab圖像處理工具箱。我使用Matlab函數graycoprops
來計算圖像與共生矩陣的相關性。我的問題是我無法理解的是定義了相關屬性公式的含義(見previous link):相關公式Matlab
特別是,什麼都\mu_i
,\mu_j
,\sigma_i
,\sigma_j
,如果i
和j
是圖像的graylevels?
我正在努力實現圖像處理中的學位論文,並使用Matlab圖像處理工具箱。我使用Matlab函數graycoprops
來計算圖像與共生矩陣的相關性。我的問題是我無法理解的是定義了相關屬性公式的含義(見previous link):相關公式Matlab
特別是,什麼都\mu_i
,\mu_j
,\sigma_i
,\sigma_j
,如果i
和j
是圖像的graylevels?
我有同樣的問題,以及紙張"Statistical Texture Measures Computed from Gray Level Coocurrence Matrices"由Fritz Albregtsen(2008年)是有很大的幫助,因爲它給出了所有公式的精確定義。
我會想象它是在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);
我同意這些定義不是很清楚。傳統上,mu和sigma分別指平均值和標準偏差。這個公式似乎也是這種情況。不過,我不清楚他們的「我」和「j」是什麼意思。 –