Skip to content

Commit 06bea71

Browse files
authored
Merge pull request #817 from Risheng1128/master
Fix typo about GLCM
2 parents 2791e23 + 8bf0b05 commit 06bea71

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Currently supports the following feature classes:
4242

4343
- First Order Statistics
4444
- Shape-based (2D and 3D)
45-
- Gray Level Cooccurence Matrix (GLCM)
45+
- Gray Level Co-occurrence Matrix (GLCM)
4646
- Gray Level Run Length Matrix (GLRLM)
4747
- Gray Level Size Zone Matrix (GLSZM)
4848
- Gray Level Dependece Matrix (GLDM)

docs/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ subdivided into the following classes:
1010
* :py:class:`First Order Statistics <radiomics.firstorder.RadiomicsFirstOrder>` (19 features)
1111
* :py:class:`Shape-based (3D) <radiomics.shape.RadiomicsShape>` (16 features)
1212
* :py:class:`Shape-based (2D) <radiomics.shape2D.RadiomicsShape2D>` (10 features)
13-
* :py:class:`Gray Level Cooccurence Matrix <radiomics.glcm.RadiomicsGLCM>` (24 features)
13+
* :py:class:`Gray Level Co-occurrence Matrix <radiomics.glcm.RadiomicsGLCM>` (24 features)
1414
* :py:class:`Gray Level Run Length Matrix <radiomics.glrlm.RadiomicsGLRLM>` (16 features)
1515
* :py:class:`Gray Level Size Zone Matrix <radiomics.glszm.RadiomicsGLSZM>` (16 features)
1616
* :py:class:`Neighbouring Gray Tone Difference Matrix <radiomics.ngtdm.RadiomicsNGTDM>` (5 features)

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Currently supports the following feature classes:
6363
* :py:class:`First Order Statistics <radiomics.firstorder.RadiomicsFirstOrder>`
6464
* :py:class:`Shape-based (3D) <radiomics.shape.RadiomicsShape>`
6565
* :py:class:`Shape-based (2D) <radiomics.shape2D.RadiomicsShape2D>`
66-
* :py:class:`Gray Level Cooccurence Matrix <radiomics.glcm.RadiomicsGLCM>` (GLCM)
66+
* :py:class:`Gray Level Co-occurrence Matrix <radiomics.glcm.RadiomicsGLCM>` (GLCM)
6767
* :py:class:`Gray Level Run Length Matrix <radiomics.glrlm.RadiomicsGLRLM>` (GLRLM)
6868
* :py:class:`Gray Level Size Zone Matrix <radiomics.glszm.RadiomicsGLSZM>` (GLSZM)
6969
* :py:class:`Neigbouring Gray Tone Difference Matrix <radiomics.ngtdm.RadiomicsNGTDM>` (NGTDM)

radiomics/glcm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class RadiomicsGLCM(base.RadiomicsFeaturesBase):
4343
Let:
4444
4545
- :math:`\epsilon` be an arbitrarily small positive number (:math:`\approx 2.2\times10^{-16}`)
46-
- :math:`\textbf{P}(i,j)` be the co-occurence matrix for an arbitrary :math:`\delta` and :math:`\theta`
47-
- :math:`p(i,j)` be the normalized co-occurence matrix and equal to
46+
- :math:`\textbf{P}(i,j)` be the co-occurrence matrix for an arbitrary :math:`\delta` and :math:`\theta`
47+
- :math:`p(i,j)` be the normalized co-occurrence matrix and equal to
4848
:math:`\frac{\textbf{P}(i,j)}{\sum{\textbf{P}(i,j)}}`
4949
- :math:`N_g` be the number of discrete intensity levels in the image
5050
- :math:`p_x(i) = \sum^{N_g}_{j=1}{p(i,j)}` be the marginal row probabilities

0 commit comments

Comments
 (0)