diff --git a/README.md b/README.md index 2ce45536..23b56f1d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Build Status | Linux / MacOS | Windows | -|-------------------------------| ----------------------------- | +| ----------------------------- | ----------------------------- | | [![][circleci]][circleci-lnk] | [![][appveyor]][appveyor-lnk] | @@ -39,7 +39,7 @@ Currently supports the following feature classes: - First Order Statistics - Shape-based (2D and 3D) - - Gray Level Cooccurence Matrix (GLCM) + - Gray Level Co-occurrence Matrix (GLCM) - Gray Level Run Length Matrix (GLRLM) - Gray Level Size Zone Matrix (GLSZM) - Gray Level Dependece Matrix (GLDM) diff --git a/docs/features.rst b/docs/features.rst index aa3f55b9..0a6902d1 100644 --- a/docs/features.rst +++ b/docs/features.rst @@ -10,7 +10,7 @@ subdivided into the following classes: * :py:class:`First Order Statistics ` (19 features) * :py:class:`Shape-based (3D) ` (16 features) * :py:class:`Shape-based (2D) ` (10 features) -* :py:class:`Gray Level Cooccurence Matrix ` (24 features) +* :py:class:`Gray Level Co-occurrence Matrix ` (24 features) * :py:class:`Gray Level Run Length Matrix ` (16 features) * :py:class:`Gray Level Size Zone Matrix ` (16 features) * :py:class:`Neighbouring Gray Tone Difference Matrix ` (5 features) diff --git a/docs/index.rst b/docs/index.rst index e5d8e507..b9b192fd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -63,7 +63,7 @@ Currently supports the following feature classes: * :py:class:`First Order Statistics ` * :py:class:`Shape-based (3D) ` * :py:class:`Shape-based (2D) ` -* :py:class:`Gray Level Cooccurence Matrix ` (GLCM) +* :py:class:`Gray Level Co-occurrence Matrix ` (GLCM) * :py:class:`Gray Level Run Length Matrix ` (GLRLM) * :py:class:`Gray Level Size Zone Matrix ` (GLSZM) * :py:class:`Neigbouring Gray Tone Difference Matrix ` (NGTDM) diff --git a/radiomics/glcm.py b/radiomics/glcm.py index fccd613e..04986ad0 100644 --- a/radiomics/glcm.py +++ b/radiomics/glcm.py @@ -43,8 +43,8 @@ class RadiomicsGLCM(base.RadiomicsFeaturesBase): Let: - :math:`\epsilon` be an arbitrarily small positive number (:math:`\approx 2.2\times10^{-16}`) - - :math:`\textbf{P}(i,j)` be the co-occurence matrix for an arbitrary :math:`\delta` and :math:`\theta` - - :math:`p(i,j)` be the normalized co-occurence matrix and equal to + - :math:`\textbf{P}(i,j)` be the co-occurrence matrix for an arbitrary :math:`\delta` and :math:`\theta` + - :math:`p(i,j)` be the normalized co-occurrence matrix and equal to :math:`\frac{\textbf{P}(i,j)}{\sum{\textbf{P}(i,j)}}` - :math:`N_g` be the number of discrete intensity levels in the image - :math:`p_x(i) = \sum^{N_g}_{j=1}{p(i,j)}` be the marginal row probabilities