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

Revise Compactness 1 Formulas #218

Merged
merged 3 commits into from Mar 14, 2017
Merged

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Mar 8, 2017

Flip exponent (2/3 -> 3/2) of Compactness 1 feature formula. The previous exponent was most likely an error, as this resulted in a formula that was not dimensionless, as the description indicates. The formula with the new exponent is dimensionless.

Compactness1, Compactness2, Sphericity and Spherical disproportion are mathematically correlated. Update the documentation to reflect this (provide equations specifying the correlation between the different features). Also disable Compactness 1 and Compactness 2 in the default/example parameter file in the bin folder to emphasize the redundancy of these features.

Updated the formulas and documentation thereof to have simplified formulas where possible.

@JoostJM JoostJM changed the title Revise Compactness 1 F Revise Compactness 1 Formulas Mar 8, 2017
Flip exponent (2/3 -> 3/2) of Compactness 1 feature formula. The previous exponent was most likely an error, as this resulted in a formula that was not dimensionless, as the description indicates. The formula with the new exponent is dimensionless.

Compactness1, Compactness2, Sphericity and Spherical disproportion are mathematically correlated. Update the documentation to reflect this (provide equations specifying the correlation between the different features). Also disable Compactness 1 and Compactness 2 in the default/example parameter file in the bin folder to emphasize the redundancy of these features.

Updated the formulas and documentation thereof to have simplified formulas where possible.
Remove the Roundness Feature, as this expresses the same formula as Sphericity, but is calculated by Simple ITK's LabelShapeStatisticsImageFilter (LSSIF). It is documented here: http://www.insight-journal.org/browse/publication/176.
The calculated values differ however, but this is due to the fact that SimpleITK calculates the surface area differently. The surface area calculated by SimpleITK can be found by calling LSSIF.GetPerimeter().

Calculation of Roundness and Surface Area is not done using SimpleITK, as the calculated surface area can be smaller than the surface area of a sphere with the same volume as the ROI (and therefore causes Roundness > 1).
Example in lung1 testcase:
* SA (pyradiomics) 782.24
* SA (SimpleITK) 576.06
* SA of a sphere with volume 1361.20: 593.97
Update baseline to reflect change in Compactness 1 formula and the removal of the Roundness feature.
@pieper
Copy link
Contributor

pieper commented Mar 14, 2017

LGTM - sounds like a good fix.

@JoostJM JoostJM merged commit a5b4135 into AIM-Harvard:master Mar 14, 2017
@JoostJM JoostJM deleted the revise-compactness branch March 23, 2017 17:30
@JoostJM JoostJM added this to Feature formula changes in Feature definitions Feb 20, 2018
@philippguevorguian
Copy link

Flip exponent (2/3 -> 3/2) of Compactness 1 feature formula. The previous exponent was most likely an error, as this resulted in a formula that was not dimensionless, as the description indicates. The formula with the new exponent is dimensionless.

Compactness1, Compactness2, Sphericity and Spherical disproportion are mathematically correlated. Update the documentation to reflect this (provide equations specifying the correlation between the different features). Also disable Compactness 1 and Compactness 2 in the default/example parameter file in the bin folder to emphasize the redundancy of these features.

Updated the formulas and documentation thereof to have simplified formulas where possible.

Hi @JoostJM,

I'm a radiomics researcher attempting to validate a model proposed by your associate Hugo Aerts in his landmark paper "Decoding tumour phenotype by noninvasive imaging using a quantitative radiomics approach". I'm reaching out to you here because I have a question about the calculation of compactness1 as it pertains to this work and the validation paper "External validation of a prognostic CT-based radiomic signature in oropharyngeal squamous cell carcinoma".

In both papers, the supplementary materials describe compactness1 as having been calculated with an exponent of 2/3 on the area. I understand the value of changing the exponent to 3/2 such that the metric is dimensionless as its description states. However, I am curious to know how this feature was calculated in these papers for the purposes of a successful validation. Specifically, I want to know if they used an exponent of 2/3 as reported in the supplementary materials and this was then changed in this update of pyradiomics or if this was a typo that was then implemented in pyradiomics and needed changing afterwards. Any guidance would be appreciated.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Feature definitions
  
Feature formula changes
Development

Successfully merging this pull request may close these issues.

None yet

3 participants