Skip to main content
. 2020 Mar 16;15(3):e0229560. doi: 10.1371/journal.pone.0229560

Table 3. Haralick features used for texture analysis.

Feature Name Equation #
Angular Second Moment (ASM),
Homogeneity
=i=1Gj=1G{P(i,j)}2 12
Contrast (CON) =n=1Gn2{i=1Gj=1G{P(i,j)},|ij|=n 13
Inverse Difference Moment (IDM) =i=1Gj=1G11+(ij)2P(i,j) 14
Entropy II (ENT) =i=1Gj=1GP(i,j)×log(P(i,j)) 15
Correlation (CORR) =i=1Gj=1G{i×j}×P(i,j){μx×μy}σx×σy 16
Variance II (VAR) =i=1Gj=1G(iμ)2P(i,j),μ=1G2i=1Gj=1G{P(i,j)} 17
Sum Average (AVER) =k=22Gk(Px+y)(k) 18
Sum Entropy (SENT) =k=22GPx+y(k)log(Px+y(k)) 19
Difference Entropy (DENT) =k=0G1Pxy(k)log(Pxy(k)) 20
Cluster Shade (SHADE) =i=1Gj=1G{i+jμxμy}3×P(i,j) 21
Cluster Prominence (PROM) =i=1Gj=1G{i+jμxμy}4×P(i,j) 22