Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT EXTRACTION] Why do GLDM "small dependence emphasis" and "low gray level emphasis" have the same formulas? #861

Open
nimayousefi75 opened this issue Dec 21, 2023 · 0 comments
Labels

Comments

@nimayousefi75
Copy link

nimayousefi75 commented Dec 21, 2023

Hi

Recently I checked radiomics and saw these two formulas are the same but the output is not, why?
Am I missing something?

**1. Small Dependence Emphasis (SDE)**

.. math::
  SDE = \frac{\sum^{N_g}_{i=1}\sum^{N_d}_{j=1}{\frac{\textbf{P}(i,j)}{i^2}}}{N_z}

A measure of the distribution of small dependencies, with a greater value indicative
of smaller dependence and less homogeneous textures.
"""
pd = self.coefficients['pd']
jvector = self.coefficients['jvector']
Nz = self.coefficients['Nz']  # Nz = Np, see class docstring

sde = numpy.sum(pd / (jvector[None, :] ** 2), 1) / Nz
return sde`




**9. Low Gray Level Emphasis (LGLE)**

.. math::
  LGLE = \frac{\sum^{N_g}_{i=1}\sum^{N_d}_{j=1}{\frac{\textbf{P}(i,j)}{i^2}}}{N_z}

Measures the distribution of low gray-level values, with a higher value indicating a greater
concentration of low gray-level values in the image.
"""
pg = self.coefficients['pg']
ivector = self.coefficients['ivector']
Nz = self.coefficients['Nz']

lgle = numpy.sum(pg / (ivector[None, :] ** 2), 1) / Nz
return lgle

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant