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

Adds ACR Uniformity functionality #207

Merged
merged 13 commits into from
Feb 17, 2022
Merged

Conversation

YassineAzma
Copy link
Collaborator

@YassineAzma YassineAzma commented Jan 28, 2022

Resolves #188.

  • Adds an ACR uniformity script that calculates the integral uniformity of slice 7 of the ACR phantom. The methodology is as follows:
    • Calculates the centroid of the object following morphological operations and a centre-of-mass calculation.
    • Small circular masks, corresponding to an area of 1cm2 are generated at a dummy location, which in this case is the centroid.
    • This circular mask is then translated around a large ROI, corresponding to an area of approximately 200cm2 offset from the top of the phantom, and mean values for each position are calculated. There is an exclusion criteria on small ROIs where some values exist outside of the large ROI.
    • The small ROIs containing the maximum and minimum mean values are used to calculate the integral uniformity.
    • These results are visualised in the report, as shown below:

image

  • Contains an initial attempt at unit test.
  • Associated modifications to init.py to add the necessary hazen task.
  • Added Siemens test data to the tests directory.

@YassineAzma YassineAzma linked an issue Jan 28, 2022 that may be closed by this pull request
@YassineAzma YassineAzma added this to the ACR Phantom milestone Jan 28, 2022
@YassineAzma YassineAzma added the enhancement New feature or request label Jan 28, 2022
@YassineAzma YassineAzma self-assigned this Jan 28, 2022
Corrects unit test failures.

Adds anonymised test data for GE.

Replaces existing Siemens dataset with anonymised version. Philips data awaits added enhanced DICOM functionality to __init__.py
@Lucrezia-Cester Lucrezia-Cester merged commit ccf89fa into release/0.6.0 Feb 17, 2022
@hshuaib90 hshuaib90 deleted the acr_uniformity branch July 30, 2022 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ACR4] Uniformity measurement
2 participants