Equations for 3D Haralick Texture Feature
From FarsightWiki
(Difference between revisions)
(→Notation) |
(→Textural Features) |
||
Line 22: | Line 22: | ||
* 4) Sum of the Squares of Variance: <math>f_4 = \sum_{i=1}^{N_g} \sum_{j=1}^{N_g} (i-j)^2 p(i,j)</math> | * 4) Sum of the Squares of Variance: <math>f_4 = \sum_{i=1}^{N_g} \sum_{j=1}^{N_g} (i-j)^2 p(i,j)</math> | ||
* 5) Inverse Difference Moment: <math>f_5 = \sum_i \sum_j \cfrac{1}{1+(i-j)^2}p(i,j)</math> | * 5) Inverse Difference Moment: <math>f_5 = \sum_i \sum_j \cfrac{1}{1+(i-j)^2}p(i,j)</math> | ||
+ | * 6) Sum Average: <math>f_6 = \sum_{i=2}^{2N_g} ip_{x+y}(i)</math> | ||
+ | * 7) Sum Variance: <math>f_7 = \sum_{i=2}^{2N_g}(i-f_8)^2 p_{x+y}(i)</math> | ||
+ | * 8) Sum Entropy: <math>f_8 = - \sum_{i=2}^{2N_g}p_{x+y}(i)log(p_{x+y}(i))</math> | ||
+ | * 9) *Entropy: <math>f_9 = -\sum_{i=1}^{N_g} \sum_{j=1}^{N_g} p(i,j)log(p(i,j))</math> | ||
+ | * 10) Difference Variance: <math>f_10 = \sum_{i=0}^{N_g-1} i^2 p_{x-y}(i)</math> | ||
+ | * 11) Difference Entropy: <math>f_11 = -\sum_{i=0}^{N_g-1} p_{x-y}(i)log(p_{x-y}(i))</math> | ||
+ | * |
Revision as of 03:01, 27 April 2009
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(k):
Textural Features
- 1) Angular Second Moment:
- 2) Contrast:
- 3) Correlation:
- 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: