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

MHub Implementation of PyRadiomics #76

Merged
merged 14 commits into from
Apr 19, 2024
Merged

Conversation

LennyN95
Copy link
Member

@LennyN95 LennyN95 commented Apr 13, 2024

Implementing the PyRadiomics module into MHub.

PyRadiomics Git Repository: https://github.com/AIM-Harvard/pyradiomics
PyRadiomics Docs: https://pyradiomics.readthedocs.io/en/latest/

This MHub implementation provides a pipeline starting from DICOM image data and DICOM segmentation data (DICOMSEG) for radiomic feature extraction with the pyradiomics Python package.

Test-Data from IDC:
Collection TCGA-LIHC
Case TCGA-BC-A10Z
Study 1.3.6.1.4.1.14519.5.2.1.8421.4008.338750756821159002165351451130
Image (CT, Arterial Phase) 1.3.6.1.4.1.14519.5.2.1.8421.4008.761093011533106086639756339870
Image (AWS Link) s3://idc-open-data/86a34cf5-cfdb-4cc5-98df-b5167706b5d3/*
Segmentation (Liver) 1.2.276.0.7230010.3.1.3.17436516.270878.1696966588.943239
Segmentation (AWS Link) s3://idc-open-data/1bbc9a0e-b5c2-4d56-a108-97623d44a703/*

@LennyN95
Copy link
Member Author

LennyN95 commented Apr 17, 2024

/test

sample:
  idc_version: "Data Release 17.0 December 04, 2023"
  data:
  - SeriesInstanceUID: 1.3.6.1.4.1.14519.5.2.1.8421.4008.761093011533106086639756339870
    aws_url: s3://idc-open-data/86a34cf5-cfdb-4cc5-98df-b5167706b5d3/*
    path: dicom
  - SeriesInstanceUID: 1.2.276.0.7230010.3.1.3.17436516.270878.1696966588.943239
    aws_url: s3://idc-open-data/1bbc9a0e-b5c2-4d56-a108-97623d44a703/*
    path: dicom

reference:
  url: https://github.com/MHubAI/models/files/15030158/pyradiomics_test_output.zip

Test Results (24.04.18_22.19.05_B87cUA63li)
id: 50098d28-4eec-47e3-be7c-09c00b38c829
date: '2024-04-18 22:22:32'
checked_files:
- file: pyradiomics.csv
  path: /app/test/src/1.3.6.1.4.1.14519.5.2.1.8421.4008.761093011533106086639756339870/pyradiomics.csv
  checks:
  - checker: DataFileCheck
    notes:
    - label: Value Match
      description: These keys have identical values
      info: '[0].Image,[0].Mask,[0].Label,[0].Label_channel,[0].MHub ROI,[0].MHub
        Metadata,[0].diagnostics_Versions_PyRadiomics,[0].diagnostics_Versions_Numpy,[0].diagnostics_Versions_SimpleITK,[0].diagnostics_Versions_PyWavelet,[0].diagnostics_Versions_Python,[0].diagnostics_Configuration_Settings,[0].diagnostics_Configuration_EnabledImageTypes,[0].diagnostics_Image-original_Hash,[0].diagnostics_Image-original_Dimensionality,[0].diagnostics_Image-original_Spacing,[0].diagnostics_Image-original_Size,[0].diagnostics_Image-original_Mean,[0].diagnostics_Image-original_Minimum,[0].diagnostics_Image-original_Maximum
        (+ 108 more)'
  - checker: SizeCheck
summary:
  files_missing: 0
  files_extra: 0
  checks:
    DataFileCheck:
      files: 1
    SizeCheck:
      files: 1
conclusion: true

@LennyN95
Copy link
Member Author

Test passed, model can be merged.

@LennyN95 LennyN95 merged commit c3e0ebb into MHubAI:main Apr 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant