Equations for 3D Haralick Texture Feature
From FarsightWiki
(Difference between revisions)
(→Notation) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | Equations for 3D Haralick Texture features[1], which are based in a gray-level co-occurrence matrix of the image | ||
==Notation== | ==Notation== | ||
Line 17: | Line 18: | ||
--<math>p_{x-y}(k):</math> <math> p_{x-y}(k) = \sum_{i=1}^{N_g} \sum_{j=1,|i-j|=k}^{N_g} p(i,j), k=0,1,...,N_g-1 </math> | --<math>p_{x-y}(k):</math> <math> p_{x-y}(k) = \sum_{i=1}^{N_g} \sum_{j=1,|i-j|=k}^{N_g} p(i,j), k=0,1,...,N_g-1 </math> | ||
− | |||
− | |||
− | |||
==Textural Features== | ==Textural Features== | ||
Line 37: | Line 35: | ||
<math>HXY1 = -\sum_{i=1}^{N_g} \sum_{j=1}^{N_g} p(i,j)log(p_x(i) p_y(i))</math>, | <math>HXY1 = -\sum_{i=1}^{N_g} \sum_{j=1}^{N_g} p(i,j)log(p_x(i) p_y(i))</math>, | ||
<math>HXY2 = -\sum_{i=1}^{N_g} \sum_{j=1}^{N_g} p_x(i)p_y(j)log(p_x(i) p_y(i))</math> | <math>HXY2 = -\sum_{i=1}^{N_g} \sum_{j=1}^{N_g} p_x(i)p_y(j)log(p_x(i) p_y(i))</math> | ||
+ | |||
+ | For more information about the Textural features, please refer to [1]. | ||
+ | == Reference == | ||
+ | * [1] R. Haralick, K. Shanmugam, and I. Dinstein, "Textural features for image classification," IEEE Transactions on Systems, Man, and Cybernetics, SMC-3, 610-621, 1973. |
Latest revision as of 03:22, 27 April 2009
Equations for 3D Haralick Texture features[1], which are based in a gray-level co-occurrence matrix of the image
Notation
--p(i,j): (i,j)th entry in a normalized gray-tone spatial dependence matrix, p(i,j) = P(i,j) / R * P(i,j) is the co-occurrence matrix and R is the sum of values in it, thus P(i,j) can be considered as the joint distribution of i and j, which are gray levels of the original image. The value of entry p(i,j) is supposed to be very small due to the large size of the co-occurrence matrix.
--px(i) / py(i): ith entry in the marginal-probability distribution matrix obtained by summing the rows/columns of p(i,j).
--Ng: Number of distinct gray levels in the image.
--px + y(k): px + y(i) is the probability of co-occurrence matrix coordinates summing to x+y
--px − y(k):
Textural Features
- 1) Angular Second Moment:
- 2) Contrast:
- 3) Correlation:, where ux,uy,σx,σy are the means and std.deviations of px and py, the partial probability density functions
- 4) Sum of the Squares of Variance:
- 5) Inverse Difference Moment:
- 6) Sum Average:
- 7) Sum Variance:
- 8) Sum Entropy:
- 9) Entropy:
- 10) Difference Variance:
- 11) Difference Entropy:
- 12) Information Measures of Correlation 1:
- 13) Information Measures of Correlation 2: f13 = (1 − exp( − 2.0 | HXY2 − HXY | ))1 / 2, with ,
,
For more information about the Textural features, please refer to [1].
Reference
- [1] R. Haralick, K. Shanmugam, and I. Dinstein, "Textural features for image classification," IEEE Transactions on Systems, Man, and Cybernetics, SMC-3, 610-621, 1973.